Hi,
I am new to Axis so if my question seems repetitive, my apologies.
I have to write a client that can call WSDL services.
Most of the services return an int, wich should pose no problem (= call.setReturnType(XMLType.XSD_INT) ).
I am new to Axis so if my question seems repetitive, my apologies.
I have to write a client that can call WSDL services.
Most of the services return an int, wich should pose no problem (= call.setReturnType(XMLType.XSD_INT) ).
However, I am
stuck when I see this :
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ResponseName xmlns="url">
<methodName>
<string>string</string>
<string>string</string>
</methodName>
</ResponseName>
</soap:Body>
</soap:Envelope>
The method name returns an array of strings (I assume) instead of a string.
I don't know what the return type is in this case.
No matter what I try, I get a (logical) error :
org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
Expected I guess, but that doesn't give me any clue about how to solve this problem.
Sure I saw a couple of threads and mails about using custom (de)serializers etc. BUT I am only using that WDSL, I didn't develop it, so I cannot write
custom beans because they wouldn't be recognized. At least, that's how I understood it.
I sure would appreciate the help, cause this thing needs to be solved quite quickly ..
Verheyen Quinten
Software Engineer
Rue Gabrielle Petitstraat
4/6
1080 Brussel
Tel : +0032 (0)2 502 85 00
Fax : +0032 (0)2 502 76 07
Gsm : +0032 (0)494 81 04 81
Gsm : +0032 (0)494 81 04 81
E-mail : [EMAIL PROTECTED]
Politicians' Syllogism :
step 1 : we must do something.
step 2 : this is something.
step 3 : therefore we must do it.
Politicians' Syllogism :
step 1 : we must do something.
step 2 : this is something.
step 3 : therefore we must do it.
