C
Caesar
Hello,
I have to build a webservice on .Net that answers to a java client, the java
client has already the specs and the xml specs, so my webservice have to
follow the java client.
I am facing the following problem:
The .net understand the following xml formatting
<q1:mymethod xmlns:q1="http://tempuri.org/">
<id xsi:type="xsd:int">int</id>
<originator xsi:type="xsd:string">string</originator>
</q1:mymethod>
But the java client is as follows :
<q2:mymethod xmlns:q1="http://tempuri.org/">
<soapenv:id xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
1070997772468</soapenv:id>
<soapenvriginator
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> 5213449
</soapenvriginator>
</q2:mymethod>
i already know that there is no problem in the namespace naming, "q1" and
"q2" ,
but i need to a way to let my webservice (.net ) understand the attribute
tags
Does anyone have a clue??
I have to build a webservice on .Net that answers to a java client, the java
client has already the specs and the xml specs, so my webservice have to
follow the java client.
I am facing the following problem:
The .net understand the following xml formatting
<q1:mymethod xmlns:q1="http://tempuri.org/">
<id xsi:type="xsd:int">int</id>
<originator xsi:type="xsd:string">string</originator>
</q1:mymethod>
But the java client is as follows :
<q2:mymethod xmlns:q1="http://tempuri.org/">
<soapenv:id xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
1070997772468</soapenv:id>
<soapenvriginator
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> 5213449
</soapenvriginator>
</q2:mymethod>
i already know that there is no problem in the namespace naming, "q1" and
"q2" ,
but i need to a way to let my webservice (.net ) understand the attribute
tags
Does anyone have a clue??