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 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
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
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
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
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
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
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
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
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
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
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
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
> 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
Does anybody have a good experience in working with VB SOAP client and
Apache SOAP server?
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:
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
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
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
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
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/
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?
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
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/";>
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
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
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
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
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[]
>
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
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,
> 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
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
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
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
35 matches
Mail list logo