hmm That looks like a pretty basic error then !
Samisa -you doing any rpc testing at the moment?
| "Tahera Bodabhaiwala"
<[EMAIL PROTECTED]>
20/04/2005 10:37
|
|
This is an rpc wsdl for the StockQuoteService sample. Here are its contents:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="StockQuoteService"
targetNamespace="http://localhost:8080/axis/services/urn:xmltoday-delayed-quotes" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://localhost:8080/axis/services/urn:xmltoday-delayed-quotes" xmlns:intf="http://localhost:8080/axis/services/urn:xmltoday-delayed-quotes" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!--WSDL created by Apache Axis version: 1.2RC3
Built on Feb 28, 2005 (10:15:14 EST)-->
<wsdl:message name="testResponse">
<wsdl:part name="testReturn" type="xsd:string"/>
</wsdl:message>
<wsdl:message name="getQuoteResponse">
<wsdl:part name="getQuoteReturn" type="xsd:float"/>
</wsdl:message>
<wsdl:message name="testRequest">
</wsdl:message>
<wsdl:message name="getQuoteRequest">
<wsdl:part name="symbol" type="xsd:string"/>
</wsdl:message>
<wsdl:portType name="StockQuoteService">
<wsdl:operation name="test">
<wsdl:input message="impl:testRequest" name="testRequest"/>
<wsdl:output message="impl:testResponse" name="testResponse"/>
</wsdl:operation>
<wsdl:operation name="getQuote" parameterOrder="symbol">
<wsdl:input message="impl:getQuoteRequest" name="getQuoteRequest"/>
<wsdl:output message="impl:getQuoteResponse" name="getQuoteResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="GetQuoteSoapBinding" type="impl:StockQuoteService">
<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="test">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="testRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://stock.samples" use="encoded"/>
</wsdl:input>
<wsdl:output name="testResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8080/axis/services/urn:xmltoday-delayed-quotes" use="encoded"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getQuote">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="getQuoteRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://stock.samples" use="encoded"/>
</wsdl:input>
<wsdl:output name="getQuoteResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8080/axis/services/urn:xmltoday-delayed-quotes" use="encoded"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="StockQuoteServiceService">
<wsdl:port binding="impl:GetQuoteSoapBinding" name="GetQuote">
<wsdlsoap:address location="http://localhost:8080/axis/services/urn:xmltoday-delayed-quotes"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
And it crashes in the following constructor of the generated stub classes.
StockQuoteService::StockQuoteService()
:Stub(" ", APTHTTP1_1)
{
m_pCall->setEndpointURI("http://localhost:8080/axis/services/urn:xmltoday-delayed-quotes");
}
From: John Hawkins [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 20, 2005 2:59 PM
To: Apache AXIS C User List
Subject: RE: Invalid Address specified to RtlFreeHeap( 310000, 10094534 )
OK so we can ignore the fact you built it yourself and any potential compiler issues - for the moment anyhow
So, now we need to concentrate on the point at which it fails. you say when the stub is created - can you be more precise? Also, is this an rpc or doc/lit wsdl?
| "Tahera Bodabhaiwala"
<[EMAIL PROTECTED]>
20/04/2005 10:17
|
|
Oh sorry, I thought you’re referring to the samples. Yes, I did use the pre-built AxisClient.dll but with the same results. That’s why I downloaded the source and built it again.
-Tahera
From: John Hawkins [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 20, 2005 2:38 PM
To: Apache AXIS C User List
Subject: RE: Invalid Address specified to RtlFreeHeap( 310000, 10094534 )
hmm, they shouldn't/don't require a server side config to test them?
You can just take the client dll's unless I'm mistaken?
Maybe I'm misunderstanding what you are saying?
| "Tahera Bodabhaiwala"
<[EMAIL PROTECTED]>
20/04/2005 09:58
|
|
No, I didn’t use the ANT script, I compiled it from the VS IDE using the
project D:\axis-c-src-1-5-win32\vc\AxisClientDLL.dsp. No, I haven’t tried
using the pre-built client modules because they require a server side configuration
to be done too in order to test them.
From: John Hawkins [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 20, 2005 2:12 PM
To: Apache AXIS C User List
Subject: RE: Invalid Address specified to RtlFreeHeap( 310000, 10094534 )
OK that's good - this is a well known compiler !
Did you use the ANT scripts to create the client dll?
OR - did you use the same compiler flags as the ANT scripts use?
Have you tried using a pre-built client module from the apache website?
| "Tahera Bodabhaiwala"
<[EMAIL PROTECTED]>
20/04/2005 09:35
|
|
msvc 6.
From: John Hawkins [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 20, 2005 2:00 PM
To: Apache AXIS C User List
Subject: RE: Invalid Address specified to RtlFreeHeap( 310000, 10094534 )
no - what compiler as in msvc 6 , 7 ?
| "Tahera Bodabhaiwala"
<[EMAIL PROTECTED]>
20/04/2005 09:17
|
|
Hi,
Do you mean compiler warning level? It’s Level 3.
-Tahera
From: John Hawkins [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 20, 2005 1:40 PM
To: Apache AXIS C User List
Subject: Re: Invalid Address specified to RtlFreeHeap( 310000, 10094534 )
what compiler level are you using ?
| "Tahera Bodabhaiwala"
<[EMAIL PROTECTED]>
19/04/2005 14:29
|
|
Hi,
I’ve downloaded the source + binaries of Axis C++ 1.5 Final release. I’m
trying to build a C++ client to a web-service using the libraries provided
by Axis, and so I haven’t done any server specific configuration.
I used the WSDL2Ws tool to generate the stubs from the wsdl provided by
the web-service. I then created a VC project and included the generated
hpp/cpp files along with the main function. I built the AxisClient_D.dll
using the ‘Debug Multithreaded DLL’ compiler switch and included the
lib in my project. I then built my project with the same complier switch.
It compiles fine but when run it throws the following exception during
creation of the stub instance
HEAP[SOAPClient.exe]: Invalid Address specified to RtlFreeHeap( 310000,
10094534 )
First-chance exception in SOAPClient.exe (KERNEL32.DLL): 0xE06D7363: Microsoft
C++ Exception.
First-chance exception in SOAPClient.exe (KERNEL32.DLL): 0xE06D7363: Microsoft
C++ Exception.
There seems to be problem with allocating/de-allocating memory (crossing
dll boundary). Is this a known issue? If yes, where can I find the fix?
Please help!
Thanks in advance,
Tahera
- DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. LG CNS Global (LGCNS-G) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within LGCNS-G or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and LG CNS-G shall not be liable for any improper, untimely or incomplete transmission. |
- DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. LG CNS Global (LGCNS-G) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within LGCNS-G or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and LG CNS-G shall not be liable for any improper, untimely or incomplete transmission. |
- DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. LG CNS Global (LGCNS-G) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within LGCNS-G or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and LG CNS-G shall not be liable for any improper, untimely or incomplete transmission. |
- DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. LG CNS Global (LGCNS-G) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within LGCNS-G or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and LG CNS-G shall not be liable for any improper, untimely or incomplete transmission. |
- DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. LG CNS Global (LGCNS-G) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within LGCNS-G or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and LG CNS-G shall not be liable for any improper, untimely or incomplete transmission. |
- DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. LG CNS Global (LGCNS-G) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within LGCNS-G or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and LG CNS-G shall not be liable for any improper, untimely or incomplete transmission. |
