Alaska Software Inc. - Problems setting up a soap call using xb2net
Username: Password:
AuthorTopic: Problems setting up a soap call using xb2net
Nestor G. TorresProblems setting up a soap call using xb2net
on Tue, 02 Nov 2010 13:17:32 +0200
Boris BorzicRe: Problems setting up a soap call using xb2net
on Tue, 02 Nov 2010 15:31:34 +0100
Nestor G. Torres wrote in
news:195c2357$1541aab6$2170b@news.alaska-software.com: 

> The following code communicates with the service provider server but i
> get an error message back ...I suspect it is because of the line I can
> not put into the soap envelope:  "
> xmlns=http://nux.co.za/webservices/" 
> 

Try this:

oAgent:NameSpace := "http://nux.co.za/webservices/"

Best regards,
Boris Borzic

http://xb2.net
http://sqlexpress.net
industrial strength Xbase++ development tools
Nestor G. TorresRe: Problems setting up a soap call using xb2net
on Tue, 02 Nov 2010 17:14:35 +0200
Thank You Boris ...That worked.

Can I ask another question: Why Do I get <m:  at the start of the email body 
and as a prefix to other things when I generate my envelope.....can this be 
switched off? I do not know if this is interfering with my service provider 
call:

<env:Body><m:SendSMSSimple xmlns:m="http://nux.co.za/webservices/">

</m:SendSMSSimple></env:Body></env:Envelope>

Kind Regards
Nestor


<Boris Borzic> wrote in message 
news:Xns9E246B0BAB3F7SQLExpress@87.106.143.233...
> Nestor G. Torres wrote in
> news:195c2357$1541aab6$2170b@news.alaska-software.com:
>
>> The following code communicates with the service provider server but i
>> get an error message back ...I suspect it is because of the line I can
>> not put into the soap envelope:  "
>> xmlns=http://nux.co.za/webservices/"
>>
>
> Try this:
>
> oAgent:NameSpace := "http://nux.co.za/webservices/"
>
> -- 
> Best regards,
> Boris Borzic
>
> http://xb2.net
> http://sqlexpress.net
> industrial strength Xbase++ development tools
Nestor G. TorresRe: Problems setting up a soap call using xb2net
on Tue, 02 Nov 2010 18:55:48 +0200
Hi Boris,

Managed to remove the <m: problem by setting the soap style parameters:
 oAgent:SetStyle(SOAP_STYLE_DOCUMENT, SOAP_BINDING_LITERAL)

Now am communicating with no problems with the service providers web server.

So not all web servers created with the same standards....it's a touch and 
feel effort.

Kind Regards,
Nestor

<Nestor G. Torres> wrote in message 
news:56312f73$1050493c$21866@news.alaska-software.com...
> Thank You Boris ...That worked.
>
> Can I ask another question: Why Do I get <m:  at the start of the email 
> body and as a prefix to other things when I generate my envelope.....can 
> this be switched off? I do not know if this is interfering with my service 
> provider call:
>
> <env:Body><m:SendSMSSimple xmlns:m="http://nux.co.za/webservices/">
>
> </m:SendSMSSimple></env:Body></env:Envelope>
>
> Kind Regards
> Nestor
>
>
> <Boris Borzic> wrote in message 
> news:Xns9E246B0BAB3F7SQLExpress@87.106.143.233...
>> Nestor G. Torres wrote in
>> news:195c2357$1541aab6$2170b@news.alaska-software.com:
>>
>>> The following code communicates with the service provider server but i
>>> get an error message back ...I suspect it is because of the line I can
>>> not put into the soap envelope:  "
>>> xmlns=http://nux.co.za/webservices/"
>>>
>>
>> Try this:
>>
>> oAgent:NameSpace := "http://nux.co.za/webservices/"
>>
>> -- 
>> Best regards,
>> Boris Borzic
>>
>> http://xb2.net
>> http://sqlexpress.net
>> industrial strength Xbase++ development tools
>
>