use Axis webservice - null ResponseObject , but trace shows validResponse

  • Thread starter Mathias Fritsch
  • Start date
M

Mathias Fritsch

I have an webservice that runs on Apache Axis version: 1.2 and a
client in c#.

The static wsdl is http://webservice.tecdoc.net/pegasus-1-2/wsdl/TecdocToCatWL

I post a valid and get a response that seams to be correct.

(Trace at the end of my post)

However if I debug into the generated classes I have no Respone-Object

object[] results = this.Invoke("getPegasusVersionInfo",
new object[] {
in0});
return ((VersionInfoResponse)(results[0]));

result[0] is null

Is there a way to debug further or log information about what is
happening when parsing the response?

regards

Mathias Fritsch




POST /pegasus-1-2/services/TecdocToCatWL HTTP/1.1

User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client
Protocol 2.0.50727.1433)

VsDebuggerCausalityData: uIDPo7VU6DHRX
+NLvDhBUuKkriYAAAAAJCbrKipbzkex4ydl5eKBhbbuYo3SNhtChFYp8PNR7rAACQAA

Content-Type: text/xml; charset=utf-8

SOAPAction: ""

Host: webservice.tecdoc.net

Content-Length: 439

Expect: 100-continue

Connection: Keep-Alive



<?xml version="1.0" encoding="utf-8"?><soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/
XMLSchema"><soap:Body><getPegasusVersionInfo xmlns="http://
webservice.tecdoc.net/pegasus-1-2/services/
TecdocToCatWL"><in0><provider xmlns="http://
datatype.cat.tecdoc.net">171</provider></in0></getPegasusVersionInfo></
soap:Body></soap:Envelope>HTTP/1.1 200 OK

Date: Wed, 09 Jul 2008 16:07:04 GMT

Server: Apache/2.0.55

P3P: CP="ALL DSP NID CURa ADMa OTPa OUR LEG UNI COM NAV"

Keep-Alive: timeout=15, max=100

Connection: Keep-Alive

Transfer-Encoding: chunked

Content-Type: text/xml;charset=utf-8



265

<?xml version="1.0" encoding="utf-8"?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://
www.w3.org/2001/XMLSchema-instance"><soapenv:Body><getPegasusVersionInfoResponse
xmlns="http://webservice.tecdoc.net/pegasus-1-2/services/
TecdocToCatWL"><getPegasusVersionInfoReturn xmlns=""><build>446</
build><date>2008/02/27 11:34</date><major>1</major><minor>2</
minor><revision>1</revision><status>200</status><statusText
xsi:nil="true"/></getPegasusVersionInfoReturn></
getPegasusVersionInfoResponse></soapenv:Body></soapenv:Envelope>

0
 
J

John Saunders

Be sure that you're receiving the correct namespaces. For instance, I notice
that getPegasusVersionInfoReturn has xmlns="". Is that what the WSDL says
you should expect?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,763
Messages
2,569,562
Members
45,038
Latest member
OrderProperKetocapsules

Latest Threads

Top