You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Oren Bar-El <Or...@smarteam.com> on 2002/04/10 10:27:54 UTC

Connecting to .NET Document style web service with Apache SOAP 2.2

> Hi All,
> 
> I am looking for the best way to connect to .NET Document style web service using the Apache SOAP 2.2.
> I tried doing it while staying out of the Apache code, but it seemed impossible, since the Apache code contains hard coded elements (like encodingStyle attribute, and namespace declarations) that prevent .NET from reading parameters.
> 
> Finally, I decided to copy several classes from the Apache SOAP into my project (AttributeHandler, Body, Call, Envelope, Response, RPCMessage, SOAPHTTPConnection, SOAPTransport), and make the necessary changes. 
> The only class I actually touched was the RPCMessage (marshall method), but I needed all the rest of them to get there...
> 
> After making the mentioned changes to RPCMessage, and creating and mapping a customized class to every method response, my client was able to access the .NET document style service (with .NET default Document style behaviour).
> 
> Note that except for the outgoing SOAP message (generated by the altered RPCMessage), the Apache SOAP still uses within itself the SOAP Encoding (for type mappings ect.).
> 
> I do not like this solution too much, but it is the easiest way I could find, and it actually works...
> I also know that Apache's next SOAP version (Axis), which is at beta1 stage, has much better support for this, but I can't afford to wait for Axis release.
> 
> I was wondering if anybody has a better (or nicer) way to do this or just comment about this.
> 
> Thanks,
> Oren.
> 

Re: problem with installation

Posted by Virender Sandhu <vi...@m-trilogix.com>.
Hi Cyril

I was having problems running soap, then I placed my soap.jar in
tomcat/common/lib directory, it worked fine.

Virender Sandhu

----- Original Message -----
From: "cyril vidal" <cy...@wanadoo.fr>
To: <so...@xml.apache.org>
Sent: Wednesday, April 10, 2002 8:23 AM
Subject: Re: problem with installation


In fact, I've seen the problem came from the position of soap.jar in tomcat
4.0 configuration.
Do I have to put it on tomcat/common/lib directory or more simply on
tomcat/lib directory?

Thanks for your answers,
Cyril



>Messsage du 10/04/2002 09:53
>De :  <so...@xml.apache.org>
>A :  <so...@xml.apache.org>
>Copie à :
>Objet : problem with installation
>
>
> Hy,
>
> I'm a new user of SOAP. I've tried to implement it with Apache Soap 2.2.
That's the way I've followed:
>
> 1°)client-side: set the soap.jar in my classpath
> 2°) server-side:
> - put the soap.jar in tomcat\common\lib (with activation.jar, mail.jar,
xerces.jar)
> - put soap.war in tomcat\webapps (as well as I've done with cocoon.war).
>
> Infortunately, when I start Tomcat, I get the following non fatal error
message:
> A non fatal internal JIT <3.00.078<x>> error 'Structured Exception
<c0000005>' has occured in :
> 'org/apache/catalina/loader/Webapploader.setRepositories <>V':
Interpreting method.
>
> Someone could help me, please?
> Cyril.
>
>
>
>
>




Re: problem with installation

Posted by Virender Sandhu <vi...@m-trilogix.com>.
Hi Cyril

I was having problems running soap, then I placed my soap.jar in
tomcat/common/lib directory, it worked fine.

Virender Sandhu

----- Original Message -----
From: "cyril vidal" <cy...@wanadoo.fr>
To: <so...@xml.apache.org>
Sent: Wednesday, April 10, 2002 8:23 AM
Subject: Re: problem with installation


In fact, I've seen the problem came from the position of soap.jar in tomcat
4.0 configuration.
Do I have to put it on tomcat/common/lib directory or more simply on
tomcat/lib directory?

Thanks for your answers,
Cyril



>Messsage du 10/04/2002 09:53
>De :  <so...@xml.apache.org>
>A :  <so...@xml.apache.org>
>Copie à :
>Objet : problem with installation
>
>
> Hy,
>
> I'm a new user of SOAP. I've tried to implement it with Apache Soap 2.2.
That's the way I've followed:
>
> 1°)client-side: set the soap.jar in my classpath
> 2°) server-side:
> - put the soap.jar in tomcat\common\lib (with activation.jar, mail.jar,
xerces.jar)
> - put soap.war in tomcat\webapps (as well as I've done with cocoon.war).
>
> Infortunately, when I start Tomcat, I get the following non fatal error
message:
> A non fatal internal JIT <3.00.078<x>> error 'Structured Exception
<c0000005>' has occured in :
> 'org/apache/catalina/loader/Webapploader.setRepositories <>V':
Interpreting method.
>
> Someone could help me, please?
> Cyril.
>
>
>
>
>




Re: problem with installation

Posted by cyril vidal <cy...@wanadoo.fr>.
In fact, I've seen the problem came from the position of soap.jar in tomcat 4.0 configuration.
Do I have to put it on tomcat/common/lib directory or more simply on tomcat/lib directory?

Thanks for your answers,
Cyril



>Messsage du 10/04/2002 09:53
>De :  <so...@xml.apache.org>
>A :  <so...@xml.apache.org>
>Copie à : 
>Objet : problem with installation  
>
> 
> Hy,
> 
> I'm a new user of SOAP. I've tried to implement it with Apache Soap 2.2. That's the way I've followed:
> 
> 1°)client-side: set the soap.jar in my classpath 
> 2°) server-side: 
> - put the soap.jar in tomcat\common\lib (with activation.jar, mail.jar, xerces.jar)
> - put soap.war in tomcat\webapps (as well as I've done with cocoon.war).
> 
> Infortunately, when I start Tomcat, I get the following non fatal error message:
> A non fatal internal JIT <3.00.078<x>> error 'Structured Exception <c0000005>' has occured in :
> 'org/apache/catalina/loader/Webapploader.setRepositories <>V': Interpreting method.
> 
> Someone could help me, please?
> Cyril.
> 
> 
> 
> 
> 


Re: problem with installation

Posted by cyril vidal <cy...@wanadoo.fr>.
In fact, I've seen the problem came from the position of soap.jar in tomcat 4.0 configuration.
Do I have to put it on tomcat/common/lib directory or more simply on tomcat/lib directory?

Thanks for your answers,
Cyril



>Messsage du 10/04/2002 09:53
>De :  <so...@xml.apache.org>
>A :  <so...@xml.apache.org>
>Copie à : 
>Objet : problem with installation  
>
> 
> Hy,
> 
> I'm a new user of SOAP. I've tried to implement it with Apache Soap 2.2. That's the way I've followed:
> 
> 1°)client-side: set the soap.jar in my classpath 
> 2°) server-side: 
> - put the soap.jar in tomcat\common\lib (with activation.jar, mail.jar, xerces.jar)
> - put soap.war in tomcat\webapps (as well as I've done with cocoon.war).
> 
> Infortunately, when I start Tomcat, I get the following non fatal error message:
> A non fatal internal JIT <3.00.078<x>> error 'Structured Exception <c0000005>' has occured in :
> 'org/apache/catalina/loader/Webapploader.setRepositories <>V': Interpreting method.
> 
> Someone could help me, please?
> Cyril.
> 
> 
> 
> 
> 


problem with installation

Posted by cyril vidal <cy...@wanadoo.fr>.
Hy,

I'm a new user of SOAP. I've tried to implement it with Apache Soap 2.2. That's the way I've followed:

1°)client-side: set the soap.jar in my classpath 
2°) server-side: 
- put the soap.jar in tomcat\common\lib (with activation.jar, mail.jar, xerces.jar)
- put soap.war in tomcat\webapps (as well as I've done with cocoon.war).

Infortunately, when I start Tomcat, I get the following non fatal error message:
A non fatal internal JIT <3.00.078<x>> error 'Structured Exception <c0000005>' has occured in :
'org/apache/catalina/loader/Webapploader.setRepositories <>V': Interpreting method.

Someone could help me, please?
Cyril.





problem with installation

Posted by cyril vidal <cy...@wanadoo.fr>.
Hy,

I'm a new user of SOAP. I've tried to implement it with Apache Soap 2.2. That's the way I've followed:

1°)client-side: set the soap.jar in my classpath 
2°) server-side: 
- put the soap.jar in tomcat\common\lib (with activation.jar, mail.jar, xerces.jar)
- put soap.war in tomcat\webapps (as well as I've done with cocoon.war).

Infortunately, when I start Tomcat, I get the following non fatal error message:
A non fatal internal JIT <3.00.078<x>> error 'Structured Exception <c0000005>' has occured in :
'org/apache/catalina/loader/Webapploader.setRepositories <>V': Interpreting method.

Someone could help me, please?
Cyril.