NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Apache SOAP namespace?

Joined: 21 Nov 2005
Posts: 1
Location: London, UK
Reply with quote
I'm using the Apache namespace Map complex type liek so:

         array('customerId'    => 'xsd:int'),
         array('return'       => 'apachesoap:Map'),

The problem is that the WSDL isn't declaring the Apache SOAP namespace which mean that JBoss is complaining on the WSDL and I have to manually go in and add:

<schema targetNamespace=""
            namespace="" />
         <complexType name="mapItem">
               <element name="key" nillable="true"
                  type="xsd:string" />
               <element name="value" nillable="true"
                  type="xsd:string" />
         <complexType name="Map">
               <element maxOccurs="unbounded" minOccurs="0"
                  name="item" type="apachesoap:mapItem" />

every time I change the interface to my functions. Its kind of a drag. I looked at the nusoap.php code and can't figure it out. I know there is some way to trigger the nusoap into including the Apache SOAP namespace in the WSDL for me but can't for the life of me figure it out.

It mentions in the 1.89 relise notes:
- wsdl: add namespace for Apache SOAP types if a variable of such type is

View user's profileFind all posts by CpILLSend private messageAIM AddressMSN MessengerICQ Number
Site Admin

Joined: 13 Jul 2003
Posts: 7857
Reply with quote
I'd check what's returned by $this->getNameSpace()

Also you may want to take a look at this sample:
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Apache SOAP namespace?
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

 Reply to topic