NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
How would I enter an Array value in the NuSoap Wizard?


Joined: 02 Nov 2004
Posts: 45
Location: Omaha, NE
Reply with quote
Question:

How would I enter an Array value in the NuSoap Wizard?

Summary:
I have two Input parameters:

AuthInfo (Authentication)
TID (string)

For the TID, I can enter a string value. But the AuthInfo is of the complex type (Authentication). Here is the Authentication snippet of the WSDL:
Code:

<xsd:complexType name="Authentication">

    <xsd:sequence>

        <!-- Request Application -->

        <xsd:element maxOccurs="1" minOccurs="1" name="RqstAppl" type="xsd:string"/>

        <!-- Request Application Version -->

        <xsd:element maxOccurs="1" minOccurs="1" name="RqstApplVers" type="xsd:string"/>

        <!-- Client using Request Application -->

        <xsd:element maxOccurs="1" minOccurs="1" name="Client" type="xsd:string"/>

        <!-- Client's User using Request Application -->

        <xsd:element maxOccurs="1" minOccurs="1" name="User" type="xsd:string"/>

        <!-- Client's User Password (Encrypted) -->

        <xsd:element maxOccurs="1" minOccurs="1" name="Pswd" type="xsd:string"/>

    </xsd:sequence>

</xsd:complexType>


How would I enter the values?

Would I enter the values as an array, such as:
Code:

array('RqstAppl'=>'CMDLINK',
'RqstApplVers'=>'1.00',
'Client'=>'KBREQ',
'User'=>'OPSSUPPORT',
'Pswd'=>'ENCRYPTED');

Thank you for reading this post.

Any input or direction would be greatly appreciated!

_________________
Tp
View user's profileFind all posts by jtp51Send private messageVisit poster's website
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
it should be
Code:
array(
  'AuthInfo' =>
    array(
      'RqstAppl'=>'CMDLINK',
      'RqstApplVers'=>'1.00',
      'Client'=>'KBREQ',
      'User'=>'OPSSUPPORT',
      'Pswd'=>'ENCRYPTED'),
  'TID' =>
    "some value"
)
View user's profileFind all posts by dmitriSend private messageVisit poster's website
How would I enter an Array value in the NuSoap Wizard?
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