[jboss-user] [JBossWS] - Re: How Do I See the XML?

2007-03-30 Thread joshlam
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

[jboss-user] [JBossWS] - Is MessageContextAssociation.peekMessageContext() Thread Saf

2007-03-15 Thread joshlam
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

[jboss-user] [JBossWS] - JbossWS 1.2 and JBossWS 1.0.4 Generates Diff URLs For Same E

2007-03-14 Thread joshlam
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

[jboss-user] [JBossWS] - Re: Is @WebServiceRef Supported On Jboss 4.0.5GA/JBossWS 1.2

2007-03-07 Thread joshlam
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

[jboss-user] [JBossWS] - Is @WebServiceRef Supported On Jboss 4.0.5GA/JBossWS 1.2.0?

2007-03-06 Thread joshlam
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

[jboss-user] [JBossWS] - wsprovide/wsconsume vs wstools

2007-02-28 Thread joshlam
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

[jboss-user] [JBossWS] - Re: NoSuchMethodError on TypeBinding.setBeforeMarshallingCal

2007-02-22 Thread joshlam
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

[jboss-user] [JBossWS] - Re: NoSuchMethodError on TypeBinding.setBeforeMarshallingCal

2007-02-22 Thread joshlam
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

[jboss-user] [JBossWS] - NoSuchMethodError on TypeBinding.setBeforeMarshallingCallbac

2007-02-21 Thread joshlam
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