Hi All

I have been bashing my head for hours now and I just cannot get this right.
Let me lay it out for you.

I have to pass parameters to a soap service. The wsdl portion looks like this.

<complexType name="PCRUser">
<sequence>
<element name="groupName" nillable="false" type="xsd:string" />
<element name="password" nillable="false" type="impl:Password" />
<element name="Agent" nillable="false" type="xsd:string" />
<element name="network" nillable="false" type="xsd:string" />
<element name="operatorID" nillable="false" type="xsd:string" />
</sequence>
</complexType>
<complexType name="Password">
<simpleContent>
<extension base="xsd:string" />
</simpleContent>
</complexType>

As you can see the password portion is an implementation of another structure.

My php array would obviously look something like
'user' => array(
            "Agent" => "Agent",
            "groupName" => "Group",
            "operatorID" => "Op1",
            "network" => "Network2",
            "password"=> ???????
        )
My question is this.
How on earth can I code the password portion. If I put it as a normal string it comes back with the following error:
"wsdl error: phpType is struct, but value is not an array: see debug output for details
"
This tells me its looking for a structure of some kind.
If I try pass it as an array it comes back and tells me the username and password are incorrect and the password portion of the request xml is blank.

Any help would be greatly apprecaited