NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
lost Parameter During Request Passed to nuSOAP....WSDL


Joined: 16 Oct 2006
Posts: 3
Reply with quote
hi to all,

i am working on NuSOAP/PHP based project .....i am using WSDL already created.....and used by javaBased server

now all working fine but when apply for member registration using SOAP messages......

it Registor member but some of content is not implimented ...

i see the array i passed into soap messages it right ...

WSDL details ....

<xsd:element name="GroupImport">

<xsd:complexType>

<xsd:sequence>

<xsd:element maxOccurs="10" minOccurs="0" name="row">

<xsd:complexType>

<xsd:sequence>

<xsd:element name="RepeatImportEnrollmentPotentialAttribute">

<xsd:complexType>

<xsd:sequence>

<xsd:element minOccurs="0" name="Name">

<xsd:simpleType>

<xsd:restriction base="xsd:string">
<xsd:maxLength value="20"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>

<xsd:element minOccurs="0" name="Domain">

<xsd:simpleType>

<xsd:restriction base="xsd:string">
<xsd:maxLength value="1"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>

<xsd:element minOccurs="0" name="TypeCode">

<xsd:simpleType>

<xsd:restriction base="xsd:string">
<xsd:maxLength value="1"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>

<xsd:element name="RepeatImportAnswersMemberAttribute">

<xsd:complexType>

<xsd:sequence>

<xsd:element minOccurs="0" name="TextAttributeValue">

<xsd:simpleType>

<xsd:restriction base="xsd:string">
<xsd:maxLength value="45"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>

<xsd:element minOccurs="0" name="DateAttributeValue">

<xsd:simpleType>

<xsd:restriction base="xsd:integer">
<xsd:totalDigits value="8"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>

<xsd:element minOccurs="0" name="NumericAttributeValue">

<xsd:simpleType>

<xsd:restriction base="xsd:integer">
<xsd:totalDigits value="11"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>

not.....back details



here we used in WSDL for row's paramters xsd:ComplexType

$parameters['Lms804sEnrollmentService']['request']['GroupImport']['row'][0] = array (


'RepeatImportEnrollmentPotentialAttribute' => array (

'Name' => $this->post["QueName"],


'Domain' => 'C',


'TypeCode' => 'C'),


'RepeatImportAnswersMemberAttribute' => array(


'TextAttributeValue' => trim($this->post["TextAttributeValue"])));

$parameters['Lms804sEnrollmentService']['request']['GroupImport']['row'][1] = array (


'RepeatImportEnrollmentPotentialAttribute' => array (

'Name' => $this->post["QueName"],


'Domain' => 'C',


'TypeCode' => 'C'),


'RepeatImportAnswersMemberAttribute' => array(


'TextAttributeValue' => trim($this->post["TextAttributeValue"])));

Request Array :

[GroupImport] => Array
(
[row] => Array
(
[0] => Array
(
[RepeatImportEnrollmentPotentialAttribute] => Array
(
[Name] => ENG CHALLENGE 03
[Domain] => C
[TypeCode] => C
)

[RepeatImportAnswersMemberAttribute] => Array
(
[TextAttributeValue] => manish
)

)

)

)



VARIABLE DUMP for that .......Request

["GroupImport"]=>
array(1) {
["row"]=>
array(1) {
[0]=>
array(2) {
["RepeatImportEnrollmentPotentialAttribute"]=>
array(3) {
["Name"]=>
string(20) "ENG CHALLENGE 03"
["Domain"]=>
string(1) "C"
["TypeCode"]=>
string(1) "C"
}
["RepeatImportAnswersMemberAttribute"]=>
array(1) {
["TextAttributeValue"]=>
string(6) "manish"
}
}
}
}


My SOAP REQUEST :


<?xml version="1.0" encoding="ISO-8859-1"?>
<SOAP-ENV:Envelope 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:ns5135="............................"><SOAP-ENV:Body><Lms804sEnrollmentService xmlns="">
<request xmlns="" command="..........." clientId="............" clientPassword="............">
<GroupImport xmlns="">
<row xmlns=""></row>
</GroupImport>
</request>
</Lms804sEnrollmentService></SOAP-ENV:Body></SOAP-ENV:Envelope>

My SOAP RESPONSE is not have ROW of GROUP EXPORT


What wrong with my Request or Struct So I am not Able to Get Nested Array details for SOAP Message

Plz Advice..........?
View user's profileFind all posts by alex_wincetSend private message
lost Parameter During Request Passed to nuSOAP....WSDL
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