Re: getting URL

2001-09-09 Thread ParamDeep Singh
Hi I think that there is a way out!! You can get an access to SOAPContext object at the server side. Now this SOAPContext object has a getBaseUri() method! (See the API docs of Apache SOAP) I think that you can get an access to the URI of the client using this! Regards, Paramdeep - Original

RE: getting URL

2001-09-09 Thread Oleg Timofeyev
Hi, With Apache SOAP, is it possible to get the URL from which client is calling a function on the server? The reason I am asking is because I read something about limitation of getting base URI from multiheader. Thanks Oleg

Writing SOAP headers

2001-09-09 Thread ParamDeep Singh
Hi I want to write SOAP headers (custom) in the SOAP payload. On the client side I think that this can be achieved using the Header class. But I want to this at the server side! That is say I have a service called SoapService. (SoapService.java) Now I want to read and write SOAP headers in this

Re: Deserialization problem

2001-09-09 Thread Dmitri Colebatch
Run it through the tcptunnel and see what is actually going back and forth. cheesr dim On Mon, 10 Sep 2001 [EMAIL PROTECTED] wrote: > Hi Minh/Dmitri and others, > I have incorporated your suggestion. > Unfortunately, i am not able to get this to work either :( > > Now, running the program does

Re: Deserialization problem

2001-09-09 Thread rahul . sawhney
Hi Minh/Dmitri and others, I have incorporated your suggestion. Unfortunately, i am not able to get this to work either :( Now, running the program does not throw any exception. I am printing the value of the result object at the end now. What i get now is zero and not the correct result. I have

Re: Deserialization problem

2001-09-09 Thread Minh Kama Yie
beat me to it :) On Monday 10 September 2001 15:44, you wrote: You need to tell the call what type "AddResult" is. Have a look at SOAPMappingRegistry. cheesr dim On Mon, 10 Sep 2001 [EMAIL PROTECTED] wrote: > Hi, > I am trying to invoke a .Net enabled web service using Java with Apache > SOAP

Re: Deserialization problem

2001-09-09 Thread Minh Kama Yie
Hi Rahul, The problem is the namespace in which the result of the service is defined. If you map the result using the the SOAPMappingRegistry like so: { ... SOAPMappingRegistry smr = new SOAPMappingRegistry(); smr.mapTypes(Constants.NS_URI_SOAP_ENC, new QName("http://lo

Re: Deserialization problem

2001-09-09 Thread Dmitri Colebatch
You need to tell the call what type "AddResult" is. Have a look at SOAPMappingRegistry. cheesr dim On Mon, 10 Sep 2001 [EMAIL PROTECTED] wrote: > Hi, > I am trying to invoke a .Net enabled web service using Java with Apache SOAP toolkit. > > I get the following exception: > [SOAPException: fa

Deserialization problem

2001-09-09 Thread rahul . sawhney
Hi, I am trying to invoke a .Net enabled web service using Java with Apache SOAP toolkit. I get the following exception: [SOAPException: faultCode=SOAP-ENV:Client; msg=No Deserializer found to deserialize a 'http://localh ost/:AddResult' using encoding style 'http://schemas.xmlsoap.org/soap/enco

FW: Does SOAP and ApacheSOAP2.2 support in/out parameters

2001-09-09 Thread Jyothi K
> Hi, > I have a doubt if SOAP supports in/out parameters. If yes then how do i > accomplish that. I would like someone to go through my problem and give me > clear solution. Thanks in advance. I have a method signature as follows " > public void getAddress(Address objAddress)" . As you can see t

Does SOAP and ApacheSOAP2.2 support in/out parameters

2001-09-09 Thread Jyothi K
Hi, I have a doubt if SOAP supports in/out parameters. If yes then how do i accomplish that. I would like someone to go through my problem and give me clear solution. Thanks in advance. I have a method signature as follows " public void getAddress(Address objAddress)" . As you can see the return

RE: Serializing a JDOM Document

2001-09-09 Thread Otto Villarin
Hi Did you try setting the encoding style to: call.setEncodingStyleURI(Constants.NS_URI_LITERAL_XML); If you just pass the root Element of the document using this encoding it will work. Nevermind I have already tried converting a document to a string from a delphi client and it works fine too. In

Re: Unable to resolve target object: Catalog

2001-09-09 Thread Dom
I have the same problem : SOAP-ENV:Server.BadTargetObjectURI Unable to resolve target object: sg.RtfeServices java.lang.ClassNotFoundException: sg.RtfeServices at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at The descriptor is ok, as been deployed ok, and is vis

Re: Unable to resolve target object: Catalog

2001-09-09 Thread William Brogden
"Ümit Yaman" wrote: > > William Brogden wrote: > > > I strongly suggest you put Catalog in a package. Tomcat gets confused > > when a servlet tries to use a class not in a package. > > ok, I put my Catalog-class in a package called samples.catalogs. > > Now my Catalog.class is available in:

Re: Unable to resolve target object: Catalog

2001-09-09 Thread Ümit Yaman
William Brogden wrote: > I strongly suggest you put Catalog in a package. Tomcat gets confused > when a servlet tries to use a class not in a package. ok, I put my Catalog-class in a package called samples.catalogs. Now my Catalog.class is available in: C:\SOAP-2_2\samples\catalogs\Cat