Hello,
I'm currently building a Java client that will be using Apache Soap API
to communicate to a MS Soap server. Using a sniffer we're able to see
the message go out and the response coming back from the server. ( We're
using MSSoapT to see what's going on ) The problem were experiencing is
involving processing of the response. The exception isn't being thrown
back and it's stopping the JVM . Any advice would be very appreciated
and thanks for your time.
MESSAGE GOING OUT....
<?xml version="1.0" encoding="UTF-8" ?>
- <SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema">
- <SOAP-ENV:Body>
- <ns1:GetSectionRightsAsXML
xmlns:ns1="http://tempuri.org/message/"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<lngSiteDevKey
xsi:type="xsd:int">111</lngSiteDevKey>
</ns1:GetSectionRightsAsXML>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
RESPONSE BEING RETURNED....
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
- <SOAP-ENV:Envelope
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
- <SOAP-ENV:Body>
-
<SOAPSDK1:GetSectionRightsAsXMLResponse
xmlns:SOAPSDK1="http://tempuri.org/message/">
<Result>I got the value</Result>
</SOAPSDK1:GetSectionRightsAsXMLResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
ERROR RECEIVED....
java.lang.NoSuchMethodError
at org.apache.soap.util.xml.QName.<init>(QName.java:80)
at
org.apache.soap.util.xml.QName.matches(QName.java:146)
at
org.apache.soap.Envelope.unmarshall(Envelope.java:237)
at org.apache.soap.rpc.Call.invoke(Call.java:230)
at global.util.soap.StandAlone.main(StandAlone.java:47)
Exception in thread "main"
Regards,
Derik Crouch
PretoryNet Inc
770.576.1279