You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Clarence Dahlin <cl...@gmail.com> on 2005/11/30 10:42:01 UTC

Invalid Address error

Hi,

Does anyone know what I could try to fix this error?

HEAP[HelloAxisCpp.exe]: Invalid Address specified to RtlFreeHeap( 00370000,
10080F0C )

I have a simple hello service (document/literal wrapped) running under
Tomcat/Axis and I successully generated the cpp stubs with wsdl2ws.

I had to use an older version of axis1_2 though, beta3.

I've added the generated stubs to a visual studio .net project (7.1) and it
compiles and links with a couple of warnings, but no errors.

It fails in this generated code:
HelloServicePortTypes::HelloServicePortTypes()
:Stub(" ", APTHTTP1_1)
{
    m_pCall->setEndpointURI("
http://enterprise:8383/axis/services/HelloService");
}

kind regards,
Clarence

Re: Invalid Address error

Posted by Clarence Dahlin <cl...@gmail.com>.
How do I verify that the conf file is found by the way?


On 11/30/05, Clarence Dahlin <cl...@gmail.com> wrote:
>
> I actually had one of those answers in my initial e-mail :-)
>
> I have a document/literal wrapped service running under Tomcat/Axis.
>
> However I seem to have missed xerces in my path. Would that be the
> AxisXMLParserXerces.dll then?
> I only had xerces.jar in my classpath, which I suppose won't do much of a
> difference in this particular situation :-)
>
> I had these two in my path though:
> C:\axis\axis-c-1-5-win32\bin\HTTPChannel.dll;
> C:\axis\axis-c-1-5-win32\bin\HTTPTransport.dll
>
> This is my axiscpp.conf:
> LogPath:C:\Program Files\Apache Group\Apache\Axis\logs\AxisLog.txt
> WSDDFilePath:C:\Program Files\Apache Group\Apache\Axis\conf\server.wsdd
> XMLParser:AxisXMLParser.dll
> Transport_http:HTTPTransport.dll
> Channel_HTTP:HTTPChannel.dll
> Channel_HTTP_SSL:HTTPSSLChannel.dll
>
> I renamed the AxisXMLParserXerces.dll to AxisXMLParser.dll
>
> Is it enough to have these dll:s in the path or do I have to point them
> out through Visual Studio as well?
>
> Thank you very much for your help by the way. Appreciate it very much
> since I have all kinds of problems, trying to get these things to work out
> of my element. I'm a Java Developer.
>
>
> On 11/30/05, John Hawkins <HA...@uk.ibm.com> wrote:
> >
> >
> > k, so now I get on to the twenty questions about the wsdl and service ->
> >
> > Is it rpc or doc ?
> > At runtime - is your configuration file being found (do you have one?)
> > Do you have xerces in your path - what version?
> >
> >
> >
> >
> >
> >
> >  *Clarence Dahlin <clarence.pitch@gmail.com >*
> >
> > 30/11/2005 11:25
> >  Please respond to
> > "Apache AXIS C User List"
> >
> >   To
> > Apache AXIS C User List <axis-c-user@ws.apache.org >  cc
> >
> >  Subject
> > Re: Invalid Address error
> >
> >
> >
> >
> >
> >
> > Axis C 1.5 Final I think, installs in C:\axis\axis-c-1-5-win32
> >
> >
> > On 11/30/05, *John Hawkins* <*HAWKINSJ@uk.ibm.com *<HA...@uk.ibm.com>>
> > wrote:
> >
> > k, yes - just checking :-)
> >
> > I didn't ask what version of axis C ?
> >
> >
> >
> >
> >
> >   *Clarence Dahlin <* *clarence.pitch@gmail.com *<cl...@gmail.com>
> > *>*
> >
> > 30/11/2005 10:06
> >   Please respond to
> > "Apache AXIS C User List"
> >
> >
> >   To
> > Apache AXIS C User List <*axis-c-user@ws.apache.org *<ax...@ws.apache.org>
> > >  cc
> >
> >  Subject
> > Re: Invalid Address error
> >
> >
> >
> >
> >
> >
> >
> >
> > Axis Java which I believe that I need to use wsdl2ws, right?
> >
> >
> > On 11/30/05, *John Hawkins* <*HAWKINSJ@uk.ibm.com *<HA...@uk.ibm.com>>
> > wrote:
> >
> > When you say Axis 1_2 do you mean axis java or axis C?
> >
> >
> >
> >
> >   *Clarence Dahlin <* * clarence.pitch@gmail.com*<cl...@gmail.com>
> > *>*
> >
> > 30/11/2005 09:42
> >   Please respond to
> > "Apache AXIS C User List"
> >
> >
> >   To
> > *axis-c-user@ws.apache.org * <ax...@ws.apache.org>  cc
> >
> >  Subject
> > Invalid Address error
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Hi,
> >
> > Does anyone know what I could try to fix this error?
> >
> > HEAP[HelloAxisCpp.exe]: Invalid Address specified to RtlFreeHeap(
> > 00370000, 10080F0C )
> >
> > I have a simple hello service (document/literal wrapped) running under
> > Tomcat/Axis and I successully generated the cpp stubs with wsdl2ws.
> >
> > I had to use an older version of axis1_2 though, beta3.
> >
> > I've added the generated stubs to a visual studio .net project (7.1) and
> > it compiles and links with a couple of warnings, but no errors.
> >
> > It fails in this generated code:
> > HelloServicePortTypes::HelloServicePortTypes()
> > :Stub(" ", APTHTTP1_1)
> > {
> >  m_pCall->setEndpointURI("*http://enterprise:8383/axis/services/HelloService")
> > * <http://enterprise:8383/axis/services/HelloService%22%29>;
> > }
> >
> > kind regards,
> > Clarence
> >
> >
> >
>

Re: Invalid Address error

Posted by John Hawkins <HA...@uk.ibm.com>.
Clarence Dahlin <cl...@gmail.com> wrote on 30/11/2005 12:07:09:

> I actually had one of those answers in my initial e-mail :-)
> 
> I have a document/literal wrapped service running under Tomcat/Axis.
> 
> However I seem to have missed xerces in my path. Would that be the 
> AxisXMLParserXerces.dll then?

No you need xerces-c_2_2_0.dll - this is xerces runtime library. fyi: If 
you do "dumpbin /dependents" against the AxisXMLParser.dll you can see the 
files it requires in its path.

> I only had xerces.jar in my classpath, which I suppose won't do much
> of a difference in this particular situation :-)
> 
> I had these two in my path though: C:\axis\axis-c-1-5-
> win32\bin\HTTPChannel.dll; 
C:\axis\axis-c-1-5-win32\bin\HTTPTransport.dll
> 
> This is my axiscpp.conf:
> LogPath:C:\Program Files\Apache Group\Apache\Axis\logs\AxisLog.txt
> WSDDFilePath:C:\Program Files\Apache Group\Apache\Axis\conf\server.wsdd
> XMLParser:AxisXMLParser.dll
> Transport_http:HTTPTransport.dll
> Channel_HTTP:HTTPChannel.dll
> Channel_HTTP_SSL:HTTPSSLChannel.dll

OK, you can do it this way by having unqualified lib names and putting 
them on your path - that's fine. The alternative is to have the fully 
qualified path name in your conf file e.g. c:\axis\bin\HTTPChannel.dll

btw: You don't need HTTP_SLL channel if you're not doing ssl. You also 
don't need the wsddfilepath if you are using the client only (this is a 
server setting) and logpath is trace - again, for the server-side. So, you 
could have a conf file of ->

XMLParser:AxisXMLParser.dll
Transport_http:HTTPTransport.dll
Channel_HTTP:HTTPChannel.dll


fyi: If the conf file wasn't getting picked up you would get a system out 
message giving you a warning.




> 
> I renamed the AxisXMLParserXerces.dll to AxisXMLParser.dll
> 
> Is it enough to have these dll:s in the path or do I have to point 
> them out through Visual Studio as well? 

Visual studio has its own paths you need to set (on a per project basis I 
think?) you might want to check those just to make sure you are picking up 
your system path.

> 
> Thank you very much for your help by the way. Appreciate it very 
> much since I have all kinds of problems, trying to get these things 
> to work out of my element. I'm a Java Developer.
> 

> On 11/30/05, John Hawkins <HA...@uk.ibm.com> wrote:
> 
> k, so now I get on to the twenty questions about the wsdl and service -> 

> 
> Is it rpc or doc ? 
> At runtime - is your configuration file being found (do you have one?) 
> Do you have xerces in your path - what version? 
> 
> 
> 
> 
> 

> 
> Clarence Dahlin <clarence.pitch@gmail.com > 
> 30/11/2005 11:25 
> 
> Please respond to
> "Apache AXIS C User List"
> 
> To
> 
> Apache AXIS C User List <axis-c-user@ws.apache.org > 
> 
> cc
> 
> Subject
> 
> Re: Invalid Address error
> 
> 
> 
> 
> Axis C 1.5 Final I think, installs in C:\axis\axis-c-1-5-win32
> 
> 
> On 11/30/05, John Hawkins <HAWKINSJ@uk.ibm.com > wrote: 
> 
> k, yes - just checking :-) 
> 
> I didn't ask what version of axis C ? 
> 
> 
> 
> 

> 
> Clarence Dahlin < clarence.pitch@gmail.com > 
> 30/11/2005 10:06 
> 
> Please respond to
> "Apache AXIS C User List"
> 
> To
> 
> Apache AXIS C User List <axis-c-user@ws.apache.org > 
> 
> cc
> 
> Subject
> 
> Re: Invalid Address error
> 
> 

> 
> 
> 
> 
> 
> Axis Java which I believe that I need to use wsdl2ws, right?
> 
> 
> On 11/30/05, John Hawkins <HAWKINSJ@uk.ibm.com > wrote: 
> 
> When you say Axis 1_2 do you mean axis java or axis C? 
> 
> 
> 

> 
> Clarence Dahlin < clarence.pitch@gmail.com> 
> 30/11/2005 09:42 
> 
> Please respond to
> "Apache AXIS C User List"
> 
> To
> 
> axis-c-user@ws.apache.org 
> 
> cc
> 
> Subject
> 
> Invalid Address error
> 
> 
> 

> 
> 
> 
> 
> 
> 
> Hi,
> 
> Does anyone know what I could try to fix this error?
> 
> HEAP[HelloAxisCpp.exe]: Invalid Address specified to RtlFreeHeap( 
> 00370000, 10080F0C )
> 
> I have a simple hello service (document/literal wrapped) running 
> under Tomcat/Axis and I successully generated the cpp stubs with 
wsdl2ws.
> 
> I had to use an older version of axis1_2 though, beta3.
> 
> I've added the generated stubs to a visual studio .net project (7.1)
> and it compiles and links with a couple of warnings, but no errors.
> 
> It fails in this generated code:
> HelloServicePortTypes::HelloServicePortTypes()
> :Stub(" ", APTHTTP1_1)
> {
> 
m_pCall->setEndpointURI("http://enterprise:8383/axis/services/HelloService") 

> ;
> }
> 
> kind regards,
> Clarence 
> 

Re: Invalid Address error

Posted by Clarence Dahlin <cl...@gmail.com>.
I actually had one of those answers in my initial e-mail :-)

I have a document/literal wrapped service running under Tomcat/Axis.

However I seem to have missed xerces in my path. Would that be the
AxisXMLParserXerces.dll then?
I only had xerces.jar in my classpath, which I suppose won't do much of a
difference in this particular situation :-)

I had these two in my path though:
C:\axis\axis-c-1-5-win32\bin\HTTPChannel.dll;
C:\axis\axis-c-1-5-win32\bin\HTTPTransport.dll

This is my axiscpp.conf:
LogPath:C:\Program Files\Apache Group\Apache\Axis\logs\AxisLog.txt
WSDDFilePath:C:\Program Files\Apache Group\Apache\Axis\conf\server.wsdd
XMLParser:AxisXMLParser.dll
Transport_http:HTTPTransport.dll
Channel_HTTP:HTTPChannel.dll
Channel_HTTP_SSL:HTTPSSLChannel.dll

I renamed the AxisXMLParserXerces.dll to AxisXMLParser.dll

Is it enough to have these dll:s in the path or do I have to point them out
through Visual Studio as well?

Thank you very much for your help by the way. Appreciate it very much since
I have all kinds of problems, trying to get these things to work out of my
element. I'm a Java Developer.


On 11/30/05, John Hawkins <HA...@uk.ibm.com> wrote:
>
>
> k, so now I get on to the twenty questions about the wsdl and service ->
>
> Is it rpc or doc ?
> At runtime - is your configuration file being found (do you have one?)
> Do you have xerces in your path - what version?
>
>
>
>
>
>
>  *Clarence Dahlin <cl...@gmail.com>*
>
> 30/11/2005 11:25
>  Please respond to
> "Apache AXIS C User List"
>
>   To
> Apache AXIS C User List <ax...@ws.apache.org>  cc
>
>  Subject
> Re: Invalid Address error
>
>
>
>
>
>
> Axis C 1.5 Final I think, installs in C:\axis\axis-c-1-5-win32
>
>
> On 11/30/05, *John Hawkins* <*HAWKINSJ@uk.ibm.com* <HA...@uk.ibm.com>>
> wrote:
>
> k, yes - just checking :-)
>
> I didn't ask what version of axis C ?
>
>
>
>
>
>   *Clarence Dahlin <**clarence.pitch@gmail.com *<cl...@gmail.com>
> *>*
>
> 30/11/2005 10:06
>   Please respond to
> "Apache AXIS C User List"
>
>
>   To
> Apache AXIS C User List <*axis-c-user@ws.apache.org *<ax...@ws.apache.org>
> >  cc
>
>  Subject
> Re: Invalid Address error
>
>
>
>
>
>
>
>
> Axis Java which I believe that I need to use wsdl2ws, right?
>
>
> On 11/30/05, *John Hawkins* <*HAWKINSJ@uk.ibm.com * <HA...@uk.ibm.com>>
> wrote:
>
> When you say Axis 1_2 do you mean axis java or axis C?
>
>
>
>
>   *Clarence Dahlin <** clarence.pitch@gmail.com*<cl...@gmail.com>
> *>*
>
> 30/11/2005 09:42
>   Please respond to
> "Apache AXIS C User List"
>
>
>   To
> *axis-c-user@ws.apache.org * <ax...@ws.apache.org>  cc
>
>  Subject
> Invalid Address error
>
>
>
>
>
>
>
>
>
>
> Hi,
>
> Does anyone know what I could try to fix this error?
>
> HEAP[HelloAxisCpp.exe]: Invalid Address specified to RtlFreeHeap(
> 00370000, 10080F0C )
>
> I have a simple hello service (document/literal wrapped) running under
> Tomcat/Axis and I successully generated the cpp stubs with wsdl2ws.
>
> I had to use an older version of axis1_2 though, beta3.
>
> I've added the generated stubs to a visual studio .net project (7.1) and
> it compiles and links with a couple of warnings, but no errors.
>
> It fails in this generated code:
> HelloServicePortTypes::HelloServicePortTypes()
> :Stub(" ", APTHTTP1_1)
> {
>  m_pCall->setEndpointURI("*http://enterprise:8383/axis/services/HelloService")
> * <http://enterprise:8383/axis/services/HelloService%22%29>;
> }
>
> kind regards,
> Clarence
>
>
>

Re: Invalid Address error

Posted by John Hawkins <HA...@uk.ibm.com>.
k, so now I get on to the twenty questions about the wsdl and service ->

Is it rpc or doc ?
At runtime - is your configuration file being found (do you have one?)
Do you have xerces in your path - what version?







Clarence Dahlin <cl...@gmail.com> 
30/11/2005 11:25
Please respond to
"Apache AXIS C User List"


To
Apache AXIS C User List <ax...@ws.apache.org>
cc

Subject
Re: Invalid Address error






Axis C 1.5 Final I think, installs in C:\axis\axis-c-1-5-win32


On 11/30/05, John Hawkins <HA...@uk.ibm.com> wrote:

k, yes - just checking :-) 

I didn't ask what version of axis C ? 






Clarence Dahlin <clarence.pitch@gmail.com > 
30/11/2005 10:06 

Please respond to
"Apache AXIS C User List"



To
Apache AXIS C User List <axis-c-user@ws.apache.org > 
cc

Subject
Re: Invalid Address error








Axis Java which I believe that I need to use wsdl2ws, right?


On 11/30/05, John Hawkins <HAWKINSJ@uk.ibm.com > wrote: 

When you say Axis 1_2 do you mean axis java or axis C? 





Clarence Dahlin < clarence.pitch@gmail.com> 
30/11/2005 09:42 

Please respond to
"Apache AXIS C User List"



To
axis-c-user@ws.apache.org 
cc

Subject
Invalid Address error










Hi,

Does anyone know what I could try to fix this error?

HEAP[HelloAxisCpp.exe]: Invalid Address specified to RtlFreeHeap( 
00370000, 10080F0C )

I have a simple hello service (document/literal wrapped) running under 
Tomcat/Axis and I successully generated the cpp stubs with wsdl2ws.

I had to use an older version of axis1_2 though, beta3.

I've added the generated stubs to a visual studio .net project (7.1) and 
it compiles and links with a couple of warnings, but no errors.

It fails in this generated code:
HelloServicePortTypes::HelloServicePortTypes()
:Stub(" ", APTHTTP1_1)
{
  m_pCall->setEndpointURI("
http://enterprise:8383/axis/services/HelloService") ;
}

kind regards,
Clarence 



Re: Invalid Address error

Posted by Clarence Dahlin <cl...@gmail.com>.
Axis C 1.5 Final I think, installs in C:\axis\axis-c-1-5-win32


On 11/30/05, John Hawkins <HA...@uk.ibm.com> wrote:
>
>
> k, yes - just checking :-)
>
> I didn't ask what version of axis C ?
>
>
>
>
>
>
>  *Clarence Dahlin <cl...@gmail.com>*
>
> 30/11/2005 10:06  Please respond to
> "Apache AXIS C User List"
>
>   To
> Apache AXIS C User List <ax...@ws.apache.org>  cc
>
>  Subject
> Re: Invalid Address error
>
>
>
>
>
>
> Axis Java which I believe that I need to use wsdl2ws, right?
>
>
> On 11/30/05, *John Hawkins* <*HAWKINSJ@uk.ibm.com* <HA...@uk.ibm.com>>
> wrote:
>
> When you say Axis 1_2 do you mean axis java or axis C?
>
>
>
>
>
>   *Clarence Dahlin <**clarence.pitch@gmail.com* <cl...@gmail.com>
> *>*
>
> 30/11/2005 09:42
>   Please respond to
> "Apache AXIS C User List"
>
>
>   To
> *axis-c-user@ws.apache.org* <ax...@ws.apache.org>  cc
>
>  Subject
> Invalid Address error
>
>
>
>
>
>
>
>
> Hi,
>
> Does anyone know what I could try to fix this error?
>
> HEAP[HelloAxisCpp.exe]: Invalid Address specified to RtlFreeHeap(
> 00370000, 10080F0C )
>
> I have a simple hello service (document/literal wrapped) running under
> Tomcat/Axis and I successully generated the cpp stubs with wsdl2ws.
>
> I had to use an older version of axis1_2 though, beta3.
>
> I've added the generated stubs to a visual studio .net project (7.1) and
> it compiles and links with a couple of warnings, but no errors.
>
> It fails in this generated code:
> HelloServicePortTypes::HelloServicePortTypes()
> :Stub(" ", APTHTTP1_1)
> {
>   m_pCall->setEndpointURI("*http://enterprise:8383/axis/services/HelloService")
> * <http://enterprise:8383/axis/services/HelloService%22%29>;
> }
>
> kind regards,
> Clarence
>
>

Re: Invalid Address error

Posted by John Hawkins <HA...@uk.ibm.com>.
k, yes - just checking :-)

I didn't ask what version of axis C ?







Clarence Dahlin <cl...@gmail.com> 
30/11/2005 10:06
Please respond to
"Apache AXIS C User List"


To
Apache AXIS C User List <ax...@ws.apache.org>
cc

Subject
Re: Invalid Address error






Axis Java which I believe that I need to use wsdl2ws, right?


On 11/30/05, John Hawkins <HA...@uk.ibm.com> wrote:

When you say Axis 1_2 do you mean axis java or axis C? 






Clarence Dahlin <cl...@gmail.com> 
30/11/2005 09:42 

Please respond to
"Apache AXIS C User List"



To
axis-c-user@ws.apache.org 
cc

Subject
Invalid Address error








Hi,

Does anyone know what I could try to fix this error?

HEAP[HelloAxisCpp.exe]: Invalid Address specified to RtlFreeHeap( 
00370000, 10080F0C )

I have a simple hello service (document/literal wrapped) running under 
Tomcat/Axis and I successully generated the cpp stubs with wsdl2ws.

I had to use an older version of axis1_2 though, beta3.

I've added the generated stubs to a visual studio .net project (7.1) and 
it compiles and links with a couple of warnings, but no errors.

It fails in this generated code:
HelloServicePortTypes::HelloServicePortTypes()
:Stub(" ", APTHTTP1_1)
{
   m_pCall->setEndpointURI("
http://enterprise:8383/axis/services/HelloService") ;
}

kind regards,
Clarence 


Re: Invalid Address error

Posted by Clarence Dahlin <cl...@gmail.com>.
Axis Java which I believe that I need to use wsdl2ws, right?


On 11/30/05, John Hawkins <HA...@uk.ibm.com> wrote:
>
>
> When you say Axis 1_2 do you mean axis java or axis C?
>
>
>
>
>
>
>  *Clarence Dahlin <cl...@gmail.com>*
>
> 30/11/2005 09:42  Please respond to
> "Apache AXIS C User List"
>
>   To
> axis-c-user@ws.apache.org  cc
>
>  Subject
> Invalid Address error
>
>
>
>
>
>
> Hi,
>
> Does anyone know what I could try to fix this error?
>
> HEAP[HelloAxisCpp.exe]: Invalid Address specified to RtlFreeHeap(
> 00370000, 10080F0C )
>
> I have a simple hello service (document/literal wrapped) running under
> Tomcat/Axis and I successully generated the cpp stubs with wsdl2ws.
>
> I had to use an older version of axis1_2 though, beta3.
>
> I've added the generated stubs to a visual studio .net project (7.1) and
> it compiles and links with a couple of warnings, but no errors.
>
> It fails in this generated code:
> HelloServicePortTypes::HelloServicePortTypes()
> :Stub(" ", APTHTTP1_1)
> {
>    m_pCall->setEndpointURI("*
> http://enterprise:8383/axis/services/HelloService")*<http://enterprise:8383/axis/services/HelloService%22%29>
> ;
> }
>
> kind regards,
> Clarence
>

Re: Invalid Address error

Posted by John Hawkins <HA...@uk.ibm.com>.
When you say Axis 1_2 do you mean axis java or axis C?







Clarence Dahlin <cl...@gmail.com> 
30/11/2005 09:42
Please respond to
"Apache AXIS C User List"


To
axis-c-user@ws.apache.org
cc

Subject
Invalid Address error






Hi,

Does anyone know what I could try to fix this error?

HEAP[HelloAxisCpp.exe]: Invalid Address specified to RtlFreeHeap( 
00370000, 10080F0C )

I have a simple hello service (document/literal wrapped) running under 
Tomcat/Axis and I successully generated the cpp stubs with wsdl2ws.

I had to use an older version of axis1_2 though, beta3.

I've added the generated stubs to a visual studio .net project (7.1) and 
it compiles and links with a couple of warnings, but no errors.

It fails in this generated code:
HelloServicePortTypes::HelloServicePortTypes()
:Stub(" ", APTHTTP1_1)
{
    m_pCall->setEndpointURI("
http://enterprise:8383/axis/services/HelloService");
}

kind regards,
Clarence