>From the looks of what you are sending, it appears that the service is
>implemented as document/literal. In that case, specify the $style =
>'document' and $use = 'literal' parameters to the soapclient 'call' method.
>You should include the
<ValidateAddress xmlns="xmlns=http://www.bizmaps.ie/">
and </ValidateAddress> as part of the string you send as $params.
Your life would generally be better if you used the WSDL from the service.
NuSOAP knows much about structuring the SOAP messages from reading the WSDL.
Scott Nichol
Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.
----- Original Message -----
From: <john@xxxxxxx>
To: <nusoap-general@xxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, September 15, 2005 10:10 AM
Subject: [Nusoap-general] xmmlns Problems
>
>
> When using nusoap and specifying a namespace it adds the following line
>
> <ns9139:ValidateAddress xmlns:ns9139="xmlns=http://www.bizmaps.ie/">
>
> The server i'm connecting to does not like the ns9139
>
> What i require is:
> <ValidateAddress xmlns="xmlns=http://www.bizmaps.ie/">
>
> Is there anyway to stop this string from being added.
>
> Alternatively if i want to pass a soap request using the soap-transfer-http
> request.
>
> The request i'm using is as follows :
> POST /AddressLink/AddressService.asmx HTTP/1.0
> Host: secure.bizmaps.ie
> User-Agent: NuSOAP/0.7.2 (1.94)
> Content-Type: text/xml; charset=ISO-8859-1
> SOAPAction: "http://www.bizmaps.ie/ValidateAddress"
> Content-Length: 1000
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <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/">
> <SOAP-ENV:Body>
> <ns9139:ValidateAddress xmlns:ns9139="xmlns=http://www.bizmaps.ie/">
> <userName></userName>
> <userPassword></userPassword>
> <organisation></organisation>
> <addressLine1></addressLine1>
> <addressLine2></addressLine2>
> <addressLine3></addressLine3>
> <addressLine4></addressLine4>
> <addressLine5></addressLine5>
> <addressLine6></addressLine6>
> <addressLine7></addressLine7>
> <addressLine8></addressLine8>
> <addressLine9></addressLine9>
> <addressLine10></addressLine10>
> <ukPostCode></ukPostCode>
> <numOptions>10</numOptions>
> <fields>ALL</fields>
> <version>Latest</version>
> </ns9139:ValidateAddress>
> </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server.
> Download it for free - -and be entered to win a 42" plasma tv or your very
> own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
> _______________________________________________
> Nusoap-general mailing list
> Nusoap-general@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/nusoap-general
>
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|