Hi,

I invoke the same remote function multiple times.
The time required to complete the function call seems to be increasing  
linearly (after 280 calls, it is doubled)

I tried calling soap_end after each function call ... but that didn't improve 
it ....

Can anyone suggest me what might be going wrong?

Thanks
- bk



----- Original Message ----
From: meik.schuetz <[EMAIL PROTECTED]>
To: [email protected]
Sent: Saturday, September 20, 2008 6:01:51 PM
Subject: [gsoap] Re: SOAP request message causes HTTP error 415


Just an update to this for someone that might come across this problem:

I managed to force gSOAP to use SOAP 1.2 using the option "-2" while executing 
the 
gSOAP Stub and Skeleton compiler soapcpp2.

Best regards
Meik

--- In [EMAIL PROTECTED] com, "meik.schuetz" <meik.schuetz@ ...> wrote:
>
> Dear all,
> I am trying to contact a WCF service running on a virtual machine. From the 
> generated 
> nsmap file I could verify that SOAP1.2 is being used:
> 
> SOAP_NMAC struct Namespace namespaces[] =
> {
>       {"SOAP-ENV", "http://schemas. xmlsoap.org/ soap/envelope/", 
> "http://www.w3. org/*/soap- envelope", NULL},
>       {"SOAP-ENC", "http://schemas. xmlsoap.org/ soap/encoding/", 
> "http://www.w3. org/*/soap- encoding", NULL},
>       {"xsi", "http://www.w3. org/2001/ XMLSchema- instance", 
> "http://www.w3. org/*/XMLSchema- instance", NULL},
>       {"xsd", "http://www.w3. org/2001/ XMLSchema", "http://www.w3. 
> org/*/XMLSchema", 
> NULL},
> 
> gSOAP prepares the following header to be sent to the server:
> 
> POST /Primavera.Athena. Host/SecuritySer vice.svc/ wsHttpSecured HTTP/1.1
> Host: 192.168.1.142
> User-Agent: gSOAP/2.7
> Content-Type: text/xml; charset=utf- 8
> Content-Length: 854
> Connection: close
> 
> Whenever I sent a message to the server, it's being acknowledge by the 
> following 
> message:
> 
> HTTP/1.1 415 Cannot process the message because the content type 'text/xml; 
> charset=utf- 8' was not the expected type 'application/ soap+xml; 
> charset=utf- 8'.
> Server: Microsoft-IIS/ 7.0
> X-Powered-By: ASP.NET
> Date: Sat, 20 Sep 2008 18:49:18 GMT
> Connection: close
> Content-Length: 0
> 
> Please have mercy with a gSOAP newbe that already searched for some hint in 
> the user 
> documentation and google.
> 
> Thanks a lot for you support!
> Best regards
> Meik
>

    


      

Reply via email to