You can try something like:
| public boolean handleMessage(SOAPMessageContext ctx)
| {
| boolean outbound=
((Boolean)ctx.get(SOAPMessageContext.MESSAGE_OUTBOUND_PROPERTY)).booleanValue();
| SOAPMessage m = ctx.getMessage();
| ByteArrayOutputStream bo = new B
We are currently using JbossWS 1.2 on JBoss 4.0.5GA and read in previous posts
that the way to get the message context via a EJB3 web service end point is
(even though it is non portable code)
| CommonMessageContext msgContext =
MessageContextAssociation.peekMessageContext();
Is this call
We have a web service packaged in a EAR file deployed in Jboss 4.0.5GA running
JbossWS 1.0.4GA which generated the following url:
| http://:8080/PrivacyService-3/PrivacyService
|
The same EAR file when deployed in JBoss 4.0.5GA running JbossWS 1.2 had the
following url generated:
| ht
Ok, I think this is being addressed in:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=103198
So basically, the answer is that to write clients using @WebServiceRef is not
possible in JBoss 4.0.5GA, therefore, the samples for webserviceref will only
work with Jboss 4.2 and Jboss 5.
V
Hi
I am using JBoss 4.0.5GA with JDK 5 and JBossWS 1.2.0GA. I am trying to work
through some of the samples on @WebServiceRef and I noticed that the
jboss-client.xml has:
http://www.jboss.org/j2ee/dtd/jboss_5_0.dtd";>
I looked at the jboss_4_0.dtd and there isn't any reference to
so the fol
Does wsprovide and wsconsume replace the wstools as far as generating end point
server and client artifacts?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024021#4024021
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4
My mistake. I solved the problem, I really should use:
AddressContactMethod a = (AddressContactMethod)call.invoke(new Object[]{addr});
instead of
| StandardizeAddressResponse ctr = (StandardizeAddressResponse)
call.invoke(new Object[]{stdAddr})
Sorry about that, I am still learning ...
V
Thanks Heiko! You are right, somehow there was an 'extra'
jboss-xml-binding.jar.
Now I ran into another problem while executing the code when I call
call.invoke(new Object[]{stdAddr});.
| java.rmi.RemoteException: Call invocation failed; nested exception is:
| java.lang.IllegalArgume
Hi,
I have created a web service using jbossws and hosted on jboss-4.0.5.GA on
WinXP and with the wstool generated the client artifacts. No problem invoking
the web service using SOAPUI tool. But when I tried to execute the client
code, upon call
Service service = serviceFactory.createServic