logo       
Google Custom Search
    AddThis Social Bookmark Button

wsdl problem?: msg#00105

Subject: wsdl problem?
Hi,

I am using NuSOAP to interact with a webservice that has a wsdl.

For operations with no complex types, it works fine. Howerver, when there are complex types involved, the webserver returns an errorpage that states a nullpointer exception (java). I have found out that this exception is complaining about a namespace that is null.

The wsdl is found here: http://dmpmobile.com/DMPCentralEJBModule/DMPCentralCollectorPort?wsdl Below is the request I'm doing, and in the apid and msisdn tag it has xmlns="". I'm not sure if that is the problem, but I can't see anything else.

My question is then, should the webservice accept this, or shouldn't NuSOAP use attributes with no value?

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:tns="http://webservice.ejb.central.dmp.carrot.no"; xmlns:ns2="http://dto.webservice.ejb.central.dmp.carrot.no";>
<SOAP-ENV:Body>
<tns:sendProvisioningMessage xmlns:tns="http://webservice.ejb.central.dmp.carrot.no";>
<String_1 xsi:type="xsd:string">username</String_1>
<String_2 xsi:type="xsd:string">password</String_2>
<SendTaskDto_3 xsi:type="ns2:SendTaskDto">
<apid xmlns="" xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:int[2]"><item xsi:type="xsd:int">1</item><item xsi:type="xsd:int">2</item></apid>
 <dmpServiceid xsi:type="xsd:int">123</dmpServiceid>
 <imsi xsi:type="xsd:string"></imsi>
<msisdn xmlns="" xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:string[1]"><item xsi:type="xsd:string">92895399</item></msisdn>
 <networkid xsi:type="xsd:int">1</networkid>
 <pincode xsi:type="xsd:string"></pincode>
 <terminalid xsi:type="xsd:int">119</terminalid>
</SendTaskDto_3>
</tns:sendProvisioningMessage>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Br
Gunnar Gilhoff


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>