In general, the context-root of the web service will be the name of the jar
file the stateless bean is deployed in. So change the name of the jar file and
the context-root of the web service is changed accordingly. in general, the
alias portion is determined by the name of the ejb in the
Sorry, forget all I said in my first post. To set the context root include
jboss.xml in your jar file with the following inside it:
!DOCTYPE jboss PUBLIC -//JBoss//DTD JBOSS 4.0//EN
http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd;
context-root/context-root
The alias
I succeeded in calling a web service, from a web service. However, I'd really
like someone out there who knows what they are doing to show me how to do this
correctly. I am sure there is a better way than what I did.
This is how I got it to work:
1. Create web service B as a stateless
I have determined that the problem is that I need to be able to clear the soap
headers before calling the second web service. What's happening is that the
second web service is being wrapped in the env/body tags from the first web
service, which is why I am geeting multiple tags. I determined
I have written two web services that I have tested separately and now I am
trying to call one web service from the other. I have a client that is
succesfully calling web service A, but when A tries to call web service B I get
this message:
16:08:03,834 ERROR [SOAPFaultExceptionHelper] SOAP
I have created web service that uses a POJO endpoint and have successfully
connected to it from a servlet. Now I am trying to add WSSecurity to it, using
signed certificates. When I run the client, it connects to the web service,
but the message is not signed. I verify this by monitoring the