RE: Class Loading in SOAP/Tomcat

2001-06-07 Thread Christian Bernard
Hi Javier, I met the same problem with Tomcat 3.2.1 and Apache SOAP 2.1. The normal way to deploy a web application, as stated in the Servlets API specification is to use the war files and to place them under the "webapps" directory of the server. When a user asks for a resource located in the wa

IE5 Browser SOAP Client / Apache SOAP server

2001-06-07 Thread Peter Govind
IE5 browser can function as a SOAP client via a file called webservice.htc which can be obtained from : http://msdn.microsoft.com/workshop/author/webservice/using.asp It seems like, the example client can only call a MS SOAP server since it requires a URL of the form "/service.asmx?SDL" Th

Problem with basic http authentication

2001-06-07 Thread Adam.Leggett
Hi folks, I am trying to put the rpcrouter under basic authentication but my SOAP client calls are failing. In my web.xml i've adding the following: MySecureBit1 no description /servlet/rpcrouter GET POST no description

a question about different between soap 2.1 and soap 2.2 - CDATA

2001-06-07 Thread Omer Czerniak
hi all, till today we used apache soap 2.1 at server side, and return a string as parameter, the string conatined a specical chars like '>' '<' '&' etc. so what we did is to wrap the whole string with cdata section. but i have noticed that soap 2.2 encodes all that special chars and ignore my cda

RE: IE5 Browser SOAP Client / Apache SOAP server

2001-06-07 Thread Christian Bernard
Hi Peter, You can use the WebService behavior with Apache SOAP. The only thing you need to do is to replace the line in the example with a line which should be something like that : service.use("http://localhost:8080/mywebapplication/mywebservice.wsdl","MyWe bServiceAlias"); I've used it with IE

RE: How to set output parameters in my server code

2001-06-07 Thread Hansen, Richard
Apache SOAP does not support out params. Hi, I am trying to invoke a java method of a java service on server (via .../servlet/rpcrouter to deploy this service, actually just a java class containing that method). My problem is, this method will not only return a value, it will also have some out

RE: MS SOAP Client / Apache SOAP server

2001-06-07 Thread Hansen, Richard
Sounds like the MS side is having a problem. Is a SOAP message actually getting sent? Are you checking for SOAP faults on the client? If the message is sent and reaches the correct end point, then you will either get a response (which MS may still not be able to parse) or a SOAP fault from the rpc

RE: IE5 Browser SOAP Client / Apache SOAP server

2001-06-07 Thread Peter Govind
Thanks. That help a lot. IMO, this should be in the FAQ or "Interoperability" section of the next Apache SOAP release (2.3 perhaps ?) since by that time, .NET and Apache SOAP should proliferate even more than it is today - making this bit of info a time saver to future users. Excuse me while

Problem with getting Response

2001-06-07 Thread manuel . paitreault
Hi, I'm trying to make a program capable of sending a DOM Element (or Document) to a SOAP server in order to manipule this Node ... the Call seems to work but the response seems not to be correct ... here is the error message : Ouch, the call failed: Fault Code = SOAP-ENV:Server

RE: MS SOAP Client / Apache SOAP server

2001-06-07 Thread Daniel Kruler
I see rpcouter:init showing up on the Tomcat's console, so the RPC call is reaching the RPCRouter servlet, but I think it dies there, because my server class never gets instantiated (I have a print in constructor, so I know for sure). How do I check fo faults in VB? Here is my code for VB

RE: MS SOAP Client / Apache SOAP server

2001-06-07 Thread Hansen, Richard
t seems like you need to do some noraml debugging kinds of tasks. Maybe you should try running it under the TCPTunnel to see better what is happening. It really sounds like a VB code problem. Is your code finishing the init? Is it making the getS call? You can check the MS soa help for gettting th

RE: How to set output parameters in my server code

2001-06-07 Thread Yong Chen
This is disappointing. Then how do I get output parameters besides the return value? Or I have to either write my own provider? or tweak the return value? -Original Message- From: Hansen, Richard [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 07, 2001 6:19 AM To: '[EMAIL PROTECTED]' Sub

RE: MS SOAP Client / Apache SOAP server

2001-06-07 Thread Daniel Kruler
VB code runs fine until it calls the method. How do I use TcpTunnel? My webserver is manserv2, port is 80. On what machine should I run TcpTunnel (client or server)? -Original Message- From: Hansen, Richard [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 07, 2001 11:43 AM To

Re: usage of custom classes in requests

2001-06-07 Thread Rajesh J Advani
> How about using either an XML string or an > XML Element as the input parameter. > This way the client programs do not have > to worry about the custom classes. What I > did was to use an XML Element as the input > parameter to the SOAP service. And on > the server, extract the values from th

MS SOAP Client / Apache SOAP server

2001-06-07 Thread Daniel Kruler
Does anybody have a good experience in working with VB SOAP client and Apache SOAP server?

Re: How to set output parameters in my server code

2001-06-07 Thread Sanjiva Weerawarana
That's not strictly true - Java methods don't support out params hence the JavaRPCProvider doesn't. You can make Apache SOAP support it - the docs (see interop docs in the 2.2 release) tell you how to do this. Sanjiva. - Original Message - From: "Hansen, Richard" <[EMAIL PROTECTED]> To:

RE: Problem with getting Response

2001-06-07 Thread Peer - Home Office
Manuel, I'm new to developing soap applications and don't have any firsthand experience to answer you question but I did manage to see an example of software that shows how to send an XML element back. I believe you may have to define your own deserializer to handle the XML, but again I'm not su

Re: Problem with getting Response

2001-06-07 Thread Saint-Martin Cecile
There is no way to specify encoding style for return parameter... To resolve this we have written our own provider... If all parameters you use (in and out) are DOM Element, you can write : call.setEncodingStyleURI(Constants.NS_URI_LITERAL_XML) See address book examples and mailing list archives

RE: a question about different between soap 2.1 and soap 2.2 - CDATA

2001-06-07 Thread Matthew J. Duftler
Hi Omer, Whatever String you send as a parameter is exactly what you should get on the server-side. Try it without the CDATA section. Thanks, -Matt > -Original Message- > From: Omer Czerniak [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 07, 2001 7:06 AM > To: [EMAIL PROTECTED] > Sub

RE: MS SOAP Client / Apache SOAP server

2001-06-07 Thread Luis ROSSO - Up 2 U - Internet Solutions
Hi, on how to use the TcpTunnel, I suggest you the following article: http://www-106.ibm.com/developerworks/webservices/library/ws-peer3/index.htm l?dwzone=webservices I hope it helps. Cheers Luis - Mensaje original - De: "Daniel Kruler" <[EMAIL PROTECTED]> Para: <[EMAIL PROTECTED]> E

RE: MS SOAP Client / Apache SOAP server

2001-06-07 Thread Daniel Kruler
I have used TcpTunnel and here is what MS SOAP sends to Apache SOAP: POST /soap/servlet/rpcrouter HTTP/1.1Content-Type: text/xml; charset="UTF-8"Host: manserv2SOAPAction: ""Content-Length: 253http://schemas.xmlsoap.org/soap/encoding/"; xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/

RE: MS SOAP Client / Apache SOAP server

2001-06-07 Thread Daniel Kruler
What would cause the BODY of a SOAP envelope be empty? I have tried to load another WSDL and it was working fine. The only difference that I can see is, the one that works has input message and return message. The one that doesn't has only return message. Any ideas?

VB/Apache problem-- void Java method always cause VB Client to fail.

2001-06-07 Thread Ding, Chengmin
Hi, All, I am using a VB client to invoke an Apache Web service. The service I am using doesn't return any thing, so inside the service it is a void function. The VB client tried to invoke this service via the following call soapclient.updateVIS(BatchID) But it always caused the following

reading return parameters

2001-06-07 Thread Sampige, Srinivas
The respponse iam getting from the server is :- - - http://schemas.xmlsoap.org/soap/encoding/"; xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";> - - http://tempuri.org/message/";>

is Bytes.class for bytes[]

2001-06-07 Thread Kai Donker
Hi there, I 've set up a WebService with a static method. Parameters are bytearrays, returntype is also a bytearray. When invoking I get the following error: Generated fault: Fault Code = SOAP-ENV:Client Fault String = [B@7b56b1 May the cause for this be, that the Parameter-objects are n

RE: How to set output parameters in my server code

2001-06-07 Thread Yong Chen
I think I'll just use message service, so I can send back an envelop which contains all my output parameters. Is there any example showing how to assemble the envelop on server side inside the service method? (I guess that will be related to SOAPContext). The sample (messaging only shows how to t

RE: reading return parameters

2001-06-07 Thread Matthew J. Duftler
Hi Srinivas, Response extends RPCMessage which has a method getParams(), which returns a vector of Parameters. Thanks, -Matt > -Original Message- > From: Sampige, Srinivas [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 07, 2001 6:17 PM > To: 'Vishweshwar, Ghanakota' > Cc: '[EMAIL PRO

RE: reading return parameters

2001-06-07 Thread Sampige, Srinivas
I have done the mappings in the part of the code that i did not post .Here is what iam doing before calling the service : - String urn = "http://tempuri.org/message/";; // define deserializers for the return things (without xsi:type) SO

RE: is Bytes.class for bytes[]

2001-06-07 Thread Matthew J. Duftler
Hi Kai, If the type of the object you are trying to pass is byte[], then you should use byte[].class. Thanks, -Matt > -Original Message- > From: Kai Donker [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 07, 2001 5:55 PM > To: [EMAIL PROTECTED] > Subject: is Bytes.class for bytes[] >

Slow performance with large strings

2001-06-07 Thread Ian Schneider
Hi, While using a simple client to test SOAP performance, I noticed an exponential increase in the unmarshalling process time for my RPC return values. I remember hearing that creating Document objects can be a very slow operation, related to the String size being processed. The return object

RE: Problem with getting Response

2001-06-07 Thread v . javier . colmenares
Matt, thanks a lot! Options 2 and 3 are the right answers to my problem. I tried the TcpTunnel tool but it didn't show any traffic. Here is the detail: java org.apache.soap.util.net.TcpTunnelGui 80 localhost 7001 (using WebLogic 5.1 locally) Thanks,

PartiallyTransmitted Array / Sparse Arrays

2001-06-07 Thread Kam Fung
> Folks, > > Does Apache SOAP support PartiallyTransmitted Array / Sparse Arrays? > > I need to send an array with a large number of elements. Sending it in one SOAP > message is not preferred and I'm looking for the solution supporting > PartiallyTransmitted Array / Sparse Arrays. > > Kam. beg

Re: Class Loading in SOAP/Tomcat

2001-06-07 Thread Javier A. Soltero
Hi Christian, I actually poked around the SOAP source (2.2) to see exactly how Class Loading was accomplished by the SOAP package. From the code, I saw that the RPCRouter actually seems to ask the servlet container for its class loader. This would suggest that Tomcats class loader would be the on

Problem with getting Response

2001-06-07 Thread v . javier . colmenares
Hi, this is the second time I post this question, anybody??? Is there a way to display the SOAP envelope (XML Files) for the request message and the response message before and after calling call.invoke(url,"")?, using the Java APIs. I'll appreciate any response. Thanks, V. Javier Colmenar

RE: Problem with getting Response

2001-06-07 Thread Matthew J. Duftler
Hi, You have several options: 1) Use the TcpTunnelGui tool as described in the documentation. 2) Create EnvelopeEditors that spit out the envelopes. EnvelopeEditors are described in the documentation. 3) Take a look at what the Call.invoke(...) method does, and do the same thing yourself (except