From do-not-reply at jboss.com Thu Feb 1 03:10:36 2007 From: do-not-reply at jboss.com (yperey) Date: Thu, 1 Feb 2007 03:10:36 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: SOAP request missing namespace Message-ID: <383359.1170317436514.JavaMail.jboss@colo-br-02.atl.jboss.com> no one have even a start of an answer ? no one have already experienced this problem ? somone of jboss ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009243#4009243 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009243 From do-not-reply at jboss.com Thu Feb 1 06:40:30 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 1 Feb 2007 06:40:30 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Help: how to consume webservice in ejb3 ? Message-ID: <99596.1170330030493.JavaMail.jboss@colo-br-02.atl.jboss.com> @WebServiceRef is supported in jbossws-1.2.0 With JAXRPC you can always use service = ServiceFactory.create(wsdl, serviceName) port = service.getPort(MySEI.class); port.doStuff() Note, if you have custom types you need to pass in jaxrpc-mapping.xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009340#4009340 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009340 From do-not-reply at jboss.com Thu Feb 1 06:41:37 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 1 Feb 2007 06:41:37 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: in required but not legal? Message-ID: <3943820.1170330097130.JavaMail.jboss@colo-br-02.atl.jboss.com> JAXWS is available in 1.2.0 Have a look at the road map in jira View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009341#4009341 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009341 From do-not-reply at jboss.com Thu Feb 1 06:44:57 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 1 Feb 2007 06:44:57 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBossWS 1.2.0CR2 with JEMS 1.2 (and JBoss 4.0.5) fails Message-ID: <29705006.1170330297793.JavaMail.jboss@colo-br-02.atl.jboss.com> This is a classpath issue. Make sure jboss-jaxrpc.jar is seen first. In 4.0.5 the legacy JAXRPC API is also in jbossall-client.jar. This will cahnge in jboss-4.2.0 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009342#4009342 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009342 From do-not-reply at jboss.com Thu Feb 1 06:50:17 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 1 Feb 2007 06:50:17 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Enforcing a WSDL without doing WSDL first development (t Message-ID: <31252900.1170330617961.JavaMail.jboss@colo-br-02.atl.jboss.com> The wsdl you declare in wsdlLocation is simply published by the endpoint. Import URLs and endpoint address are rewritten otherwise there is little no none validation against the annotations that the endpoint uses. The internal meta data model is always build from the annotations. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009345#4009345 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009345 From do-not-reply at jboss.com Thu Feb 1 06:55:26 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 1 Feb 2007 06:55:26 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: SchemaTypeCreator.introspectJavaProperties Exception w/ Message-ID: <31214062.1170330926985.JavaMail.jboss@colo-br-02.atl.jboss.com> Could you please verify whether this still occurs in 1.2.0 How can I build and install the latest? http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWSFAQBuildAndInstall Where is the JBossWS source repository? http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWSFAQSourceRepository svn co https://svn.jboss.org/repos/jbossws/branches/jbossws-1.2.0 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009348#4009348 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009348 From do-not-reply at jboss.com Thu Feb 1 07:00:17 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 1 Feb 2007 07:00:17 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WSDL-JAVA - How do you generate both server and client a Message-ID: <22037855.1170331217041.JavaMail.jboss@colo-br-02.atl.jboss.com> http://labs.jboss.com/portal/jbossws/user-guide/en/html/clients.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009352#4009352 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009352 From do-not-reply at jboss.com Thu Feb 1 07:02:12 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 1 Feb 2007 07:02:12 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBossWS tutorial Message-ID: <6708498.1170331332250.JavaMail.jboss@colo-br-02.atl.jboss.com> The status of the JAXWS userguide is reflected here http://jira.jboss.org/jira/browse/JBWS-1307 The URL above it the JAXRPC user guide. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009353#4009353 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009353 From do-not-reply at jboss.com Thu Feb 1 07:09:06 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 1 Feb 2007 07:09:06 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: ClassLoader not available in meta data Message-ID: <16408490.1170331746538.JavaMail.jboss@colo-br-02.atl.jboss.com> What is the jbossws version? If this is still a problem for you pls create a jira issue and attach a sample deployment View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009354#4009354 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009354 From do-not-reply at jboss.com Thu Feb 1 07:10:17 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 1 Feb 2007 07:10:17 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Disable /jbossws/services page Message-ID: <17078662.1170331817263.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, jbossws/services can be secured just like any other webapp in jboss View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009355#4009355 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009355 From do-not-reply at jboss.com Thu Feb 1 07:11:44 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 1 Feb 2007 07:11:44 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: ws4ee invalid xml response Message-ID: <267293.1170331904776.JavaMail.jboss@colo-br-02.atl.jboss.com> This is HTTP1.1 chunking. Tomcat can be configured to use HTTP1.0 for specific agents. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009357#4009357 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009357 From do-not-reply at jboss.com Thu Feb 1 07:12:30 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 1 Feb 2007 07:12:30 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Pbs when consuming a Web Service with JBoss WS 1.0.3 and Message-ID: <23090850.1170331950781.JavaMail.jboss@colo-br-02.atl.jboss.com> Have a look at jboss classloading View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009359#4009359 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009359 From do-not-reply at jboss.com Thu Feb 1 07:17:22 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 1 Feb 2007 07:17:22 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws.sar in jbossws1.0.4.GA fails to deploy on jboss Message-ID: <30513647.1170332242177.JavaMail.jboss@colo-br-02.atl.jboss.com> The EJB3 deployer is not there. You can safely comment out the DeployerInterceptorEJB3 if run in a non EJB3 distro View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009365#4009365 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009365 From do-not-reply at jboss.com Thu Feb 1 07:18:47 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 1 Feb 2007 07:18:47 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: wstools not generating Java for enum pattern Message-ID: <12517545.1170332327428.JavaMail.jboss@colo-br-02.atl.jboss.com> Have a look at this FAQ http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWSFAQSupportedDataTypes View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009366#4009366 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009366 From do-not-reply at jboss.com Thu Feb 1 09:43:05 2007 From: do-not-reply at jboss.com (QPool.Char) Date: Thu, 1 Feb 2007 09:43:05 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: java.lang.UnsupportedOperationException: setProperty mus Message-ID: <20080058.1170340985406.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello Thomas, can you please explain this in more detail? I have exactly the same problem described above. I have a webservice running, that works very fine if call it locally (testclient and SEI on same machine). But if i use distant jboss, i get this exeption. But the classpath when starting this distant JBoss is anonymous wrote : CLASSPATH: D:\Sun\SDK\jdk\lib\tools.jar;D:\Programme\jboss-4.0.5.GA\bin\run.jar I use Java 1.5_11 and i dont have any system classpath settings. thx in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009442#4009442 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009442 From do-not-reply at jboss.com Thu Feb 1 10:08:56 2007 From: do-not-reply at jboss.com (moensie) Date: Thu, 1 Feb 2007 10:08:56 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WS Eventing client - basics question Message-ID: <31927197.1170342536131.JavaMail.jboss@colo-br-02.atl.jboss.com> Aha, I should use remoting. Funny actually. I already got started on a pure JBoss remoting solution. I threw out the webservice eventing and added a register/ deregister method to my existing webservice (a plain synchronous one). In the register method I add the address to a list and whenever an event is thrown I use the JBoss remoting to send messages to a JBoss remoting webserver that I started on my client side (Java Swings app). Looks like the solution was closer than I thought. Maybe I'll give it another try now I know that I should have used remoting. Changes to my application seem minimal enough. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009455#4009455 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009455 From do-not-reply at jboss.com Thu Feb 1 10:10:08 2007 From: do-not-reply at jboss.com (moensie) Date: Thu, 1 Feb 2007 10:10:08 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws.sar in jbossws1.0.4.GA fails to deploy on jboss Message-ID: <22069938.1170342608592.JavaMail.jboss@colo-br-02.atl.jboss.com> Ah, I already updated my JBoss with EJB3.0 Nice to know there is another solution View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009458#4009458 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009458 From do-not-reply at jboss.com Thu Feb 1 11:33:04 2007 From: do-not-reply at jboss.com (heapifyman) Date: Thu, 1 Feb 2007 11:33:04 -0500 (EST) Subject: [jbossws-users] [JBossWS] - org.jboss.ws.WSException: No wrapped types available Message-ID: <19846037.1170347584484.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello. I'm having a trouble deploying a simple WS with user defined types using Document/literal wrapped on a JBoss 4.0.4 GA with JBossWS 1.0.4 and EJB3 RC9 Patch1. I always get the exception in the subject: org.jboss.ws.WSException: No wrapped types available | at org.jboss.ws.jaxrpc.ParameterWrapping.generateWrapper(ParameterWrapping.java:463) I found several topics about this exception in the forum, but the only "solution" i found was to upgrade ejb3 jars to version RC9 patch1, which I already have. When using RPC/Literal, everything works fine. Is Document/literal wrapped not supported by JBossWS? Thanks in advance, heapifyman View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009541#4009541 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009541 From do-not-reply at jboss.com Thu Feb 1 11:50:00 2007 From: do-not-reply at jboss.com (heapifyman) Date: Thu, 1 Feb 2007 11:50:00 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: org.jboss.ws.WSException: No wrapped types available Message-ID: <316633.1170348600583.JavaMail.jboss@colo-br-02.atl.jboss.com> Edit: That is a JSR-181 web service. >From what I understand Document/literal wrapped is not supported for JSR-181 web services. Am I right? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009554#4009554 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009554 From do-not-reply at jboss.com Thu Feb 1 11:54:58 2007 From: do-not-reply at jboss.com (Juergen.Zimmermann) Date: Thu, 1 Feb 2007 11:54:58 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBossWS 1.2.0CR2 with JEMS 1.2 (and JBoss 4.0.5) fails Message-ID: <27886496.1170348898820.JavaMail.jboss@colo-br-02.atl.jboss.com> So far the classpath issues are solved. Now I get this stacktrace: 2007-02-01 17:50:16,266 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)] Started in 42s:842ms | 2007-02-01 17:50:34,873 DEBUG [org.jboss.ws.core.server.AbstractServiceEndpointServlet] doPost: /hska/KundenverwaltungService | 2007-02-01 17:50:34,883 DEBUG [org.jboss.ws.core.soap.MessageContextAssociation] pushMessageContext: org.jboss.ws.core.jaxws.handler.SOAPMessageContextJAXWS at 18c3efb (Thread http-0.0.0.0-8080-1) | 2007-02-01 17:50:34,883 DEBUG [org.jboss.ws.core.server.ServiceEndpoint] BEGIN handleRequest: jboss.ws:context=hska/KundenverwaltungService,endpoint=KundenverwaltungService | 2007-02-01 17:50:34,883 TRACE [org.jboss.ws.core.soap.MessageFactoryImpl] [authorization=Basic Mjoy] | 2007-02-01 17:50:34,883 TRACE [org.jboss.ws.core.soap.MessageFactoryImpl] [soapaction=] | 2007-02-01 17:50:34,883 TRACE [org.jboss.ws.core.soap.MessageFactoryImpl] [content-type=text/xml; charset="utf-8"] | 2007-02-01 17:50:34,883 TRACE [org.jboss.ws.core.soap.MessageFactoryImpl] [accept=text/xml, multipart/related, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2] | 2007-02-01 17:50:34,883 TRACE [org.jboss.ws.core.soap.MessageFactoryImpl] [user-agent=Java/1.5.0_10] | 2007-02-01 17:50:34,883 TRACE [org.jboss.ws.core.soap.MessageFactoryImpl] [host=localhost:8080] | 2007-02-01 17:50:34,883 TRACE [org.jboss.ws.core.soap.MessageFactoryImpl] [connection=keep-alive] | 2007-02-01 17:50:34,883 TRACE [org.jboss.ws.core.soap.MessageFactoryImpl] [content-length=202] | 2007-02-01 17:50:34,903 DEBUG [org.jboss.ws.core.soap.MessageFactoryImpl] createMessage: [contentType=text/xml; charset=utf-8] | 2007-02-01 17:50:34,903 TRACE [org.jboss.ws.core.soap.MessageFactoryImpl] createMessage | 71 | 2007-02-01 17:50:34,933 DEBUG [javax.xml.soap.MessageFactory] Load from Service API META-INF/services/javax.xml.soap.SOAPFactory: org.jboss.ws.core.soap.SOAPFactoryImpl | 2007-02-01 17:50:34,933 TRACE [org.jboss.ws.core.utils.DOMUtils] createElement {http://schemas.xmlsoap.org/soap/envelope/}S:Envelope | 2007-02-01 17:50:34,933 TRACE [org.jboss.ws.core.soap.SOAPElementImpl] new SOAPElementImpl: {http://schemas.xmlsoap.org/soap/envelope/}Envelope | 2007-02-01 17:50:34,933 TRACE [org.jboss.ws.core.soap.SOAPElementImpl] new SOAPElementImpl: {http://schemas.xmlsoap.org/soap/envelope/}Envelope | 2007-02-01 17:50:34,933 TRACE [org.jboss.ws.core.soap.SOAPElementImpl] addNamespaceDeclaration: xmlns:S='http://schemas.xmlsoap.org/soap/envelope/' | 2007-02-01 17:50:34,933 TRACE [org.jboss.ws.core.utils.DOMUtils] createElement {http://schemas.xmlsoap.org/soap/envelope/}S:Header | 2007-02-01 17:50:34,933 TRACE [org.jboss.ws.core.soap.SOAPElementImpl] new SOAPElementImpl: {http://schemas.xmlsoap.org/soap/envelope/}Header | 2007-02-01 17:50:34,933 TRACE [org.jboss.ws.core.soap.SOAPElementImpl] addChildElement: {http://schemas.xmlsoap.org/soap/envelope/}Envelope -> {http://schemas.xmlsoap.org/soap/envelope/}Header | 2007-02-01 17:50:34,933 TRACE [org.jboss.ws.core.utils.DOMUtils] createElement {http://schemas.xmlsoap.org/soap/envelope/}S:Body | 2007-02-01 17:50:34,933 TRACE [org.jboss.ws.core.soap.SOAPElementImpl] new SOAPElementImpl: {http://schemas.xmlsoap.org/soap/envelope/}Body | 2007-02-01 17:50:34,933 TRACE [org.jboss.ws.core.soap.SOAPElementImpl] addChildElement: {http://schemas.xmlsoap.org/soap/envelope/}Envelope -> {http://schemas.xmlsoap.org/soap/envelope/}Body | 2007-02-01 17:50:34,943 TRACE [org.jboss.ws.core.utils.DOMUtils] createElement {http://ws.hska.de}ns2:findNachname | 2007-02-01 17:50:34,943 TRACE [org.jboss.ws.core.soap.SOAPElementImpl] new SOAPElementImpl: {http://ws.hska.de}findNachname | 2007-02-01 17:50:34,943 TRACE [org.jboss.ws.core.soap.SOAPBodyImpl] addChildElement: {http://ws.hska.de}findNachname | 2007-02-01 17:50:34,943 TRACE [org.jboss.ws.core.soap.SOAPElementImpl] addChildElement: {http://schemas.xmlsoap.org/soap/envelope/}Body -> {http://ws.hska.de}findNachname | 2007-02-01 17:50:34,943 TRACE [org.jboss.ws.core.soap.SOAPBodyImpl] appendChild: ns2:findNachname | 2007-02-01 17:50:34,943 TRACE [org.jboss.ws.core.soap.SOAPElementImpl] addNamespaceDeclaration: xmlns:ns2='http://ws.hska.de' | 2007-02-01 17:50:34,943 TRACE [org.jboss.ws.core.utils.DOMUtils] createElement {}long_1 | 2007-02-01 17:50:34,943 TRACE [org.jboss.ws.core.soap.SOAPElementImpl] new SOAPElementImpl: long_1 | 2007-02-01 17:50:34,943 TRACE [org.jboss.ws.core.soap.SOAPElementImpl] addChildElement: {http://ws.hska.de}findNachname -> long_1 | 2007-02-01 17:50:34,943 TRACE [org.jboss.ws.core.utils.DOMUtils] Ignore attribute: [uri=null,qname=xmlns,value=] | 2007-02-01 17:50:34,943 DEBUG [org.jboss.ws.core.soap.SOAPContentElement] setXMLFragment: 71 | 2007-02-01 17:50:34,943 TRACE [org.jboss.ws.core.soap.SOAPContentElement] removeContentsAsIs | 2007-02-01 17:50:34,943 TRACE [org.jboss.ws.core.soap.SOAPElementImpl] removeContents | 2007-02-01 17:50:34,943 TRACE [org.jboss.ws.core.soap.SOAPContentElement] getChildElements | 2007-02-01 17:50:34,943 TRACE [org.jboss.ws.core.soap.SOAPContentElement] getChildNodes | 2007-02-01 17:50:34,943 TRACE [org.jboss.ws.core.soap.SOAPContentElement] resetElementContent | 2007-02-01 17:50:34,943 TRACE [org.jboss.ws.core.soap.SOAPContentElement] invalidateDOMContent | 2007-02-01 17:50:34,943 TRACE [org.jboss.ws.core.soap.SOAPContentElement] invalidateObjectContent | 2007-02-01 17:50:34,943 TRACE [org.jboss.ws.core.soap.SOAPContentElement] invalidateXMLContent | 2007-02-01 17:50:34,943 TRACE [org.jboss.ws.core.soap.SOAPContentElement] invalidateDOMContent | 2007-02-01 17:50:34,943 TRACE [org.jboss.ws.core.soap.SOAPContentElement] invalidateObjectContent | 2007-02-01 17:50:34,943 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerDelegateJAXWS] callRequestHandlerChain: PRE | 2007-02-01 17:50:34,943 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerResolverImpl] initHandlerChain: PRE | 2007-02-01 17:50:34,943 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerResolverImpl] initHandlerChain: ENDPOINT | 2007-02-01 17:50:34,943 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerResolverImpl] initHandlerChain: POST | 2007-02-01 17:50:34,943 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerResolverImpl] getHandlerChain: [service={http://ws.hska.de}KundenverwaltungService,port={http://ws.hska.de}KundenverwaltungSEIPort,binding=http://schemas.xmlsoap.org/wsdl/soap/http] | 2007-02-01 17:50:34,953 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerChainExecutor] Create a handler executor: [] | 2007-02-01 17:50:34,953 TRACE [org.jboss.ws.core.soap.SOAPBodyImpl] getChildElements | 2007-02-01 17:50:34,953 TRACE [org.jboss.ws.core.soap.SOAPBodyImpl] getChildNodes | 2007-02-01 17:50:34,953 DEBUG [org.jboss.ws.core.soap.SOAPMessageDispatcher] getDispatchDestination: {http://ws.hska.de}findNachname | 2007-02-01 17:50:34,953 DEBUG [org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS] unbindRequestMessage: {http://ws.hska.de}findNachname | 2007-02-01 17:50:34,953 TRACE [org.jboss.ws.core.soap.SOAPBodyImpl] getChildElements | 2007-02-01 17:50:34,953 TRACE [org.jboss.ws.core.soap.SOAPBodyImpl] getChildNodes | 2007-02-01 17:50:34,963 ERROR [org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS] SOAP request exception | org.jboss.ws.WSException: Cannot find child element: arg0 | at org.jboss.ws.core.CommonSOAPBinding.getParameterFromMessage(CommonSOAPBinding.java:749) | at org.jboss.ws.core.CommonSOAPBinding.unbindRequestMessage(CommonSOAPBinding.java:265) | at org.jboss.ws.core.server.AbstractServiceEndpointInvoker.invoke(AbstractServiceEndpointInvoker.java:147) | at org.jboss.ws.core.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:203) | at org.jboss.ws.core.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:383) | at org.jboss.ws.core.server.AbstractServiceEndpointServlet.doPost(AbstractServiceEndpointServlet.java:114) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at org.jboss.ws.core.server.AbstractServiceEndpointServlet.service(AbstractServiceEndpointServlet.java:75) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009561#4009561 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009561 From do-not-reply at jboss.com Thu Feb 1 17:48:32 2007 From: do-not-reply at jboss.com (lafr) Date: Thu, 1 Feb 2007 17:48:32 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Exception with JBoss-4.0.5-SP1 and JBossWS-1.0.3-SP1 but Message-ID: <26306526.1170370112332.JavaMail.jboss@colo-br-02.atl.jboss.com> we'll have to wait for a JBossWS version including the fix for http://jira.jboss.com/jira/browse/JBWS-1284. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009723#4009723 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009723 From do-not-reply at jboss.com Fri Feb 2 06:15:59 2007 From: do-not-reply at jboss.com (DoubleDenim) Date: Fri, 2 Feb 2007 06:15:59 -0500 (EST) Subject: [jbossws-users] [JBossWS] - user error handling. Message-ID: <12855498.1170414959760.JavaMail.jboss@colo-br-02.atl.jboss.com> does anyone have any techniques for handling user errors with webservices? for example you have a web service that queries a database for records but no records are found (not a terribly good example, but lets pretend that no records could mean a number of different things).. do you use a webservice fault (exception) to say that theres no records because...? or do you have the operation return a "response" type message that contains a nullable object for the records (if there is any) and a list of error messages if there isn't? When i started creating webservices in java i would have just thrown a bunch of custom faults for my user error handling.. but faults come back in a soap response with a 500 Internal server error http header and this just doesn't seem right. Plus i've since been programming using VB in dotnet *vomits* and exceptions (which i see faults as) are used a little differently to the way they are in java, moreso for exceptional circumstances rather than handling possible expected outcomes. So I'm really just wondering how you guys handle expected user errors/responses? Are there any recommended or standard patterns for ways to handle these circumstances? thanks d View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009950#4009950 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009950 From do-not-reply at jboss.com Fri Feb 2 08:51:26 2007 From: do-not-reply at jboss.com (jova73) Date: Fri, 2 Feb 2007 08:51:26 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Web services and stateful session Message-ID: <8321049.1170424286353.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm working with JBoss 4.0.5 and the embedded JBoss Web Service support. I have to expose as web services some functionalities of an existing J2EE application with stateful session management, i.e. I've a javax.ejb.Handle object which references my session and this handle must be passed to every method of the business logic EJBs. Questions: - how can I expose this Handle object to a web service client? javax.ejb.Handle is not supported by JAX-RPC so I was considering serializing this object (e.g. base64 encoding). Is there any better method? - I serialized my handle object to a file and it's less then 400 bytes: is that the average size of a serialized JBoss javax.ejb.Handle? - is there any standard, implemented by JBoss 4.0.5, for a web service conversation? I'd like to have my web service client making the following calls: perform login request one or more service (each one once or more times) perform logout Maybe I'm wrong but I think that my model doesn't fit in BPEL (I can't know in advance which and how many services a client will call between login() and logout())... Any suggestion? Thanks in advance, Andrea View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4010026#4010026 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4010026 From do-not-reply at jboss.com Fri Feb 2 14:14:05 2007 From: do-not-reply at jboss.com (Rikr2) Date: Fri, 2 Feb 2007 14:14:05 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Error consuption web service Message-ID: <28154306.1170443645572.JavaMail.jboss@colo-br-02.atl.jboss.com> My team discovered this: If JBOSS use a JDK version with JAI component installed then this problem is risen when you try to consume a web service, if you are in this case you should have 2 JDK installed one with JAI component and the another one without it, and start JBOSS with the second one. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4010185#4010185 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4010185 From do-not-reply at jboss.com Fri Feb 2 16:44:06 2007 From: do-not-reply at jboss.com (dwin) Date: Fri, 2 Feb 2007 16:44:06 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Web services and stateful session Message-ID: <33101198.1170452646624.JavaMail.jboss@colo-br-02.atl.jboss.com> hey Andrea as of JAX-WS 2.0, there is no supprt for stateful sessions. In JAX-WS 2.1, there is a concept of stateful webservices which is done through ws-addressing. I would not recommend serializing the Handle object, if need be make a representation (or key) of the handle and pass that to the WS client. Each time that key is returned, you can used that to look up the handle. In fact, I don't even think its possible. You can mimick a session by defining the lifecycle of a session (starts at login, ends at logout). Of course, you would have to persist/maintain state on the server side. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4010251#4010251 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4010251 From do-not-reply at jboss.com Fri Feb 2 17:09:58 2007 From: do-not-reply at jboss.com (sbivol) Date: Fri, 2 Feb 2007 17:09:58 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Mapping file generation & parameter unwrapping issues Message-ID: <24490171.1170454198252.JavaMail.jboss@colo-br-02.atl.jboss.com> We have a .NET sample Web Service (see wsdl at the very bottom), and we?re trying to invoke it from an SLSB in jboss 4.0.5.GA. We tried to get it working with jboss 1.0.3, 1.0.4, and 1.2.0, but did not succeed. With 1.0.3, we could generate the mapping file, but then when invoking the service it would fail finding operation metadata, similar to http://www.jboss.com/index.html?module=bb&op=viewtopic&t=91101, we upgraded to 1.0.4, where this issue doesn't seem to come up. With 1.0.4, using the artifacts generated with 1.0.3, when invoking the service, it would fail as described in http://jira.jboss.org/jira/browse/JBWS-1260 (Scenarios E, F, I, and L). Any attempts to generate the mapping file with 1.0.4 would result in same error during generation of the file. Then I pulled down jbossws 1.2.0.CR2 source, where the above jira issue is supposed to be fixed, but it still cannot generate the mapping file, getting a different error now (see exception stack below). So, am I doing something wrong? Can anyone try generating the artifacts based on wsdl further down, or suggest a workaround? Appreciate your help. Regards Sergiu ------------------------------------- The error i'm getting with 1.2.0.CR2 is: | Exception in thread "main" org.jboss.ws.WSException: String passed is null | at org.jboss.ws.metadata.wsdl.WSDLUtils.firstLetterUpperCase(WSDLUtils.java:453) | at org.jboss.ws.tools.XSDTypeToJava.createJavaFile(XSDTypeToJava.java:137) | at org.jboss.ws.tools.XSDTypeToJava.createJavaFile(XSDTypeToJava.java:113) | at org.jboss.ws.tools.WSDLToJava.generateJavaSource(WSDLToJava.java:716) | at org.jboss.ws.tools.WSDLToJava.generateJavaSource(WSDLToJava.java:709) | at org.jboss.ws.tools.WSDLToJava.unwrapRequest(WSDLToJava.java:285) | at org.jboss.ws.tools.WSDLToJava.appendDocParameters(WSDLToJava.java:494) | at org.jboss.ws.tools.WSDLToJava.appendMethods(WSDLToJava.java:394) | at org.jboss.ws.tools.WSDLToJava.createSEIFile(WSDLToJava.java:570) | at org.jboss.ws.tools.WSDLToJava.createSEI(WSDLToJava.java:602) | at org.jboss.ws.tools.WSDLToJava.generateSEI(WSDLToJava.java:187) | at org.jboss.ws.tools.helpers.ToolsHelper.handleWSDLToJavaGeneration(ToolsHelper.java:304) | at org.jboss.ws.tools.WSTools.process(WSTools.java:138) | at org.jboss.ws.tools.WSTools.generate(WSTools.java:120) | at org.jboss.ws.tools.WSTools.main(WSTools.java:61) | ----------------------------------------- The .NET Web Service WSDL file: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4010262#4010262 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4010262 From do-not-reply at jboss.com Sun Feb 4 13:13:27 2007 From: do-not-reply at jboss.com (aerosteak2) Date: Sun, 4 Feb 2007 13:13:27 -0500 (EST) Subject: [jbossws-users] [JBossWS] - EJB 3.0 to WebService Message-ID: <15472605.1170612807194.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, Let say I just deployed a EJB3.0 POJO with the @Service annotation. Now I would like to make this same POJO available as a WebService (WSDL, SOAP). How would I do that with the JBoss infrastructure? Thank you View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4010937#4010937 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4010937 From do-not-reply at jboss.com Sun Feb 4 14:19:07 2007 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Sun, 4 Feb 2007 14:19:07 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Web services and stateful session Message-ID: <16764398.1170616747219.JavaMail.jboss@colo-br-02.atl.jboss.com> Dwin is right. WS-Addressing is the right way to build conversational web services. Take a look at the user guide and the corresponding samples. It contains an example for a staful service. It's already supported for quiet some time now: http://labs.jboss.com/portal/jbossws/user-guide/en/html/wsaddressing.html IMO passing the serialized handle around is not a good idea. I could picture a SLSB facade instead that keeps a UUID->Handle registry and delegates to the SFSB beans behind the scenes. You could hand out the UUID using WS-Adressing and internally rely on the ejb handle. You could even offer a simple API for clients to resign from their sessions. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4010969#4010969 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4010969 From do-not-reply at jboss.com Sun Feb 4 14:28:50 2007 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Sun, 4 Feb 2007 14:28:50 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBossWS 1.2.0CR2 with JEMS 1.2 (and JBoss 4.0.5) fails Message-ID: <5860254.1170617330249.JavaMail.jboss@colo-br-02.atl.jboss.com> This looks to me as if the client uses default names for wrapped parameters but the service impl uses named ones. It it a doclit/wrapped service? How did you create the client artefacts? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4010971#4010971 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4010971 From do-not-reply at jboss.com Sun Feb 4 14:30:03 2007 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Sun, 4 Feb 2007 14:30:03 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBossWS 1.2.0CR2 with JEMS 1.2 (and JBoss 4.0.5) fails Message-ID: <28164373.1170617403815.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry, i think that was complete BS. What mode are you using? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4010972#4010972 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4010972 From do-not-reply at jboss.com Sun Feb 4 14:33:51 2007 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Sun, 4 Feb 2007 14:33:51 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WS Eventing client - basics question Message-ID: <4257098.1170617631919.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, tell us what you have come up with when it's working... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4010973#4010973 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4010973 From do-not-reply at jboss.com Sun Feb 4 18:25:51 2007 From: do-not-reply at jboss.com (aschmidt1978) Date: Sun, 4 Feb 2007 18:25:51 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: SchemaTypeCreator.introspectJavaProperties Exception w/ Message-ID: <5584868.1170631551532.JavaMail.jboss@colo-br-02.atl.jboss.com> Adding a "serializable" child element to the "globalBindings" xjc annotation in the schema seemed to resolve the problem. For compatibility with .NET apps, I also added the following annotation to element collections throughout the schema, as generic collections didn't seem to be picked up when adding a web reference to a project. Given that I found a workaround, I haven't taken the opportunity to see if this issue is resolved without the workaround in jbossws 1.2, but I would hope that it's been resolved either inherently or as a bugfix. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011053#4011053 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011053 From do-not-reply at jboss.com Sun Feb 4 20:17:47 2007 From: do-not-reply at jboss.com (Juergen.Zimmermann) Date: Sun, 4 Feb 2007 20:17:47 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBossWS 1.2.0CR2 with JEMS 1.2 (and JBoss 4.0.5) fails Message-ID: <29744097.1170638267916.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm using an EJB3 stateless session bean annotated with: @WebService(name="KundenverwaltungSEI", serviceName="KundenverwaltungService") | @SOAPBinding(style=RPC) | @Stateless(name="KundenverwaltungService") | @Remote(KundenverwaltungService.class) | @RolesAllowed(ROLLE_MITARBEITER) | @PortComponent(contextRoot="/hska/KundenverwaltungService", urlPattern="/*", authMethod="BASIC", transportGuarantee="NONE") | @SecurityDomain(LOGIN_DOMAIN_HSKA) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011082#4011082 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011082 From do-not-reply at jboss.com Mon Feb 5 01:21:00 2007 From: do-not-reply at jboss.com (akirainoue) Date: Mon, 5 Feb 2007 01:21:00 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Problems with Jboss and Sun's 1.6 JDK Message-ID: <29557968.1170656460323.JavaMail.jboss@colo-br-02.atl.jboss.com> Can you share how to implement web service client stub as an EJB, generated by sun jwsdp (wscompile) in jboss? My EJB is calling web service to 3rd party provider. The client stub is generated through Sun's jwsdp. However I encountered the following exception: java.lang.ClassCastException: org.jboss.ws.soap.SOAPMessageImpl at com.sun.xml.rpc.client.StubBase._postSendingHook(StubBase.java:231) at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:324) I added the following jar from jwsdp to the lib dir: FastInfoset.jar jaxrpc-impl.jar jaxrpc-spi.jar jsr173_api.jar saaj-impl.jar I am running jboss-4.0.5.GA. How can I resolve the problem? Can the stub generated by jwsdp be used in JBoss or any application other the Sun? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011153#4011153 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011153 From do-not-reply at jboss.com Mon Feb 5 04:18:16 2007 From: do-not-reply at jboss.com (jova73) Date: Mon, 5 Feb 2007 04:18:16 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Web services and stateful session Message-ID: <30175254.1170667096748.JavaMail.jboss@colo-br-02.atl.jboss.com> THANK YOU VERY MUCH, Dwin and Heiko!!! I will follow your suggestions and check WS-Adressing. Bye, Andrea View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011225#4011225 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011225 From do-not-reply at jboss.com Mon Feb 5 07:30:26 2007 From: do-not-reply at jboss.com (rlamie) Date: Mon, 5 Feb 2007 07:30:26 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Architecture question Message-ID: <18467147.1170678626933.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I'd know your point of view of the current needs expressed by a customer of mine. >From an existing workflow engine (JBoss jBPM), he'd like to consume web services from another company (so-called A). Moreover, the company A could call our own web services (not yet implemented), as a delayed response to our own calls. I imagine the following strategy : Company A <------ws-------> Application X to be developped <---------> JBoss jBPM My questions : - Application X should be isolated as a sort of gateway application ? - What is the best choice : 1/ Application X is a simple webapp with any soap stacks (xfire, jax-ws 2.1, ...). Communication between Application X and JBoss jBPM is based on web service 2/ Application X is an ejb application (jBoss), and then, the application must(?) rely on jBoss WS. Communication between Application X and jBoss JBPM is based on remote ejbs. 3/ does jBoss support jax-ws 2.1 ? Thank you a lot for your support. R. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011296#4011296 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011296 From do-not-reply at jboss.com Mon Feb 5 09:30:39 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Mon, 5 Feb 2007 09:30:39 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: How to log xml binding and WS log Message-ID: <19243821.1170685839670.JavaMail.jboss@colo-br-02.atl.jboss.com> | | Tracing of jbossxb binding should works for me as shown above. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011352#4011352 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011352 From do-not-reply at jboss.com Mon Feb 5 09:34:21 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Mon, 5 Feb 2007 09:34:21 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: SOAP request missing namespace Message-ID: <13391855.1170686061077.JavaMail.jboss@colo-br-02.atl.jboss.com> The axis based stack is deprecated since Apr/2006. Free support from jboss core is available through this forum for jbossws only. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011355#4011355 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011355 From do-not-reply at jboss.com Mon Feb 5 09:36:12 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Mon, 5 Feb 2007 09:36:12 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: java.lang.UnsupportedOperationException: setProperty mus Message-ID: <1710803.1170686172247.JavaMail.jboss@colo-br-02.atl.jboss.com> Than its probabaly comming from D:\Sun\SDK\jdk\lib\tools.jar. Why is that on the cp when you start jboss? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011356#4011356 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011356 From do-not-reply at jboss.com Mon Feb 5 09:37:57 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Mon, 5 Feb 2007 09:37:57 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: org.jboss.ws.WSException: No wrapped types available Message-ID: <20719203.1170686277272.JavaMail.jboss@colo-br-02.atl.jboss.com> This should be fixed in jbossws-1.2.0, which is functional complete and available in SVN View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011357#4011357 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011357 From do-not-reply at jboss.com Mon Feb 5 11:37:45 2007 From: do-not-reply at jboss.com (QPool.Char) Date: Mon, 5 Feb 2007 11:37:45 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: java.lang.UnsupportedOperationException: setProperty mus Message-ID: <11243242.1170693465219.JavaMail.jboss@colo-br-02.atl.jboss.com> Yeah. Thx very much. Problem solved. I had the Sun/SDK on my system classpath, because i installed it before the normal jdk 1.5. I changed the system classpath to my jdk installation, then it worked. Thought i was said that Java EE 5 installation comes along with a complete jdk 1.5 version, but it seems as if you must install both seperately.... this confuses me..... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011438#4011438 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011438 From do-not-reply at jboss.com Mon Feb 5 12:38:33 2007 From: do-not-reply at jboss.com (bgasst) Date: Mon, 5 Feb 2007 12:38:33 -0500 (EST) Subject: [jbossws-users] [JBossWS] - wstools problem generating WSDL from Java with inherited cla Message-ID: <21500955.1170697113663.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I generated a WSDL file with the wstools. So far so good, but I think, the generated section isn't correct. My simple example is the following: package test; | public class FirstRequest { | } | | package test; | public class SecondRequest extends FirstRequest { | public int id; | } | | package test; | public class Test1Request extends SecondRequest { | } | | package test; | public class Test2Request extends SecondRequest { | public String dummy; | } | | package test; | import java.rmi.Remote; | import java.rmi.RemoteException; | public interface MyService extends Remote { | void Test1(Test1Request req) throws RemoteException; | void Test2(Test2Request req) throws RemoteException; | } | | package test; | import java.rmi.RemoteException; | public class MyEndpointJSE implements MyService { | public void Test1(Test1Request req) throws RemoteException { | // TODO Auto-generated method stub | } | public void Test2(Test2Request req) throws RemoteException { | // TODO Auto-generated method stub | } | } wstools-config.xml file: | | | | | | | And here is the generated WSDL file (not complete): | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... | | How you can see, the member 'id' is only defined once in the class SecondRequest. But, could anyone explain me, why the element 'id' is double defined within the schema? If I define a 'dummy' string member in the class Test2Request, the second element 'id' is omitted within the schema!!! I'm working with jbossws-1.0.4.GA with Java 1.4.2 Thanks in advance, Steven View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011458#4011458 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011458 From do-not-reply at jboss.com Mon Feb 5 13:33:25 2007 From: do-not-reply at jboss.com (bcguitar33) Date: Mon, 5 Feb 2007 13:33:25 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Error creating SOAPFault message, no NamespaceRegistry Message-ID: <5837447.1170700405683.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi there, I'm developing a simple jboss endpoint and I'm having trouble. I've used WStools to generate the necessary files. Things work fine when the user provides the correct input, and things also work fine (the server sends an appropriate fault) when the user sends bad input such as an unsupported function name or the wrong arguments. However, if the user sends a bad SOAP request entirely, such as the tags don't match up, the server generates an error and doesn't send the client anything back at all. I would like this to generate a fault to the client, instead of merely being silent. Does anyone have any idea as to why this may be happening? Here's the jboss stack trace: 13:29:47,229 ERROR [STDERR] [Fatal Error] :4:60: The end-tag for element type "CustomerID" must end with a '>' delimiter. 13:29:47,242 ERROR [SOAPFaultExceptionHelper] SOAP request exception java.io.IOException: org.xml.sax.SAXParseException: The end-tag for element type "CustomerID" must end with a '>' delimiter. at org.jboss.util.xml.DOMUtils.parse(DOMUtils.java:110) at org.jboss.ws.soap.MessageFactoryImpl.createSOAPEnvelope(MessageFactoryImpl.java:238) at org.jboss.ws.soap.MessageFactoryImpl.createMessageInternal(MessageFactoryImpl.java:227) at org.jboss.ws.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:157) at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:215) at org.jboss.ws.server.ServiceEndpointServlet.doPost(ServiceEndpointServlet.java:120) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) 13:29:47,323 ERROR [SOAPFaultExceptionHelper] Error creating SOAPFault message org.jboss.ws.WSException: Cannot obtain NamespaceRegistry, because there is no SOAPMessage associated with this context at org.jboss.ws.soap.SOAPMessageContextImpl.getNamespaceRegistry(SOAPMessageContextImpl.java:140) at org.jboss.ws.soap.SOAPMessageContextImpl.getSerializationContext(SOAPMessageContextImpl.java:130) at org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.toSOAPMessage(SOAPFaultExceptionHelper.java:223) at org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.exceptionToFaultMessage(SOAPFaultExceptionHelper.java:177) at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:248) at org.jboss.ws.server.ServiceEndpointServlet.doPost(ServiceEndpointServlet.java:120) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) 13:29:47,380 ERROR [AbstractServlet] Error processing web service request javax.xml.rpc.JAXRPCException: Cannot create SOAPFault message for: javax.xml.rpc.soap.SOAPFaultException: java.io.IOException: org.xml.sax.SAXParseException: The end-tag for element type "CustomerID" must end with a '>' delimiter. at org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.exceptionToFaultMessage(SOAPFaultExceptionHelper.java:183) at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:248) at org.jboss.ws.server.ServiceEndpointServlet.doPost(ServiceEndpointServlet.java:120) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) 13:29:47,388 ERROR [[SVAEndpoint]] Servlet.service() for servlet SVAEndpoint threw exception javax.xml.rpc.JAXRPCException: Cannot create SOAPFault message for: javax.xml.rpc.soap.SOAPFaultException: java.io.IOException: org.xml.sax.SAXParseException: The end-tag for element type "CustomerID" must end with a '>' delimiter. at org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.exceptionToFaultMessage(SOAPFaultExceptionHelper.java:183) at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:248) at org.jboss.ws.server.ServiceEndpointServlet.doPost(ServiceEndpointServlet.java:120) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011484#4011484 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011484 From do-not-reply at jboss.com Mon Feb 5 13:41:24 2007 From: do-not-reply at jboss.com (jova73) Date: Mon, 5 Feb 2007 13:41:24 -0500 (EST) Subject: [jbossws-users] [JBossWS] - JBossWS 1.0.X, JAX-WS compliant JBossWS 2.0 and services com Message-ID: <6566168.1170700884752.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm starting in these days to develop new web services for an existing J2EE application and I'm considering using JBoss 4.0.5 and the embedded JBossWS 1.0.3 support. Will my web services be compatible with the new JAX-WS compliant web service stack in JBoss 5?? If now I use JAX-WS RI with JBoss 4, will the migration to JBoss 5 and the JAX-WS compliant JBossWS be easier? Is it possible, in JBossWS 1.0.X and 2.0 (JAX-WS in general), to commit to a WSDL and not to a Java endpoint? That would solve my problem... What do you think? Thanks in advance, Andrea View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011490#4011490 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011490 From do-not-reply at jboss.com Mon Feb 5 13:47:45 2007 From: do-not-reply at jboss.com (dwin) Date: Mon, 5 Feb 2007 13:47:45 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBossWS 1.0.X, JAX-WS compliant JBossWS 2.0 and services Message-ID: <24921187.1170701265163.JavaMail.jboss@colo-br-02.atl.jboss.com> hey Andrea you can use the annotation @wsdlLocation to bind your SEI (service end point) to a WSDL. That way the SEI has to confirm to the WSDL. also, you could always do wsgen (WSDL to java) to generate the SEI and the relevant datatypes. To answer your question about moving your JBossWS 1.0.3 to JBossWS 1.2.x and JBossWS 2.x, I would imagine it would be a relatively painless transition. You use your webservice interface (from JAX RPC) as your service interface and tag it with the annotation @Webservice. The JBoss runtime should automatically pick it up. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011492#4011492 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011492 From do-not-reply at jboss.com Mon Feb 5 14:44:38 2007 From: do-not-reply at jboss.com (guurk) Date: Mon, 5 Feb 2007 14:44:38 -0500 (EST) Subject: [jbossws-users] [JBossWS] - soap:address location not fully qualified (JSR-181) Message-ID: <8971615.1170704678316.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm using JSR-181 to create my WSDLs from annotations at deploy time. However, I'm having a little problem. The soap:address location string is being created with the machines hostname only, not the fully qualified hostname. This makes it so that clients try to look things up only locally. Is there some parameter that I'm missing within the @WebService spec that allows me to force what the location is? Or barring that, some sort of jbossws parameter that I can use? Example: http://plasmapowered.com/PlasmaWS/NewsWS?WSDL View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011527#4011527 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011527 From do-not-reply at jboss.com Mon Feb 5 14:54:46 2007 From: do-not-reply at jboss.com (dwin) Date: Mon, 5 Feb 2007 14:54:46 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: EJB 3.0 to WebService Message-ID: <11909917.1170705286656.JavaMail.jboss@colo-br-02.atl.jboss.com> Add the annotation @WebService and deploy as any EJB jar then check localhost:8080/jbossws/services (granted localhost:8080 is your webserver host and 8080 is your http port) if your service appears View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011534#4011534 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011534 From do-not-reply at jboss.com Mon Feb 5 21:48:58 2007 From: do-not-reply at jboss.com (anusanj) Date: Mon, 5 Feb 2007 21:48:58 -0500 (EST) Subject: [jbossws-users] [JBossWS] - JbossWS client exception Message-ID: <31390975.1170730138633.JavaMail.jboss@colo-br-02.atl.jboss.com> I trying to consume a web service, when I run the wstools I am getting an error wsexception unsupported schema. I am running JBoss 4.04 GA thanks anu View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011702#4011702 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011702 From do-not-reply at jboss.com Mon Feb 5 23:53:20 2007 From: do-not-reply at jboss.com (pyuill) Date: Mon, 5 Feb 2007 23:53:20 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Namespace for complex types Message-ID: <9132268.1170737600101.JavaMail.jboss@colo-br-02.atl.jboss.com> I am using a jsr181 pojo service that works well except that I have not been able to find a way to set the targetNamespace on all the complexTypes. Setting targetNamespace in the @Webservice() annotation sets the tns for the bindings and some of the complexTypes, but not all of them. Specifically it does not set the targetNamespace for complexTypes that are referenced as arrays eg: @WebMethod public SdmOrderStatus evaluateSdmOrder(SdmOrderRequest order) { works fine for both the parameter and the return object @WebMethod public ProductDesc[] getProducts() { results in a default namespace for ProductDesc, but my requested namespace for ProductDesc.Array I am using jbossws from the jems-installer-1.2.0.GA (1.0.3 sp1 I think). Any ideas would be appreciated. Regards, Peter Yuill View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011725#4011725 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011725 From do-not-reply at jboss.com Tue Feb 6 03:18:22 2007 From: do-not-reply at jboss.com (stone_42) Date: Tue, 6 Feb 2007 03:18:22 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Interop with WCF Message-ID: <16105432.1170749902588.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, can you tell me how good the interoperability between JBossWS and Microsofts WCF web service implementation is? Currently, I am using the ws4ee stack and I'm even not able to call a hello world wcf web service, because ws4ee and wcf (configured to use soap 1.1) both do not understand the soap messages of the other partner (besides, I made ws-transactions with JBossWS and ws-security with a custom JaxRPC-Handler working - but not the communication of application data). What I'm looking for are statements about handling application data, namely simple data types like strings, complex data types and arrays. An answer could help me to decide whether migration from ws4ee to JBossWS (and subsequently from JBoss 4.0.3 to 4.0.4 or 4.0.5) is worthwhile to think about. Searching the wiki, I found only this page http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossWSAndDotNet about Interop with microsoft implementations, but it does not mention WCF at all. Regards, Martin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011774#4011774 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011774 From do-not-reply at jboss.com Tue Feb 6 05:42:28 2007 From: do-not-reply at jboss.com (centecbertl) Date: Tue, 6 Feb 2007 05:42:28 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: (wstools/jbossws) problem generating WSDL from Java with Message-ID: <22319912.1170758548447.JavaMail.jboss@colo-br-02.atl.jboss.com> The same thing happens with jboss 4.0.5.GA (installed using JEMS installer - thus including jbossws-1.0.3.SP1 (date=200609291417) when defining WebServices using JSR 181 annotations applied to EJB3 Stateless Session Beans. Seems like any parameter of a type defined within an inheritence tree where some of the levels do not add additional getter/setter properties (bug e.g. virtual methods) will lead to a duplication of getter/setter properties in the derived levels. Currently I am using a boolean dummy field (called jbossNoPropertyInClassBug) to avoid external client stub generators to fail on generatin valid stubs with the jboss generated wsdl. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011816#4011816 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011816 From do-not-reply at jboss.com Tue Feb 6 05:59:18 2007 From: do-not-reply at jboss.com (heapifyman) Date: Tue, 6 Feb 2007 05:59:18 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: org.jboss.ws.WSException: No wrapped types available Message-ID: <28535493.1170759558110.JavaMail.jboss@colo-br-02.atl.jboss.com> Okay, thanks. I'll try it. Is there already a date when version 1.2.0 will be officially released? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011829#4011829 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011829 From do-not-reply at jboss.com Tue Feb 6 07:17:28 2007 From: do-not-reply at jboss.com (stone_42) Date: Tue, 6 Feb 2007 07:17:28 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Problem with ws4ee stack and wsdl description using xsd:impo Message-ID: <11375153.1170764248189.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I have a very simple WCF web service and a ws4ee client running in Jboss 4.0.3sp1, but using the ws4ee stack delivered with JBoss 4.0.4. The WSDL of the WCF service is separated into two documents. The main document contains the following wsdl:types definition | | | | And the second, imported document looks the following: | | | | | | | | | | | | | | | | When I call this web service from my ws4ee client, the wcf service does not deserialize the request correctly (it receives null instead of its input data) and the client is not able to deserialize the response, it throws a org.xml.sax.SAXException: Invalid element in de.itinformatik.mes.serviceproxies.services.test.SayHelloResponse - SayHelloResult | at org.jboss.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:455) | at org.jboss.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:1173) | [...] Looking at the SOAP messages exchanged, i found the reason: The ws4ee stack does not use qualified xml names for the elements of complex types and does not allow them in the response. Now the strange thing: If I resolve the xsd:import by hand, integrating the imported xsd document into the wsdl document, everything works fine. Here the SOAP request messages my client sends to the WCF service, 1) using the original wsdl document: | | | foo | | | 2) using the modified wsdl document without xsd:import | | | foo | | | Could this be a bug in the ws4ee stack? Or are wsdl documents using xsd:import in their wsdl:types definition not supported by the ws4ee stack? Regards, Martin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011863#4011863 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011863 From do-not-reply at jboss.com Tue Feb 6 07:47:20 2007 From: do-not-reply at jboss.com (tremalnaik) Date: Tue, 6 Feb 2007 07:47:20 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Unscuring wsdl definition Message-ID: <10106496.1170766040302.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I'm using jboss 4.0.2 I have deployed a simple web service, trying now to secure it. I added the following definitions in the web.xml | | | Protected service | no description | /TestService | | | BITAStarUser | | | NONE | | | | | BASIC | | | | Intranet Bita Star user | BITAStarUser | | It protects all request matching /TestService, but it means that it protects the page /TestService?wsdl i.e. the wsdl file as well. I'd like to avoid this, otherwise my simple test client will get a 401 error: | String urlstr = "https://cor319:8443/BitaStarWebServices/TestService?wsdl"; | String argument = "claves"; | System.out.println("Contacting webservice at " + urlstr); | URL url = new URL(urlstr); | QName qname = new QName("https://ws.web.bitastar.bitaplus.com/", "TestService"); | ServiceFactory factory = ServiceFactory.newInstance(); | Service service = factory.createService(url, qname); | WebServicesTestInt wst = (WebServicesTestInt) service.getPort(WebServicesTestInt.class); | Server returned HTTP response code: 401 for URL: https://cor319.cor-fs.com:8443/BitaStarWebServices/TestService?wsdl I gave a look to the famous cap 13 of the Jboss WS guide on securing the endpoints, but it looks it's doing something too much for me: I don't need to define ejbs. I'm using a Jaas module configured in login-config.xml and jboss-web.xml looks like: | | | | java:/jaas/bitastarRealm | do you have any suggestions? Do you think what I'm doing has some sense? Can you point me to the right resources, please? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011873#4011873 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011873 From do-not-reply at jboss.com Tue Feb 6 08:25:00 2007 From: do-not-reply at jboss.com (fheldt) Date: Tue, 6 Feb 2007 08:25:00 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Little problem with JBoss_4_2 branch / JBossWS-1.2.0.CR2 Message-ID: <25777946.1170768300437.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi folks, i had some spare time and wanted to give the JBoss_4_2 branch (with jbossws-1.2.0.CR2) a try. I checked out from svn, build and run went smooth. Then i wanted to test one of my Webservice-SLSB. It uses JSR-181 with some simple classes and runs well under 4.0.5.GA-ejb3 with a .NET 2.0 client app. Now the problem: When i regenerate the Webservice in Visual Studio 2005, all generated class names are beginning lowercase! Looking at the wsdl shows that it's JBossWS "fault" (jbossws-1.0.4 doesn't do this). The question now: Is this intended behavior? (then i have to change a lot of code...) If so, is there any option to change this? Or is it just a bug? Thanks in advance Frank View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011888#4011888 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011888 From do-not-reply at jboss.com Tue Feb 6 08:44:47 2007 From: do-not-reply at jboss.com (tremalnaik) Date: Tue, 6 Feb 2007 08:44:47 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Unscuring wsdl definition Message-ID: <33104966.1170769487283.JavaMail.jboss@colo-br-02.atl.jboss.com> I forgot to say that mine is a JAX-RPC service endpoint View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011897#4011897 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011897 From do-not-reply at jboss.com Tue Feb 6 11:12:44 2007 From: do-not-reply at jboss.com (fudeus) Date: Tue, 6 Feb 2007 11:12:44 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Problems with Jboss and Sun's 1.6 JDK Message-ID: <13819499.1170778364923.JavaMail.jboss@colo-br-02.atl.jboss.com> "thomas.diesler at jboss.com" wrote : Thats, because the jaxrpc API is part of the JDK. Make sure javax.xml.soap.SOAPMessage is pulled from jboss-jaxrpc.jar Actually javax.xml.soap.SOAPMessage is provided in jboss-saaj.jar. Nevertheless - issues remain the same with putting jboss-saaj to endorsed, since saaj references org.jboss.logging ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011996#4011996 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011996 From do-not-reply at jboss.com Tue Feb 6 11:40:50 2007 From: do-not-reply at jboss.com (tremalnaik) Date: Tue, 6 Feb 2007 11:40:50 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Unscuring wsdl definition Message-ID: <32410095.1170780050161.JavaMail.jboss@colo-br-02.atl.jboss.com> If I proceed like this: BasicAuthenticator ba = new BasicAuthenticator("user_a","claves"); | Authenticator.setDefault(ba); | String urlstr = "https://cor319.cor-fs.com:8443/BitaStarWebServices/TestService?wsdl"; | String argument = "claves"; | System.out.println("Contacting webservice at " + urlstr); | URL url = new URL(urlstr); | QName qname = new QName("https://ws.web.bitastar.bitaplus.com/", "TestService"); | ServiceFactory factory = ServiceFactory.newInstance(); | Service service = factory.createService(url, qname); | WebServicesTestInt wst = (WebServicesTestInt) service.getPort(WebServicesTestInt.class); | I'm able to authenticate, but I'd like to be sure this is a good method (i didn't even need to set the stub login and password properties) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012017#4012017 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012017 From do-not-reply at jboss.com Tue Feb 6 11:42:09 2007 From: do-not-reply at jboss.com (sbivol) Date: Tue, 6 Feb 2007 11:42:09 -0500 (EST) Subject: [jbossws-users] [JBossWS] - SOAP 1.1 unbinding response message issue Message-ID: <587639.1170780129396.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm getting this exception when jbossws processes the response message from a sample web service: | Caused by: org.jboss.ws.WSException: Cannot find child element: result | 00:43:23,128 ERROR [STDERR] at org.jboss.ws.core.CommonSOAPBinding.getParameterFromMessage(CommonSOAPBinding.java:749) | 00:43:23,128 ERROR [STDERR] at org.jboss.ws.core.CommonSOAPBinding.unbindResponseMessage(CommonSOAPBinding.java:486) | 00:43:23,128 ERROR [STDERR] at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:312) | 00:43:23,128 ERROR [STDERR] at org.jboss.ws.core.jaxrpc.CallImpl.invokeInternal(CallImpl.java:562) | 00:43:23,128 ERROR [STDERR] ... 82 more | It seems that for rpc style operations, it is expected that the return value be in the 'result' element of the response message. If I read the SOAP 1.1 it does not mandate the name of the element containing the return value, but it does say that the first accessor of the response 'struct' must contain the return value (see bullet #5 and 6 at http://www.w3.org/TR/2000/NOTE-SOAP-20000508/#_Toc478383533). Is my understanding correct? If so, for SOAP 1.1 rpc style operations, should getParameterFromMessage() try matching based on the type of the first element? Thank you Sergiu View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012020#4012020 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012020 From do-not-reply at jboss.com Tue Feb 6 12:43:57 2007 From: do-not-reply at jboss.com (jova73) Date: Tue, 6 Feb 2007 12:43:57 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBossWS 1.0.X, JAX-WS compliant JBossWS 2.0 and services Message-ID: <22282136.1170783837964.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Dwin, thank you very much for your response! Andrea View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012053#4012053 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012053 From do-not-reply at jboss.com Tue Feb 6 12:54:35 2007 From: do-not-reply at jboss.com (dwin) Date: Tue, 6 Feb 2007 12:54:35 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: soap:address location not fully qualified (JSR-181) Message-ID: <4296838.1170784475078.JavaMail.jboss@colo-br-02.atl.jboss.com> try using @WebContext as defined here http://labs.jboss.com/file-access/default/members/jbossws/downloads/api-docs/index.html?org/jboss/ws/annotation/package-summary.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012061#4012061 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012061 From do-not-reply at jboss.com Tue Feb 6 14:33:59 2007 From: do-not-reply at jboss.com (dwin) Date: Tue, 6 Feb 2007 14:33:59 -0500 (EST) Subject: [jbossws-users] [JBossWS] - JBossWS 1.2 (JAX-WS) and WS-eventing Message-ID: <18037989.1170790439540.JavaMail.jboss@colo-br-02.atl.jboss.com> there is a tutorial on how to implement ws eventing for JBossWS 1.0.x (JAX-RPC) but I am not sure if the same procedure is the same for JBossWS 1.2. Can any of the JBoss people provide some hints or documentation (or a simple sample using annotations) for WS-eventing? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012110#4012110 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012110 From do-not-reply at jboss.com Wed Feb 7 04:50:01 2007 From: do-not-reply at jboss.com (paoletto) Date: Wed, 7 Feb 2007 04:50:01 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Example needed of servlet connecting to web service Message-ID: <30499534.1170841801395.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello! Im trying to put the code from http://labs.jboss.com/portal/jbossws/user-guide/en/html/clients.html#dii-clients into a servlet, but it doesnt seems to work.. can some one points me a working servlet connecting to some stupid web service like Hello? by the way, which packages do i have to include to use Call and Service with jboss 4.0.5 (so no axis then)? many thanks Paolo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012331#4012331 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012331 From do-not-reply at jboss.com Wed Feb 7 05:51:08 2007 From: do-not-reply at jboss.com (paoletto) Date: Wed, 7 Feb 2007 05:51:08 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Example needed of servlet connecting to web service Message-ID: <10809349.1170845468979.JavaMail.jboss@colo-br-02.atl.jboss.com> Here's my code: URL wsdl = new URL("http://localhost:8080/ServizioEJB/Hello?wsdl"); QName qname = new QName("http://servizioDipartimentale.org/","Hello"); try { ServiceFactory factory = ServiceFactory.newInstance(); Service service = factory.createService(wsdl, qname); Hello hello = (Hello) service.getPort(Hello.class); output= hello.sayHello(); } catch (Exception e) { e.printStackTrace(); out.println("error"); } and i get "error".. Probably some mistake somewhere, but no clue if for example i'm setting qname in a wrong way.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012356#4012356 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012356 From do-not-reply at jboss.com Wed Feb 7 06:28:11 2007 From: do-not-reply at jboss.com (sonic-dre) Date: Wed, 7 Feb 2007 06:28:11 -0500 (EST) Subject: [jbossws-users] [JBossWS] - WS4EE: Supress Server AxisFault StackTrace Message-ID: <28210977.1170847691760.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello Is there a way to supress or hide the Server AxisFault StackTrace if an Customize Exception is translated in a Axis SOAP Fault Message in WS4EE ? ERROR [ServerEngine] Server error: AxisFault ....... thank you sonic View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012368#4012368 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012368 From do-not-reply at jboss.com Wed Feb 7 06:53:06 2007 From: do-not-reply at jboss.com (paoletto) Date: Wed, 7 Feb 2007 06:53:06 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Example needed of servlet connecting to web service Message-ID: <12234996.1170849186879.JavaMail.jboss@colo-br-02.atl.jboss.com> well, im checking and it seems the problem is in service.getPort who give this error: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage any clue? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012372#4012372 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012372 From do-not-reply at jboss.com Wed Feb 7 07:13:20 2007 From: do-not-reply at jboss.com (itprabha) Date: Wed, 7 Feb 2007 07:13:20 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: DayTrader benchmark deployment Message-ID: <18167965.1170850400102.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am trying the same thing. I have got the same issue. have you solved it? If yes, please share the solution. Regards, Muthukumar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012383#4012383 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012383 From do-not-reply at jboss.com Wed Feb 7 08:13:54 2007 From: do-not-reply at jboss.com (dwin) Date: Wed, 7 Feb 2007 08:13:54 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Example needed of servlet connecting to web service Message-ID: <15809902.1170854034906.JavaMail.jboss@colo-br-02.atl.jboss.com> ensure that your JDK is 1.5 and not 1..6 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012404#4012404 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012404 From do-not-reply at jboss.com Wed Feb 7 09:50:13 2007 From: do-not-reply at jboss.com (paoletto) Date: Wed, 7 Feb 2007 09:50:13 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Example needed of servlet connecting to web service Message-ID: <18033585.1170859813961.JavaMail.jboss@colo-br-02.atl.jboss.com> "dwin" wrote : ensure that your JDK is 1.5 and not 1..6 eerm... right! my jdk is 1.6... didnt imagine that -_- With 1.5.0 it works perfectly! well.. many thanks :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012456#4012456 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012456 From do-not-reply at jboss.com Wed Feb 7 11:48:05 2007 From: do-not-reply at jboss.com (jshrinivas) Date: Wed, 7 Feb 2007 11:48:05 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: DayTrader benchmark deployment Message-ID: <2068774.1170866885278.JavaMail.jboss@colo-br-02.atl.jboss.com> Try with latest version of JBoss and WebServices package. For me it got resolved when I played around a bit with different combinations of JBoss AS and WebServices package (did it by building JBoss from source). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012539#4012539 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012539 From do-not-reply at jboss.com Wed Feb 7 12:26:12 2007 From: do-not-reply at jboss.com (bertaa) Date: Wed, 7 Feb 2007 12:26:12 -0500 (EST) Subject: [jbossws-users] [JBossWS] - WS-Security internal error when signing Message-ID: <25151598.1170869172893.JavaMail.jboss@colo-br-02.atl.jboss.com> Operating system : Windows XP Java version: 1.4.2_08 JBoss Sever version : jboss-4.0.5.GA Hello, I am trying to develop a ws-client, but when I try to test it I get the following error | java.rmi.RemoteException: Call invocation failed with code [InternalError] because of: An internal WS-Security error occurred. See log for details; nested exception is: | javax.xml.rpc.soap.SOAPFaultException: An internal WS-Security error occurred. See log for details | at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:713) | at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:404) | at org.jboss.ws.jaxrpc.CallProxy.invoke(CallProxy.java:148) | at $Proxy2.wS_LPROCS(Unknown Source) | at org.tempuri.Prueba.test7WS_PROCSoapWS_LPROCS(Prueba.java:62) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at junit.framework.TestCase.runTest(TestCase.java:154) | at junit.framework.TestCase.runBare(TestCase.java:127) | at junit.framework.TestResult$1.protect(TestResult.java:106) | at junit.framework.TestResult.runProtected(TestResult.java:124) | at junit.framework.TestResult.run(TestResult.java:109) | at junit.framework.TestCase.run(TestCase.java:118) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:436) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:311) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192) | Caused by: javax.xml.rpc.soap.SOAPFaultException: An internal WS-Security error occurred. See log for details | at org.jboss.ws.wsse.WSSecurityDispatcher.convertToFault(WSSecurityDispatcher.java:103) | at org.jboss.ws.wsse.WSSecurityDispatcher.handleOutbound(WSSecurityDispatcher.java:304) | at org.jboss.ws.wsse.WSSecurityHandler.handleOutboundSecurity(WSSecurityHandler.java:97) | at org.jboss.ws.wsse.WSSecurityHandlerOutbound.handleRequest(WSSecurityHandlerOutbound.java:38) | at org.jboss.ws.handler.HandlerWrapper.handleRequest(HandlerWrapper.java:121) | at org.jboss.ws.handler.HandlerChainBaseImpl.handleRequest(HandlerChainBaseImpl.java:245) | at org.jboss.ws.jaxrpc.CallImpl.callRequestHandlerChain(CallImpl.java:747) | at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:650) | ... 17 more | | I have already checked I have bouncycastle installed in my jre. Can anybody help me to solve it, or at least how to get a more detailed trace? these are my artifacts: | | | | WS_PROC | service/WS_PROC | javax.xml.rpc.Service | WEB-INF/wsdl/WS_PROC.wsdl | | WEB-INF/jaxrpc-mapping.xml | | | | org.tempuri.WS_PROCSoap | | | | | | | WS_PROC | | service/WS_PROC | Standard Secure Client | | | | | c:/keystore/jbossws.jks | jbossws | C:/keystore/jbossws.truststore | jbossws | | | | | | | And this is the code to test it | public void testWS_PROCSoapWS_LPROCS() throws Exception { | Context ctx = this.getInitialContext(); | Service service = (Service)ctx.lookup("java:comp/env/service/WS_PROC"); | WS_PROCSoap port=(WS_PROCSoap)service.getPort(WS_PROCSoap.class); | WS_LPROCSResponse procedimientos=port.wS_LPROCS(new WS_LPROCS("PRUEBA")); | assertNotNull(procedimientos); | } | Thanks in advance for your help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012562#4012562 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012562 From do-not-reply at jboss.com Wed Feb 7 12:32:44 2007 From: do-not-reply at jboss.com (dwin) Date: Wed, 7 Feb 2007 12:32:44 -0500 (EST) Subject: [jbossws-users] [JBossWS] - JBossWS JAX-WS question using stateful Message-ID: <27318555.1170869564691.JavaMail.jboss@colo-br-02.atl.jboss.com> For Glassfish JAXWS 2.1 it seems that the annotations @Stateful and @Addressing are supported so you basically annotate your web service with @Stateful @Addressing @Webservice along with a reference to a StatefulWebServiceManager JBoss guys, would you say upcoming or existing JAXWS compliant JBossWS runtimes would support the @Stateful and @Addressing annotations? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012566#4012566 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012566 From do-not-reply at jboss.com Wed Feb 7 15:40:50 2007 From: do-not-reply at jboss.com (valjjou) Date: Wed, 7 Feb 2007 15:40:50 -0500 (EST) Subject: [jbossws-users] [JBossWS] - help : need example WS server and client to begin... Message-ID: <31748391.1170880850370.JavaMail.jboss@colo-br-02.atl.jboss.com> Please, can someone help me to begin with a very simple WS like hello world... I also need help to deploy. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012644#4012644 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012644 From do-not-reply at jboss.com Wed Feb 7 18:36:09 2007 From: do-not-reply at jboss.com (liudan2005) Date: Wed, 7 Feb 2007 18:36:09 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Can not set remoting client Marshaller when not connected? Message-ID: <27462563.1170891369857.JavaMail.jboss@colo-br-02.atl.jboss.com> I've followed this article to run my first ws test: http://www.regdeveloper.co.uk/2007/01/23/ejb_web_services/ However, I keep getting this exception: | javax.xml.soap.SOAPException: Could not setup remoting client | at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:168) | at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:687) | at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:404) | at org.jboss.ws.jaxrpc.CallProxy.invoke(CallProxy.java:148) | at $Proxy0.sayHello(Unknown Source) | at mypackage.WebServiceClient.main(WebServiceClient.java:22) | Caused by: java.lang.RuntimeException: Can not set remoting client Marshaller when not connected. | at org.jboss.remoting.Client.setMarshaller(Client.java:1343) | at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:163) | ... 5 more | Exception in thread "main" java.lang.reflect.UndeclaredThrowableException | at $Proxy0.sayHello(Unknown Source) | at mypackage.WebServiceClient.main(WebServiceClient.java:22) | Caused by: java.rmi.RemoteException: Call invocation failed: Could not setup remoting client; nested exception is: | javax.xml.soap.SOAPException: Could not setup remoting client | at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:718) | at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:404) | at org.jboss.ws.jaxrpc.CallProxy.invoke(CallProxy.java:148) | ... 2 more | Caused by: javax.xml.soap.SOAPException: Could not setup remoting client | at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:168) | at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:687) | ... 4 more | Caused by: java.lang.RuntimeException: Can not set remoting client Marshaller when not connected. | at org.jboss.remoting.Client.setMarshaller(Client.java:1343) | at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:163) | Is there anything i'm missing? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012708#4012708 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012708 From do-not-reply at jboss.com Wed Feb 7 22:57:44 2007 From: do-not-reply at jboss.com (studyit) Date: Wed, 7 Feb 2007 22:57:44 -0500 (EST) Subject: [jbossws-users] [JBossWS] - How to binding web service to jndi? Message-ID: <6799465.1170907064272.JavaMail.jboss@colo-br-02.atl.jboss.com> I use web service in session bean(ejb3.0) by jsr181,Packing into bean.jar,and use application-client.xml ,jboss-client.xml in client,Packing into client.jar,Together to release bean.jar and client jar to jboss4.05GA. when testing call endpoint method,Dished out exception: javax.naming.NamingException: Could not dereference object [Root exception is org.jboss.ws.WSException: Cannot obtain client config: Standard Client] at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1150) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:705) at org.jboss.naming.client.java.javaURLContextFactory$EncContextProxy.invoke(javaURLContextFactory.java:135) at $Proxy1.lookup(Unknown Source) at javax.naming.InitialContext.lookup(InitialContext.java:351) at test.JNDIClient.main(JNDIClient.java:42) Caused by: org.jboss.ws.WSException: Cannot obtain client config: Standard Client at org.jboss.ws.metadata.ClientEndpointMetaData.getClientConfig(ClientEndpointMetaData.java:129) at org.jboss.ws.metadata.ClientEndpointMetaData.getHandlers(ClientEndpointMetaData.java:141) at org.jboss.ws.metadata.ClientEndpointMetaData.toString(ClientEndpointMetaData.java:183) at java.lang.String.valueOf(String.java:2577) at java.lang.StringBuilder.append(StringBuilder.java:116) at org.jboss.ws.metadata.ServiceMetaData.toString(ServiceMetaData.java:422) at java.lang.String.valueOf(String.java:2577) at java.lang.StringBuilder.append(StringBuilder.java:116) at org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:131) at org.jboss.ws.jaxrpc.ServiceImpl.(ServiceImpl.java:112) at org.jboss.ws.jaxrpc.ServiceObjectFactory.getObjectInstance(ServiceObjectFactory.java:181) at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304) at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1125) at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1142) How to solve this problem? why always suggested "Cannot obtain client config: Standard Client]",i have include "application-client.xml ","jboss-client.xml ",why?????? help me!!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012806#4012806 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012806 From do-not-reply at jboss.com Thu Feb 8 02:42:30 2007 From: do-not-reply at jboss.com (saxon747) Date: Thu, 8 Feb 2007 02:42:30 -0500 (EST) Subject: [jbossws-users] [JBossWS] - redeploying on jboss 4.0.4.GA Message-ID: <1525391.1170920550075.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all! I have an HTTP servlet, which reads the input on the doPost method and creates a SOAP Message from it, using the SAAJ API. It works correctly, but when the application (.war) is deployed again without restarting the jboss, the SOAP message creation fails with error: at org.jboss.util.xml.DOMUtils.hasChildElements(DOMUtils.java:324) at org.jboss.ws.soap.NodeImpl.(NodeImpl.java:88) at org.jboss.ws.soap.TextImpl.(TextImpl.java:38) at org.jboss.ws.soap.SOAPElementImpl.addTextNode(SOAPElementImpl.java:272) at org.jboss.ws.soap.MessageFactoryImpl.createSOAPEnvelope(MessageFactoryImpl.java:399) at org.jboss.ws.soap.MessageFactoryImpl.createMessageInternal(MessageFactoryImpl.java:227) at org.jboss.ws.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:157) The code is something like this: | protected void doPost(HttpServletRequest request, HttpServletResponse response) | throws ServletException, IOException { | SOAPMessage message = MessageFactory.newInstance().createMessage(null, request.getInputStream()); | ... | } | When I restart jboss, it works correctly. This problem occours only when I use java 1.4. On java 1.5 the application works correctly even after redeploying. Please help! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012881#4012881 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012881 From do-not-reply at jboss.com Thu Feb 8 07:20:57 2007 From: do-not-reply at jboss.com (MmarcoM) Date: Thu, 8 Feb 2007 07:20:57 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Error with WSTools / JDK 1.4 Message-ID: <17956617.1170937257784.JavaMail.jboss@colo-br-02.atl.jboss.com> hi all, i have a project that uses wstools to generate wsdl files etc for my EJB exposed as webservices. I am using jboss-4.0.5GA, and was using jdk 1.5 now, for various reasons i had to move back to JDK 1.4, and now when i run wstools (via maven) with following ant task | | | | | | | | | | | | | | | | | | | | | | --> | | | | | | | | i receive the following exception : | [ERROR] FATAL ERROR | [INFO] ------------------------------------------------------------------------ | [INFO] org/jboss/ws/tools/ant/wstools (Unsupported major.minor version 49.0) | [INFO] ------------------------------------------------------------------------ | [INFO] Trace | java.lang.UnsupportedClassVersionError: org/jboss/ws/tools/ant/wstools (Unsuppor | ted major.minor version 49.0) | at java.lang.ClassLoader.defineClass0(Native Method) | at java.lang.ClassLoader.defineClass(ClassLoader.java:539) | at org.apache.tools.ant.loader.AntClassLoader2.defineClassFromData(AntCl | assLoader2.java:76) | at org.apache.tools.ant.AntClassLoader.getClassFromStream(AntClassLoader | .java:1090) | at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoa | der.java:1154) | at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:110 | 7) | at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:977 | ) | at java.lang.ClassLoader.loadClass(ClassLoader.java:235) | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) | at java.lang.Class.forName0(Native Method) | at java.lang.Class.forName(Class.java:219) | at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:457) | | at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:183) | at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) | at org.apache.tools.ant.Task.perform(Task.java:364) | at org.apache.tools.ant.Target.execute(Target.java:341) | at org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractA | ntMojo.java:99) | at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:82) | | at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi | nManager.java:412) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa | ultLifecycleExecutor.java:534) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi | fecycle(DefaultLifecycleExecutor.java:475) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau | ltLifecycleExecutor.java:454) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan | dleFailures(DefaultLifecycleExecutor.java:306) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen | ts(DefaultLifecycleExecutor.java:273) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi | fecycleExecutor.java:140) | at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) | at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) | at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. | java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces | sorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) | at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) | at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) | | at org.codehaus.classworlds.Launcher.main(Launcher.java:375) | Anyone could tell me how can i make it work with jdk 1.4? thanks in advance and regards Marco View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012992#4012992 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012992 From do-not-reply at jboss.com Thu Feb 8 07:37:46 2007 From: do-not-reply at jboss.com (steinarruneEriksen) Date: Thu, 8 Feb 2007 07:37:46 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Sending XML doc as String parameter into WebService Message-ID: <27437213.1170938266227.JavaMail.jboss@colo-br-02.atl.jboss.com> I have implemented JBossWS for EJB 2.1 on JBoss 4.0.5GA, and a simple Session Bean with a SOAP interface like the following boolean inputMessage(String xmlMessage); I thought I could get the XML sent as a simple String, but the SOAP server fails because it tries to validate the incoming String as an XML and fail to find metadata for the namespace + type in the inner String/Xml. ANy way to avoid the JBossWS Service in trying to interpret this and simply transfer the XML as a String? ERROR [org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper] SOAP request exception javax.xml.rpc.soap.SOAPFaultException: Endpoint {http://myapp.webservices}SapConnectionEndpointPort does not contain operation meta data for: View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013004#4013004 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013004 From do-not-reply at jboss.com Thu Feb 8 08:10:03 2007 From: do-not-reply at jboss.com (tibocu) Date: Thu, 8 Feb 2007 08:10:03 -0500 (EST) Subject: [jbossws-users] [JBossWS] - [JBossWS 1.0.4/wstool] JAX-RPC does not allow collection typ Message-ID: <33374815.1170940203830.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I run wstool to generate the wsdl and mapping file. A web service method returns a Serializable object which contain relationship with other objects: List getXxxxx() void setXxxx(List l) wstool fail to map the object graph. Is there is any way to bypass this limitation ? Tks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013013#4013013 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013013 From do-not-reply at jboss.com Thu Feb 8 11:27:59 2007 From: do-not-reply at jboss.com (kcp) Date: Thu, 8 Feb 2007 11:27:59 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Error with WSTools / JDK 1.4 Message-ID: <26301980.1170952079753.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, the error message "Unsupported major.minor version 49.0" indicated that you are running code that was compiled with java1.5 in a java1.4 jvm. I assume that if you compile your Jboss again with java1.4 it should work. Regards Charly View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013112#4013112 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013112 From do-not-reply at jboss.com Thu Feb 8 11:30:58 2007 From: do-not-reply at jboss.com (MmarcoM) Date: Thu, 8 Feb 2007 11:30:58 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Error with WSTools / JDK 1.4 Message-ID: <25620154.1170952258032.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Charly, i see.. i have downloaded jboss 4.0.5, probably it was built using java5... thanx and regards marco View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013114#4013114 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013114 From do-not-reply at jboss.com Thu Feb 8 11:58:51 2007 From: do-not-reply at jboss.com (anusanj) Date: Thu, 8 Feb 2007 11:58:51 -0500 (EST) Subject: [jbossws-users] [JBossWS] - org.jboss.ws.WSException: Unsupported schemaLocation: Message-ID: <23595421.1170953931228.JavaMail.jboss@colo-br-02.atl.jboss.com> | | | | | | | | Consuming web service. I am trying to run wstools to get client side artifacts. but i keep running into this exception Exception in thread "main" org.jboss.ws.WSException: Unsupported schemaLocation: egquery.xsd at org.jboss.ws.metadata.wsdl.WSDL11Reader.getLocationURL(WSDL11Reader.j ava:417) at org.jboss.ws.metadata.wsdl.WSDL11Reader.handleSchemaImports(WSDL11Rea der.java:371) at org.jboss.ws.metadata.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Re ader.java:349) at org.jboss.ws.metadata.wsdl.WSDL11Reader.processTypes(WSDL11Reader.jav a:205) at org.jboss.ws.metadata.wsdl.WSDL11Reader.processDefinition(WSDL11Reade r.java:118) at org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitio nsFactory.java:145) at org.jboss.ws.tools.WSDLToJava.convertWSDL2Java(WSDLToJava.java:110) at org.jboss.ws.tools.helpers.ToolsHelper.handleWSDLToJavaGeneration(Too lsHelper.java:322) at org.jboss.ws.tools.WSTools.process(WSTools.java:132) at org.jboss.ws.tools.WSTools.generate(WSTools.java:119) at org.jboss.ws.tools.WSTools.main(WSTools.java:61) Any help is appreciated, Thanks anu View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013135#4013135 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013135 From do-not-reply at jboss.com Thu Feb 8 12:05:20 2007 From: do-not-reply at jboss.com (RomeuFigueira) Date: Thu, 8 Feb 2007 12:05:20 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Sending XML doc as String parameter into WebService Message-ID: <28114519.1170954320225.JavaMail.jboss@colo-br-02.atl.jboss.com> A quick and dirty solution is to embed the xml in tags, like so: | ? | ]]> | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013137#4013137 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013137 From do-not-reply at jboss.com Fri Feb 9 05:16:06 2007 From: do-not-reply at jboss.com (rMikky) Date: Fri, 9 Feb 2007 05:16:06 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Security domain definition Message-ID: <12907513.1171016166414.JavaMail.jboss@colo-br-02.atl.jboss.com> How I can use my own security domain for EJB endpoint instead of java:/jaas/JBossWS defined in lofin-config.xml? I would like to use doman java:/jaas/mydomain. The problem is that all my EJBs are in my own security domain. The domain is defined in jboss.xml: | java:/jaas/mydomain | ........ | Also I have domain definition in login-config.xml : | | | | | (MyLoginModule extends AbstractServerLoginModule and creates my own Principal (My Principal) ) It worked ok under jBoss.NET and axis. But now I try to migrate to jBossWS and I do not understand how I have to define my security domain for EJB endpoint. I have error in my class MyLoginModule. It looks like that and is null while SOAP request. Should I define anything else? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013535#4013535 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013535 From do-not-reply at jboss.com Fri Feb 9 08:37:21 2007 From: do-not-reply at jboss.com (bertaa) Date: Fri, 9 Feb 2007 08:37:21 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WS-Security internal error when signing Message-ID: <31397170.1171028241547.JavaMail.jboss@colo-br-02.atl.jboss.com> It also happens with jdk1.5.0_10, any clue? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013612#4013612 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013612 From do-not-reply at jboss.com Fri Feb 9 10:09:10 2007 From: do-not-reply at jboss.com (eahumada) Date: Fri, 9 Feb 2007 10:09:10 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Deployment error - JBossWS with JBWS181HelloWorld Message-ID: <13343125.1171033750763.JavaMail.jboss@colo-br-02.atl.jboss.com> I have the same problem with JBoss 4.0.4 GA. I upgrate to JBoss 4.0.5 GA and the problem was fixed ! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013667#4013667 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013667 From do-not-reply at jboss.com Fri Feb 9 11:08:03 2007 From: do-not-reply at jboss.com (santhoshitha) Date: Fri, 9 Feb 2007 11:08:03 -0500 (EST) Subject: [jbossws-users] [JBossWS] - trouble using user defined classes and java.util classes in Message-ID: <8044920.1171037283130.JavaMail.jboss@colo-br-02.atl.jboss.com> i am trying to use jax-ws for my web service. i have to invoke a remote method that accepts a java.uitl.List(SecurityAttr is a user defined class) as one of the parameters. i would like guidance in this regard. 1) is it possible to use jax ws for this purpose? if so, how should the complex types and collection classes be serialised? 2) i dint find much guidance or tutorials in this regard. i would be really happy if i could be directed to some documents/samples. 3) as of now i have deployed the server side of the service and i try to connect using a jax rpc client. running wstools from the client, for wsdl to java generation, gives me a class called list along with the SEI and mapping files. i dont know how to use this. i am using the servicefactoryimpl class provided by jbossws to use the jaxrpc-mapping file, but the list class doesnt accept any parameters. hence if i connect from the client and try to pass a List, it doesnt help. Kindly guide me. Any help is much appreciated. Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013716#4013716 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013716 From do-not-reply at jboss.com Fri Feb 9 11:40:12 2007 From: do-not-reply at jboss.com (luan) Date: Fri, 9 Feb 2007 11:40:12 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Jboss WS configuration on JBoss 4.0.5 - Security excepti Message-ID: <10952120.1171039212430.JavaMail.jboss@colo-br-02.atl.jboss.com> By the way, I tried the same thing with jboss-4.0.4, there is no problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013748#4013748 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013748 From do-not-reply at jboss.com Fri Feb 9 12:29:07 2007 From: do-not-reply at jboss.com (luan) Date: Fri, 9 Feb 2007 12:29:07 -0500 (EST) Subject: [jbossws-users] [JBossWS] - jbossws-samples-1.0.4 build error: java.lang.NoSuchMethodErr Message-ID: <22736599.1171042147164.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, When I tried to compile one of the samples from jbossws-samples-1.0.4, I got BUILD FAILED java.lang.NoSuchMethodError: org.jboss.xb.binding.Unmarshaller.setSchemaValidation(Z)V..... I tried to copy the jboss-xml-binding.jar from XB CR6, CR7 and the one from jbossws-samples-1.0.4 to jboss-4.0.4/lib and jboss-4.0.4/client directory as instructed when I installed jbossws-1.0.4, but all having the same problem (according to JIRA bug fix, CR6 should fix the problem). By the way, I have jboss-4.0.4 AS. Anybody made the samples work? Any help would be greatly appreciated. Luan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013778#4013778 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013778 From do-not-reply at jboss.com Fri Feb 9 12:47:53 2007 From: do-not-reply at jboss.com (redcat63) Date: Fri, 9 Feb 2007 12:47:53 -0500 (EST) Subject: [jbossws-users] [JBossWS] - jbossws-samples-1.0.4.GA ws-security sign - Unprocessed 'mus Message-ID: <21157848.1171043273394.JavaMail.jboss@colo-br-02.atl.jboss.com> I have been trying to get webservices security to work for a couple of days but cant solve a bug. I have now run the jbossws-samples-1.0.4.GA and get the same issue. The issue is that the server can't process the signature and gives the following error: 2007-02-09 17:06:50,732 ERROR [org.jboss.ws.common.CommonClient:329] Call invocation failed | javax.xml.rpc.soap.SOAPFaultException: Unprocessed 'mustUnderstand' header element: {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security | at org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.getSOAPFaultException(SOAPFaultExceptionHelper.java:100) | at org.jboss.ws.common.CommonSOAPBinding.unbindResponseMessage(CommonSOAPBinding.java:574) | at org.jboss.ws.common.CommonClient.invoke(CommonClient.java:319) | at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:560) | at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:338) | at org.jboss.ws.jaxrpc.CallProxy.invoke(CallProxy.java:148) | at $Proxy0.echoUserType(Unknown Source) | at org.jboss.test.ws.jaxrpc.samples.wssecurity.SimpleSignTestCase.testEndpoint(SimpleSignTestCase.java:69) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at junit.framework.TestCase.runTest(TestCase.java:154) | at junit.framework.TestCase.runBare(TestCase.java:127) | at junit.framework.TestResult$1.protect(TestResult.java:106) | at junit.framework.TestResult.runProtected(TestResult.java:124) | at junit.framework.TestResult.run(TestResult.java:109) | at junit.framework.TestCase.run(TestCase.java:118) | at junit.framework.TestSuite.runTest(TestSuite.java:208) | at junit.framework.TestSuite.run(TestSuite.java:203) | at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) | at junit.extensions.TestSetup$1.protect(TestSetup.java:19) | at junit.framework.TestResult.runProtected(TestResult.java:124) | at junit.extensions.TestSetup.run(TestSetup.java:23) | at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297) | at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672) | at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567) I am running jboss-4.0.4.GA, the server side output is: | 2007-02-09 17:06:50,669 DEBUG [javax.xml.rpc.soap.SOAPFaultException] new SOAPFaultException [code={http://schemas.xmlsoap.org/soap/envelope/}MustUnderstand,string=Unprocessed 'mustUnderstand' header element: {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security,actor=null,detail=null] | 2007-02-09 17:06:50,669 ERROR [org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper] SOAP request exception | javax.xml.rpc.soap.SOAPFaultException: Unprocessed 'mustUnderstand' header element: {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security | at org.jboss.ws.handler.HandlerChainBaseImpl.checkMustUnderstand(HandlerChainBaseImpl.java:510) | at org.jboss.ws.server.ServiceEndpointInvoker.callRequestHandlerChain(ServiceEndpointInvoker.java:215) | at org.jboss.ws.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:104) | at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:234) | at org.jboss.ws.server.ServiceEndpointServlet.doPost(ServiceEndpointServlet.java:120) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) The only changes I have made to the samples are that I have commented out the deploy and undeploy code in the JBossTestDeployer class as I was geting another error when deploying, so I copy the files across manually. I have made the test class SimpleSignTestCase I have forced it to set up the port without using contexts (as this was giving a classcastexception). I have also commented out all of the other tests in ant. If someone can tell me what is going wrong it would be good as I can then get my code working that has the same problem. If anyone can tell me why I get the classcastexception when I use jndi with the sign example but not witht the encrypt example that would be greate. Exception: 2007-02-09 17:45:16,867 ERROR [org.jboss.ws.jaxrpc.ServiceObjectFactory:269] Cannot create service | java.lang.ClassCastException: org.jboss.webservice.metadata.serviceref.ServiceRefMetaData | at org.jboss.ws.jaxrpc.ServiceObjectFactory.getObjectInstance(ServiceObjectFactory.java:122) | at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304) | at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1125) | at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1142) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:705) | at org.jboss.naming.client.java.javaURLContextFactory$EncContextProxy.invoke(javaURLContextFactory.java:135) | at $Proxy0.lookup(Unknown Source) | at javax.naming.InitialContext.lookup(InitialContext.java:351) | at org.jboss.test.ws.jaxrpc.samples.wssecurity.SimpleSignTestCase.getPort(SimpleSignTestCase.java:78) | at org.jboss.test.ws.jaxrpc.samples.wssecurity.SimpleSignTestCase.testEndpoint(SimpleSignTestCase.java:66) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at junit.framework.TestCase.runTest(TestCase.java:154) | at junit.framework.TestCase.runBare(TestCase.java:127) | at junit.framework.TestResult$1.protect(TestResult.java:106) | at junit.framework.TestResult.runProtected(TestResult.java:124) | at junit.framework.TestResult.run(TestResult.java:109) | at junit.framework.TestCase.run(TestCase.java:118) | at junit.framework.TestSuite.runTest(TestSuite.java:208) | at junit.framework.TestSuite.run(TestSuite.java:203) | at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) | at junit.extensions.TestSetup$1.protect(TestSetup.java:19) | at junit.framework.TestResult.runProtected(TestResult.java:124) | at junit.extensions.TestSetup.run(TestSetup.java:23) | at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297) | at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672) | at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013783#4013783 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013783 From do-not-reply at jboss.com Fri Feb 9 13:26:47 2007 From: do-not-reply at jboss.com (PhFery) Date: Fri, 9 Feb 2007 13:26:47 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Disable /jbossws/services page Message-ID: <22226927.1171045607013.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanx Thomas ;-) Philippe View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013801#4013801 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013801 From do-not-reply at jboss.com Fri Feb 9 13:50:34 2007 From: do-not-reply at jboss.com (valjjou) Date: Fri, 9 Feb 2007 13:50:34 -0500 (EST) Subject: [jbossws-users] [JBossWS] - JBWS181HelloWorld - Need help to call this WS... Message-ID: <28265040.1171047034126.JavaMail.jboss@colo-br-02.atl.jboss.com> Can someone provide me with a Java example for the client's code to call this WS ? My WS is deployed on JBoss but i don't know how to call this WS... Thank for your help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013818#4013818 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013818 From do-not-reply at jboss.com Fri Feb 9 15:52:15 2007 From: do-not-reply at jboss.com (volna) Date: Fri, 9 Feb 2007 15:52:15 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Jboss-5.0.0.Beta1 JSR-181 Endpoint ClassCastException Message-ID: <8224252.1171054335339.JavaMail.jboss@colo-br-02.atl.jboss.com> I am trying to deploy a WebService using JSR-181 with Jboss-5.0.0.Beta1. If I have understood correctly this includes support for JBossWS-2.0 package testService; @WebService( serviceName="TestService", name="Testing", targetNamespace="urn:Testing" ) @SOAPBinding( style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle=SOAPBinding.ParameterStyle.WRAPPED) public class TestUI { @WebMethod() public String Test(String tString) { return "Hello " + tString; } } I have the following web.xml file TestService testService.TestUI TestService /testService I am getting the following error javax.servlet.ServletException: Class testService.TestUI is not a Servlet org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174) org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:86) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:212) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:818) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:624) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445) java.lang.Thread.run(Thread.java:595) root cause java.lang.ClassCastException: testService.TestUI org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174) org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:86) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:212) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:818) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:624) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445) java.lang.Thread.run(Thread.java:595) Any pointers to help me out are appreciated View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013891#4013891 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013891 From do-not-reply at jboss.com Sun Feb 11 02:02:48 2007 From: do-not-reply at jboss.com (santhoshitha) Date: Sun, 11 Feb 2007 02:02:48 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: trouble using user defined classes and java.util classes Message-ID: <2537351.1171177368175.JavaMail.jboss@colo-br-02.atl.jboss.com> could some insider from jbossws development give me any idea please? i am a beginner and am very confused. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4014407#4014407 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4014407 From do-not-reply at jboss.com Mon Feb 12 08:22:52 2007 From: do-not-reply at jboss.com (dwin) Date: Mon, 12 Feb 2007 08:22:52 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Jboss-5.0.0.Beta1 JSR-181 Endpoint ClassCastException Message-ID: <15693278.1171286572197.JavaMail.jboss@colo-br-02.atl.jboss.com> your testUI does not extend HTTPServlet or implement the servlet interface itself. Your webservice will not deploy regardless though, you need to add the annotation @stateless and not make it a servlet but rather a POJO View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4014999#4014999 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4014999 From do-not-reply at jboss.com Mon Feb 12 09:00:54 2007 From: do-not-reply at jboss.com (wuthrich) Date: Mon, 12 Feb 2007 09:00:54 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Deploying JDeveloper/Oracle webservices on JBossWS Message-ID: <23706566.1171288854577.JavaMail.jboss@colo-br-02.atl.jboss.com> How fix the classpath of wsdl4j??? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015022#4015022 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015022 From do-not-reply at jboss.com Mon Feb 12 10:06:22 2007 From: do-not-reply at jboss.com (crni) Date: Mon, 12 Feb 2007 10:06:22 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Sun jwsdp generate stub for JBoss Message-ID: <10655812.1171292782453.JavaMail.jboss@colo-br-02.atl.jboss.com> akirainoue, I've got exactly the same problem, running on JBoss 5.0.0.Beta. This answer seems to suggest, you could use jboss client stack instead of jwsdp: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=76440 Did you find any other solution to the problem? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015083#4015083 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015083 From do-not-reply at jboss.com Mon Feb 12 10:13:17 2007 From: do-not-reply at jboss.com (jiwils) Date: Mon, 12 Feb 2007 10:13:17 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Sun jwsdp generate stub for JBoss Message-ID: <29939537.1171293197495.JavaMail.jboss@colo-br-02.atl.jboss.com> Depending on how your client is packaged (EAR, JAR, WAR), you could scope your deployment to prevent this, but as mentioned, the best alternative would be to use JBossWS instead. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015090#4015090 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015090 From do-not-reply at jboss.com Mon Feb 12 10:23:30 2007 From: do-not-reply at jboss.com (volna) Date: Mon, 12 Feb 2007 10:23:30 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Jboss-5.0.0.Beta1 JSR-181 Endpoint ClassCastException Message-ID: <26251252.1171293810871.JavaMail.jboss@colo-br-02.atl.jboss.com> I am a bit confused. I thought the @stateless annotation is to make it a JSR-181 EJB rather than a POJO. I am hoping to deploy this as a POJO. In the JBossWS User guide (chapter 4 - Developing WebService Endpoints) http://labs.jboss.com/portal/jbossws/user-guide/en/html/endpoints.html there is no mention about extending HTTPServlet or implementing the servlet interface (4.2.1. JSR-181 POJO Endpoint). Also no mention about @Stateless. Can you elaborate on what you have mentioned or point me to some reference where I can get more information? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015099#4015099 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015099 From do-not-reply at jboss.com Mon Feb 12 11:31:56 2007 From: do-not-reply at jboss.com (dwin) Date: Mon, 12 Feb 2007 11:31:56 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Jboss-5.0.0.Beta1 JSR-181 Endpoint ClassCastException Message-ID: <19235253.1171297916320.JavaMail.jboss@colo-br-02.atl.jboss.com> That guide is for JAX-RPC, JBossWS 1.0.x, this is a more relevant guide ( http://tddell.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide The JBossWS version you're using is JBoss 2.x (JAX-WS), alot of it is not applicable (although some of it is though) When I meant POJO I meant as in stateless EJB POJO in your web.xml, you're mapping your webservice as a servlet yet your servlet class does not extend GenericServlet or implement Servlet. Thus, this is more of a servlet error moreso than a web service error. basically, forget everything and do this (don't put it a war, for now...since this is a simple helloworld) | package testService; | @Stateless | @WebService( serviceName="TestService", name="Testing", | targetNamespace="urn:Testing" ) | @SOAPBinding( style = SOAPBinding.Style.DOCUMENT, | use = SOAPBinding.Use.LITERAL, | parameterStyle=SOAPBinding.ParameterStyle.WRAPPED) | public class TestUI { | @WebMethod() | public String Test(String tString) { | return "Hello " + tString; | } | } | As opposed to putting it in a war, I would recommend first putting it in a jar byitself. Just drop the jar in the deploy directory and it should deploy. After the webservice runtime picks up the webservice, simply go to http://localhost:8080/jbossws/services you should see the wsdl for your test service there View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015173#4015173 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015173 From do-not-reply at jboss.com Mon Feb 12 11:38:10 2007 From: do-not-reply at jboss.com (dannox02) Date: Mon, 12 Feb 2007 11:38:10 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Generate wsdl from JSR 181 POJO Message-ID: <29945305.1171298290326.JavaMail.jboss@colo-br-02.atl.jboss.com> Is it possible to generate the WSDL file from a JSR-181 POJO endpoint using wstools or some other tool? I was able to do this using Suns wsgen tool, but when I use the client based on that generated WSDL I get a org.jboss.ws.jaxb.UnmarshalException thrown from the server. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015179#4015179 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015179 From do-not-reply at jboss.com Mon Feb 12 12:51:59 2007 From: do-not-reply at jboss.com (volna) Date: Mon, 12 Feb 2007 12:51:59 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Jboss-5.0.0.Beta1 JSR-181 Endpoint ClassCastException Message-ID: <20500886.1171302719214.JavaMail.jboss@colo-br-02.atl.jboss.com> Looks like the webservice is picked up. anonymous wrote : | 00:18:35,814 INFO [MCKernelAbstraction] installing bean: jboss.j2ee:jar=testService.jar,name=TestUI,service=EJB3 with dependencies: | 00:18:36,304 INFO [EJBContainer] STARTED EJB: testService.TestUI ejbName: TestUI | 00:18:36,445 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080 | 00:18:36,506 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009 | 00:18:36,536 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.Beta1 (build: CVSTag=https://svn.jboss.org/repos/jbossas/tags/JBoss_5_0_0_Beta1 date=200611191849)] Started in 53s:983ms but when I go to http://localhost:8080/jbossws/services I only get Registered Service Endpoints ServiceEndpointID ServiceEndpointAddress Thank you for all the clarifications View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015243#4015243 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015243 From do-not-reply at jboss.com Mon Feb 12 13:20:56 2007 From: do-not-reply at jboss.com (dwin) Date: Mon, 12 Feb 2007 13:20:56 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Jboss-5.0.0.Beta1 JSR-181 Endpoint ClassCastException Message-ID: <21470117.1171304456798.JavaMail.jboss@colo-br-02.atl.jboss.com> you may want to grab the latest JBossWS 2.0 from SVN then, the WSDL should show up View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015278#4015278 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015278 From do-not-reply at jboss.com Mon Feb 12 15:00:58 2007 From: do-not-reply at jboss.com (avembakam) Date: Mon, 12 Feb 2007 15:00:58 -0500 (EST) Subject: [jbossws-users] [JBossWS] - java.util.Map using wstools and generating wsdl Message-ID: <25159343.1171310458224.JavaMail.jboss@colo-br-02.atl.jboss.com> This is my namespace configuraions. The wsdl that gets generated has "Map" definiton as which is not the same when using axis. How do I correcly map java.util.Map View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015360#4015360 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015360 From do-not-reply at jboss.com Mon Feb 12 15:01:50 2007 From: do-not-reply at jboss.com (avembakam) Date: Mon, 12 Feb 2007 15:01:50 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: java.util.Map using wstools and generating wsdl Message-ID: <29094461.1171310510935.JavaMail.jboss@colo-br-02.atl.jboss.com> "avembakam" wrote : | | This is my namespace configuraions. | | The wsdl that gets generated has "Map" definiton as | | | | | | | | which is not the same when using axis. How do I correcly map java.util.Map View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015362#4015362 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015362 From do-not-reply at jboss.com Mon Feb 12 15:06:48 2007 From: do-not-reply at jboss.com (avembakam) Date: Mon, 12 Feb 2007 15:06:48 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: java.util.Map using wstools and generating wsdl Message-ID: <4411281.1171310808373.JavaMail.jboss@colo-br-02.atl.jboss.com> < complexType name='Map' > < sequence > < element name='empty' type='boolean' / > < /sequence > < /complexType > This is the part of wsdl for the map. How do I correctly use java.util.Map View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015365#4015365 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015365 From do-not-reply at jboss.com Mon Feb 12 17:55:24 2007 From: do-not-reply at jboss.com (russray) Date: Mon, 12 Feb 2007 17:55:24 -0500 (EST) Subject: [jbossws-users] [JBossWS] - JBoss 4.0.5--JAX-RPC has Issues? Message-ID: <3707380.1171320924174.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a simple web service using JAX-RPC. I have setup the service to make the web server think it is dealing with a servlet. When I use Eclipse's Web Service Explored for testing the service, I receive this error on the server: | [13:29:42,196] [ERROR] [[WebServiceImpl]] [Servlet.service() for servlet WebServiceImpl threw exception] | java.lang.ExceptionInInitializerError | at java.lang.Class.forName0(Native Method) | at java.lang.Class.forName(Class.java:164) | at org.jboss.ws.soap.attachment.ContentHandlerRegistry.(ContentHandlerRegistry.java:51) | at org.jboss.ws.xop.XOPUnmarshallerImpl.(XOPUnmarshallerImpl.java:59) | at org.jboss.ws.jaxrpc.encoding.SimpleDeserializer.deserialize(SimpleDeserializer.java:52) | at org.jboss.ws.soap.SOAPContentElement.getObjectValue(SOAPContentElement.java:235) | at org.jboss.ws.binding.EndpointInvocation.transformPayloadValue(EndpointInvocation.java:233) | at org.jboss.ws.binding.EndpointInvocation.getRequestParamValue(EndpointInvocation.java:103) | at org.jboss.ws.binding.EndpointInvocation.getRequestPayload(EndpointInvocation.java:117) | at org.jboss.ws.server.ServiceEndpointInvokerJSE.invokeServiceEndpoint(ServiceEndpointInvokerJSE.java:94) | at org.jboss.ws.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:115) | at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:209) | at org.jboss.ws.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:355) | at org.jboss.ws.server.StandardEndpointServlet.doPost(StandardEndpointServlet.java:115) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at org.jboss.ws.server.StandardEndpointServlet.service(StandardEndpointServlet.java:76) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) | at org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:495) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Caused by: java.lang.IllegalArgumentException: failed to parse:image/bmp, image/x-bmp, image/x-windows-bmp | at java.awt.datatransfer.DataFlavor.(DataFlavor.java:292) | at javax.activation.ActivationDataFlavor.(ActivationDataFlavor.java:81) | at org.jboss.ws.soap.attachment.ImageDataContentHandler.buildFlavors(ImageDataContentHandler.java:77) | at org.jboss.ws.soap.attachment.ImageDataContentHandler.(ImageDataContentHandler.java:63) | ... 37 more | Any help in sheding some light on this issue would be greatly appreciated. We have several people effected by this while one indidividual is not. He's version of JBoss 4.0.5 is working without an issue although we have the same files and configurations. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015459#4015459 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015459 From do-not-reply at jboss.com Mon Feb 12 18:14:42 2007 From: do-not-reply at jboss.com (chris.laprun@jboss.com) Date: Mon, 12 Feb 2007 18:14:42 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Cookies, MIME headers and 1.0.4? Message-ID: <28887901.1171322082780.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a RPC handler that intercepts the MIME headers to extract Set-Cookie so that my code can deal with cookies afterwards. This used to work until 1.0.4.GA. Any idea why it doesn't anymore? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015469#4015469 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015469 From do-not-reply at jboss.com Tue Feb 13 03:15:31 2007 From: do-not-reply at jboss.com (huangxianqing) Date: Tue, 13 Feb 2007 03:15:31 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Security domain definition Message-ID: <18307681.1171354531088.JavaMail.jboss@colo-br-02.atl.jboss.com> you can write the flow after the java:/dataDS select Password from Users where UserId = ? dataDS is the datasource you define . Users is table you define in your database ,because the application checks the user name and password. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015657#4015657 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015657 From do-not-reply at jboss.com Tue Feb 13 03:40:47 2007 From: do-not-reply at jboss.com (huangxianqing) Date: Tue, 13 Feb 2007 03:40:47 -0500 (EST) Subject: [jbossws-users] [JBossWS] - how to show the menu by role Message-ID: <28314665.1171356047973.JavaMail.jboss@colo-br-02.atl.jboss.com> I config the file in jboss " login-config.xml" and config then WEB-INF/web.xml for example: " systemAdmin systemAdmin /index1.html /index2.html .... orderOperation orderAdmin /index3.html /index4.html .... I can login and access role by the different user name,but I want to show the different menu by different user logined. for example : When system administrator login ,the application shows the index1.html , index2.html and hiddens index3.html , index4.html. When order administrator login ,the application shows the index3.html ,index4.html and hiddens index3.html , index4.html. How can I do ? thanks:) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015664#4015664 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015664 From do-not-reply at jboss.com Tue Feb 13 05:16:46 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Tue, 13 Feb 2007 05:16:46 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Dead doc link for 4.0.5 webservices Message-ID: <24472272.1171361806460.JavaMail.jboss@colo-br-02.atl.jboss.com> Should be fixed in jboss-4.2.x View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015696#4015696 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015696 From do-not-reply at jboss.com Tue Feb 13 08:03:39 2007 From: do-not-reply at jboss.com (liudan2005) Date: Tue, 13 Feb 2007 08:03:39 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Can not set remoting client Marshaller when not connecte Message-ID: <4664925.1171371819434.JavaMail.jboss@colo-br-02.atl.jboss.com> anyone knows? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015748#4015748 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015748 From do-not-reply at jboss.com Tue Feb 13 08:14:03 2007 From: do-not-reply at jboss.com (santhoshitha) Date: Tue, 13 Feb 2007 08:14:03 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: java.util.Map using wstools and generating wsdl Message-ID: <33467763.1171372443426.JavaMail.jboss@colo-br-02.atl.jboss.com> this is similar to my post yesterday. it would be nice if someone could tell us how to use jaxws to allow usage of complex types and java collections together. if not an insight into how to handle the wsdl datatypes for complex types and collection classes would also help. its sad that beginner's questions are mostly unanswered :( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015752#4015752 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015752 From do-not-reply at jboss.com Tue Feb 13 11:11:18 2007 From: do-not-reply at jboss.com (mayilazhagan) Date: Tue, 13 Feb 2007 11:11:18 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Null pointer exception when using JBOSSWS 1.0.4 GA vesio Message-ID: <18357473.1171383078030.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi pls look at this url http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993650 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015850#4015850 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015850 From do-not-reply at jboss.com Tue Feb 13 11:12:39 2007 From: do-not-reply at jboss.com (volna) Date: Tue, 13 Feb 2007 11:12:39 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Jboss-5.0.0.Beta1 JSR-181 Endpoint ClassCastException Message-ID: <6575668.1171383159161.JavaMail.jboss@colo-br-02.atl.jboss.com> Do you want me to checkout trunk or any particular branch such as jbossws-2.0.0.CR2? Also do I need to update my JBoss-5.0.0.Beta1 to a different branch. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015853#4015853 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015853 From do-not-reply at jboss.com Tue Feb 13 14:14:56 2007 From: do-not-reply at jboss.com (ggifford) Date: Tue, 13 Feb 2007 14:14:56 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Java 1.6 sdk breaks JBoss web services Message-ID: <9539898.1171394096525.JavaMail.jboss@colo-br-02.atl.jboss.com> After installing Java 1.6, I get exceptions in JBoss when web services are invoked by the client. They worked fine in Java 1.5. Based on a previous entry, I fixed the SOAPFaultException with setProperty... by copying jboss-saaj.jar and jboss.jaxrpc.jar into /lib/endorsed. But now I get NoClassDefFoundError: org/jboss/logging/Logger... I am stuck. Is there any way to fix this? I need to get web services working with Java 1.6. Thank you, Glenn View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015977#4015977 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015977 From do-not-reply at jboss.com Tue Feb 13 14:59:18 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Tue, 13 Feb 2007 14:59:18 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Java 1.6 sdk breaks JBoss web services Message-ID: <16951835.1171396758298.JavaMail.jboss@colo-br-02.atl.jboss.com> http://jira.jboss.org/jira/browse/JBWS-1518 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016013#4016013 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016013 From do-not-reply at jboss.com Tue Feb 13 17:31:08 2007 From: do-not-reply at jboss.com (Timmytool) Date: Tue, 13 Feb 2007 17:31:08 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Java 1.6 sdk breaks JBoss web services Message-ID: <2434972.1171405868195.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks Thomas, I've been struggling with this for the last couple days too. Tim View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016071#4016071 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016071 From do-not-reply at jboss.com Wed Feb 14 01:38:02 2007 From: do-not-reply at jboss.com (santhoshitha) Date: Wed, 14 Feb 2007 01:38:02 -0500 (EST) Subject: [jbossws-users] [JBossWS] - using collections and complex types in web services Message-ID: <1277491.1171435082791.JavaMail.jboss@colo-br-02.atl.jboss.com> i am trying to use jax-ws for my web service. i have to invoke a remote method that accepts a java.uitl.List(SecurityAttr is a user defined class) as one of the parameters. i would like guidance in this regard. 1) is it possible to use jax ws for this purpose? if so, how should the complex types and collection classes be serialised? 2) i dint find much guidance or tutorials in this regard. i would be really happy if i could be directed to some documents/samples. 3) as of now i have deployed the server side of the service and i try to connect using a jax rpc client. running wstools from the client, for wsdl to java generation, gives me a class called list along with the SEI and mapping files. i dont know how to use this. i am using the servicefactoryimpl class provided by jbossws to use the jaxrpc-mapping file, but the list class doesnt accept any parameters. hence if i connect from the client and try to pass a List, it doesnt help. Kindly guide me. Any help is much appreciated. Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016215#4016215 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016215 From do-not-reply at jboss.com Wed Feb 14 06:43:16 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 14 Feb 2007 06:43:16 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Can not javax.xml.bind.JAXBContext in which jar file. Message-ID: <11642816.1171453396573.JavaMail.jboss@colo-br-02.atl.jboss.com> Delegation to JAXB is supported in jbossws-1.2.0, which should come out any day now. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016315#4016315 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016315 From do-not-reply at jboss.com Wed Feb 14 10:01:05 2007 From: do-not-reply at jboss.com (rlamie) Date: Wed, 14 Feb 2007 10:01:05 -0500 (EST) Subject: [jbossws-users] [JBossWS] - JBoss XB version Message-ID: <29443039.1171465265553.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Working with JBoss AS 4.0.5 & Jbossws 1.04, I'd like to know what is the compatible version of JBossXB? I can see jbossXB CR?, 1.0rc1, 1.0rc2, ... Thanx R View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016402#4016402 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016402 From do-not-reply at jboss.com Wed Feb 14 10:01:33 2007 From: do-not-reply at jboss.com (dwin) Date: Wed, 14 Feb 2007 10:01:33 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Jboss-5.0.0.Beta1 JSR-181 Endpoint ClassCastException Message-ID: <32465373.1171465293146.JavaMail.jboss@colo-br-02.atl.jboss.com> The JBoss guys can probably help you better than I can. But I'd imagine any later version than beta is acceptable. In fact, it could just be something is not configured properly. Last time I tried JBoss 5, nothing really worked for me so I am on 4.0.5 instead with JBossWS 1.2 Try going to localhost:8080/status and check to see if your hello world app actually started up. If all else fails, I guess you try checking out the latest build and building it yourself. But as stated before, the JBoss guys can help you better than I can . View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016403#4016403 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016403 From do-not-reply at jboss.com Wed Feb 14 10:02:32 2007 From: do-not-reply at jboss.com (dwin) Date: Wed, 14 Feb 2007 10:02:32 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Jboss-5.0.0.Beta1 JSR-181 Endpoint ClassCastException Message-ID: <28575777.1171465352198.JavaMail.jboss@colo-br-02.atl.jboss.com> To answer your question, check out 2.0 CR3 http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWSFAQBuildAndInstall View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016405#4016405 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016405 From do-not-reply at jboss.com Wed Feb 14 10:36:25 2007 From: do-not-reply at jboss.com (anusanj) Date: Wed, 14 Feb 2007 10:36:25 -0500 (EST) Subject: [jbossws-users] [JBossWS] - HELP Message-ID: <29179106.1171467385028.JavaMail.jboss@colo-br-02.atl.jboss.com> hi > I have a wsdl which imports schema in its types section .. the > schemalocation is specified to the wsdl ie schemaLocation="myschema.xsd" > > When I try to generate client side artifacts, I am running into the > unsupported schemalocation exception. > > I see that this issue has been asked in the forum before and was > entered as an issue in > Jira.(http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979028#3979028) > > I have posted my issue too on the forum > (http://www.jboss.com/index.html?module=bb&op=viewtopic&t=101063) > > here is the wstools-config.xml | > | > | > | > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | > xsi:schemaLocation="http://www.jboss.org/jbossws-tools | > http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd"> | > | > | location="http://eutils.ncbi.nlm.nih.gov/entrez/eutils/soap/eutils.wsdl"> | > | > | > | > | > | > I would really appreciate your help. Could you please let me know if > thee issue was resolved and whats the solution. > > Thanks > Anu View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016428#4016428 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016428 From do-not-reply at jboss.com Wed Feb 14 12:48:59 2007 From: do-not-reply at jboss.com (danireb) Date: Wed, 14 Feb 2007 12:48:59 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Problems deploying a web service with a Session Bean as Message-ID: <6901959.1171475339069.JavaMail.jboss@colo-br-02.atl.jboss.com> where i have to put webservices.xml?? i have a war that in the web-inf contains: lib/ wsdl/file.wsdl jaxrpc-mapping.xml jboss-web.xml web.xml webservices.xml Where to put each file ? I put webservices outside web-inf and deploy well but the webservices does not publish: http://localhost:8080/jbossws/services View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016494#4016494 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016494 From do-not-reply at jboss.com Wed Feb 14 13:08:11 2007 From: do-not-reply at jboss.com (volna) Date: Wed, 14 Feb 2007 13:08:11 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Jboss-5.0.0.Beta1 JSR-181 Endpoint ClassCastException Message-ID: <21792451.1171476491668.JavaMail.jboss@colo-br-02.atl.jboss.com> I downloaded jboss-4.0.5, with CR3. Worked like a charm. Thanks Will this work with ws 1.2 as well? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016505#4016505 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016505 From do-not-reply at jboss.com Wed Feb 14 13:17:49 2007 From: do-not-reply at jboss.com (rlamie) Date: Wed, 14 Feb 2007 13:17:49 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Can not javax.xml.bind.JAXBContext in which jar file. Message-ID: <11987437.1171477069469.JavaMail.jboss@colo-br-02.atl.jboss.com> Great news !! I turned to source repository to check out the latest snapshot of the 1.2 branch, and I'd like to know if binary snapshot exist as well ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016510#4016510 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016510 From do-not-reply at jboss.com Wed Feb 14 14:01:14 2007 From: do-not-reply at jboss.com (dwin) Date: Wed, 14 Feb 2007 14:01:14 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Jboss-5.0.0.Beta1 JSR-181 Endpoint ClassCastException Message-ID: <33310156.1171479674899.JavaMail.jboss@colo-br-02.atl.jboss.com> CR3 should be 1.2ws, whats the exact link that you downloaded from? Or did you checkout the code and build it yourself? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016542#4016542 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016542 From do-not-reply at jboss.com Wed Feb 14 14:01:34 2007 From: do-not-reply at jboss.com (dwin) Date: Wed, 14 Feb 2007 14:01:34 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Jboss-5.0.0.Beta1 JSR-181 Endpoint ClassCastException Message-ID: <22145164.1171479694245.JavaMail.jboss@colo-br-02.atl.jboss.com> CR3 should be 1.2ws, whats the exact link that you downloaded from? Or did you checkout the code and build it yourself? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016544#4016544 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016544 From do-not-reply at jboss.com Wed Feb 14 14:21:32 2007 From: do-not-reply at jboss.com (bocio) Date: Wed, 14 Feb 2007 14:21:32 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Bug? operations from doc-literal BARE to WRAPPED Message-ID: <26731543.1171480892727.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all, I'm completely stuck on this, please could you confirm thsi is a bug or where I'm wrong? I'm using JBossWS1.0.4 as client of an Axis2 service. Until now everything was ok, then... I removed two methods from a working POJO class exposed as WS and I started getting a ClassCastException at runtime on my JBoss JSR109 client side calling the remaining methods. Suddendly all my operations are seen as "doc-literal wrapped" For example: | public String getConfigurationFile () | { | return "abracadabra"; | } | This is the Exception trace: | 2007-02-14 15:17:04,896 TRACE [jbossws.SOAPMessage] Incoming Response SOAPMessage | | | | | abracadabra | | | | 2007-02-14 15:17:04,896 DEBUG [org.jboss.ws.common.CommonSOAPBinding] unbindResponseMessage: {http://neo.spectre.com}getConfigurationFile | 2007-02-14 15:17:04,912 DEBUG [org.jboss.ws.binding.EndpointInvocation] setReturnValue: org.jboss.ws.soap.SOAPBodyElementDoc | 2007-02-14 15:17:04,912 DEBUG [org.jboss.ws.binding.EndpointInvocation] getReturnValue | 2007-02-14 15:17:04,912 DEBUG [org.jboss.ws.soap.SOAPContentElement] getObjectValue [xmlType={http://neo.spectre.com/xsd}>getConfigurationFileResponse,javaType=class com.spectre.neo.GetConfigurationFileResponse] | 2007-02-14 15:17:04,912 DEBUG [org.jboss.ws.jbossxb.JBossXBDeserializer] deserialize: [xmlName={http://neo.spectre.com/xsd}getConfigurationFileResponse,xmlType={http://neo.spectre.com/xsd}>getConfigurationFileResponse] | 2007-02-14 15:17:04,928 DEBUG [org.jboss.ws.jbossxb.JBossXBDeserializer] deserialized: com.spectre.neo.GetConfigurationFileResponse | 2007-02-14 15:17:04,928 DEBUG [org.jboss.ws.soap.SOAPContentElement] objectValue: com.spectre.neo.GetConfigurationFileResponse | 2007-02-14 15:17:04,928 DEBUG [org.jboss.ws.binding.EndpointInvocation] transformPayloadValue: org.jboss.ws.soap.SOAPBodyElementDoc -> com.spectre.neo.GetConfigurationFileResponse | 2007-02-14 15:17:04,928 DEBUG [org.jboss.ws.jaxrpc.ParameterWrapping] unwrapResponseParameter: com.spectre.neo.GetConfigurationFileResponse | 2007-02-14 15:17:04,928 DEBUG [org.jboss.ws.jaxrpc.ParameterWrapping] get_return: java.lang.String | 2007-02-14 15:17:04,928 DEBUG [org.jboss.ws.soap.MessageContextAssociation] popMessageContext: org.jboss.ws.jaxrpc.handler.SOAPMessageContextJAXRPC at 1f7be7b | 2007-02-14 15:17:04,928 ERROR [com.spectre.web.neo.FrontController] Command execute exception | java.lang.ClassCastException: java.lang.String | at $Proxy56.getConfigurationFile(Unknown Source) | at com.spectre.web.neo.adapter.ConfigurationFileAdapter.getData(ConfigurationFileAdapter.java:35) | at com.spectre.web.neo.commands.FileConfigCommand.execute(FileConfigCommand.java:46) | at com.spectre.web.neo.FrontController.processRequest(FrontController.java:107) | at com.spectre.web.neo.FrontController.doGet(FrontController.java:66) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | I enabled JBossWS logs and I started digging... If I insert again the two methods in my POJO WS and I generate again WSDL and client artifacts, this is the happy day scenario: | 2007-02-14 15:56:45,897 TRACE [jbossws.SOAPMessage] Incoming Response SOAPMessage | | | | | abracadabra | | | | 2007-02-14 15:56:45,897 DEBUG [org.jboss.ws.common.CommonSOAPBinding] unbindResponseMessage: {http://neo.spectre.com}getConfigurationFile | 2007-02-14 15:56:45,897 DEBUG [org.jboss.ws.binding.EndpointInvocation] setReturnValue: org.jboss.ws.soap.SOAPBodyElementDoc | 2007-02-14 15:56:45,897 DEBUG [org.jboss.ws.binding.EndpointInvocation] getReturnValue | 2007-02-14 15:56:45,897 DEBUG [org.jboss.ws.soap.SOAPContentElement] getObjectValue [xmlType={http://neo.spectre.com/xsd}>getConfigurationFileResponse,javaType=class com.spectre.neo.GetConfigurationFileResponse] | 2007-02-14 15:56:45,897 DEBUG [org.jboss.ws.jbossxb.JBossXBDeserializer] deserialize: [xmlName={http://neo.spectre.com/xsd}getConfigurationFileResponse,xmlType={http://neo.spectre.com/xsd}>getConfigurationFileResponse] | 2007-02-14 15:56:45,912 DEBUG [org.jboss.ws.jbossxb.JBossXBDeserializer] deserialized: com.spectre.neo.GetConfigurationFileResponse | 2007-02-14 15:56:45,912 DEBUG [org.jboss.ws.soap.SOAPContentElement] objectValue: com.spectre.neo.GetConfigurationFileResponse | 2007-02-14 15:56:45,912 DEBUG [org.jboss.ws.binding.EndpointInvocation] transformPayloadValue: org.jboss.ws.soap.SOAPBodyElementDoc -> com.spectre.neo.GetConfigurationFileResponse | 2007-02-14 15:56:45,912 DEBUG [org.jboss.ws.soap.MessageContextAssociation] popMessageContext: org.jboss.ws.jaxrpc.handler.SOAPMessageContextJAXRPC at 126b165 | 2007-02-14 15:56:45,912 DEBUG [com.spectre.web.neo.adapter.ConfigurationFileAdapter] reply: abracadabra | I compared the two WSDL before and after the two method inserted and nothing is changed for the getConfigurationFile() method. (I can post them, if needed). Looking into the JBoss logs I discovered that on the correct scenario all operations are seen as doc-literal BARE | OperationMetaData: | qname={http://neo.spectre.com}getConfigurationFile | javaName=getConfigurationFile | style=document/literal/BARE | oneWay=false | soapAction=urn:getConfigurationFile | ReturnMetaData: | xmlName={http://neo.spectre.com/xsd}getConfigurationFileResponse | xmlType={http://neo.spectre.com/xsd}>getConfigurationFileResponse | javaType=com.spectre.neo.GetConfigurationFileResponse | mode=OUT | inHeader=false | wrappedVariables=[] | wrappedTypes=[] | wrappedElementNames=[] When I'm getting thw ClassCastException the same operation is seen as doc-literal WRAPPED: | OperationMetaData: | qname={http://neo.spectre.com}getConfigurationFile | javaName=getConfigurationFile | style=document/literal/WRAPPED | oneWay=false | soapAction=urn:getConfigurationFile | ReturnMetaData: | xmlName={http://neo.spectre.com/xsd}getConfigurationFileResponse | xmlType={http://neo.spectre.com/xsd}>getConfigurationFileResponse | javaType=com.spectre.neo.GetConfigurationFileResponse | mode=OUT | inHeader=false | wrappedVariables=[_return] | wrappedTypes=[] | wrappedElementNames=[] | thank you in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016547#4016547 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016547 From do-not-reply at jboss.com Wed Feb 14 14:22:19 2007 From: do-not-reply at jboss.com (volna) Date: Wed, 14 Feb 2007 14:22:19 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Jboss-5.0.0.Beta1 JSR-181 Endpoint ClassCastException Message-ID: <7316754.1171480939744.JavaMail.jboss@colo-br-02.atl.jboss.com> I checked out and built myself. I was refering to jbossws-1.2.CR2. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016548#4016548 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016548 From do-not-reply at jboss.com Wed Feb 14 14:43:30 2007 From: do-not-reply at jboss.com (dwin) Date: Wed, 14 Feb 2007 14:43:30 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Jboss-5.0.0.Beta1 JSR-181 Endpoint ClassCastException Message-ID: <15207008.1171482210276.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, ws1.2 is very similiar to 2.0...I am not even sure what the differences are. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016567#4016567 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016567 From do-not-reply at jboss.com Wed Feb 14 14:53:31 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 14 Feb 2007 14:53:31 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Type class generation in JBoss WS 1.0.4 Message-ID: <30819169.1171482811657.JavaMail.jboss@colo-br-02.atl.jboss.com> JAXB marshalling is JAX-WS functionallity, which is supported in jbossws-1.2.0 not before. jbossws-1.2.0 comes with its own toolset For a preview have a look at http://tddell.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide#Tools View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016573#4016573 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016573 From do-not-reply at jboss.com Wed Feb 14 14:56:09 2007 From: do-not-reply at jboss.com (meghanai_99) Date: Wed, 14 Feb 2007 14:56:09 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: schema import fails for relative schemaLocation Message-ID: <13441415.1171482969219.JavaMail.jboss@colo-br-02.atl.jboss.com> Is this issue fixed? I am deplying my BPEL created using jbpm to JBoss 4.0.5 and I get following exception - 11:44:16,567 ERROR [MainDeployer] Could not create deployment: file:/D:/jboss-4. 0.5.GA/server/default/deploy/studio.war java.lang.NullPointerException at org.jboss.ws.metadata.wsdl.WSDL11Reader.processOperationInput(WSDL11R eader.java:474) at org.jboss.ws.metadata.wsdl.WSDL11Reader.processPortTypeOperations(WSD L11Reader.java:460) at org.jboss.ws.metadata.wsdl.WSDL11Reader.processPortType(WSDL11Reader. java:446) at org.jboss.ws.metadata.wsdl.WSDL11Reader.processBinding(WSDL11Reader.j ava:728) at org.jboss.ws.metadata.wsdl.WSDL11Reader.processPort(WSDL11Reader.java :1071) at org.jboss.ws.metadata.wsdl.WSDL11Reader.processPorts(WSDL11Reader.jav a:1054) at org.jboss.ws.metadata.wsdl.WSDL11Reader.processServices(WSDL11Reader. java:1027) at org.jboss.ws.metadata.wsdl.WSDL11Reader.processDefinition(WSDL11Reade r.java:119) at org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitio nsFactory.java:145) Looking at the JIRA issue it seems someone has raised concern when imported schema is of same namespace as my schema in wsdl. I have exactly same situation - Please let me asap. I have to get this working by tomorrow. Thank you, Meghana View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016575#4016575 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016575 From do-not-reply at jboss.com Wed Feb 14 14:57:28 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 14 Feb 2007 14:57:28 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Enabling transport compression with JBossWS Message-ID: <9284049.1171483048572.JavaMail.jboss@colo-br-02.atl.jboss.com> jbossws endpoints are exposed as webapps on tomcat. A prerequisite for this kind of optimization would be to use remoting on the server as well. I even think there is a jira for it - contributions are welcome. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016576#4016576 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016576 From do-not-reply at jboss.com Wed Feb 14 14:59:57 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 14 Feb 2007 14:59:57 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: namespace for ComplexType from Java to WSDL Message-ID: <1667046.1171483197934.JavaMail.jboss@colo-br-02.atl.jboss.com> This should be fixed in jbossws-1.2.0. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016577#4016577 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016577 From do-not-reply at jboss.com Wed Feb 14 15:07:48 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 14 Feb 2007 15:07:48 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: xml encription and signature in JBossWS Message-ID: <1112840.1171483668736.JavaMail.jboss@colo-br-02.atl.jboss.com> The quote is 1.5 years old. WS-Securiy is supported since jbossws-1.0.0 (Apr-2006) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016581#4016581 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016581 From do-not-reply at jboss.com Wed Feb 14 15:08:10 2007 From: do-not-reply at jboss.com (bocio) Date: Wed, 14 Feb 2007 15:08:10 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Bug? operations from doc-literal BARE to WRAPPED Message-ID: <20898816.1171483690695.JavaMail.jboss@colo-br-02.atl.jboss.com> These are the two WSDL for the working example and not. As I can see the getConfigurationFile() method part is not changed. anonymous wrote : | NEOServizi | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the wsdl where I get the strange behaviour: anonymous wrote : | | NEOServizi | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016582#4016582 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016582 From do-not-reply at jboss.com Wed Feb 14 15:10:14 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 14 Feb 2007 15:10:14 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: NullCountedPointer exception from WSDL11Reader Message-ID: <14110514.1171483814708.JavaMail.jboss@colo-br-02.atl.jboss.com> Please check if this is fixed in jbossws-1.2.0, otherwise try wscompile View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016583#4016583 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016583 From do-not-reply at jboss.com Wed Feb 14 15:11:47 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 14 Feb 2007 15:11:47 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Using JBossWS 1.2 (JAX-WS) and SOAP 1.2 Message-ID: <3635787.1171483907555.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, SOAPBinding.SOAP12HTTP should work in jbossws-1.2.0. Have a look at jaxws/samples/exception View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016584#4016584 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016584 From do-not-reply at jboss.com Wed Feb 14 15:20:12 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 14 Feb 2007 15:20:12 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Way to tell wstools ant-task to not regenerate all wsdl Message-ID: <10636393.1171484412219.JavaMail.jboss@colo-br-02.atl.jboss.com> This is currently not supported, but should be easy enough to do. Have a go if you like. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016586#4016586 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016586 From do-not-reply at jboss.com Wed Feb 14 15:25:43 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 14 Feb 2007 15:25:43 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Problem with ServiceEndpointInterceptor Message-ID: <28850106.1171484743975.JavaMail.jboss@colo-br-02.atl.jboss.com> The axis based satck is dead. Can you reproduce this with jbossws? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016591#4016591 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016591 From do-not-reply at jboss.com Wed Feb 14 15:27:34 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 14 Feb 2007 15:27:34 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: wsdl url with http basic authentication Message-ID: <29337860.1171484854893.JavaMail.jboss@colo-br-02.atl.jboss.com> http://jira.jboss.org/jira/browse/JBWS-723 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016593#4016593 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016593 From do-not-reply at jboss.com Wed Feb 14 15:36:07 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 14 Feb 2007 15:36:07 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Wrong incomming SOAP not intercepted Message-ID: <3028370.1171485367229.JavaMail.jboss@colo-br-02.atl.jboss.com> This should be fixed in jbossws-1.2.0. JAXB validates these basic restrictions. Let me find out how jbossxb should treat these restrictions ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016603#4016603 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016603 From do-not-reply at jboss.com Wed Feb 14 15:38:05 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 14 Feb 2007 15:38:05 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Wrong incomming SOAP not intercepted Message-ID: <21925414.1171485485260.JavaMail.jboss@colo-br-02.atl.jboss.com> What version of jbossws is this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016605#4016605 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016605 From do-not-reply at jboss.com Wed Feb 14 15:40:26 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 14 Feb 2007 15:40:26 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jboss-web.xml : an indirection in someway keeps the doct Message-ID: <23280770.1171485626627.JavaMail.jboss@colo-br-02.atl.jboss.com> Its a standard property on the jax-rpc stub that can be set programatically before the invocation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016607#4016607 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016607 From do-not-reply at jboss.com Wed Feb 14 15:42:33 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 14 Feb 2007 15:42:33 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Can not javax.xml.bind.JAXBContext in which jar file. Message-ID: <19237776.1171485753749.JavaMail.jboss@colo-br-02.atl.jboss.com> Not yet 1.2.0.GA should come out any day now. You can run the 'release' target then you have a binary snapshot ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016610#4016610 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016610 From do-not-reply at jboss.com Wed Feb 14 15:44:34 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 14 Feb 2007 15:44:34 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WSDL, WS-Policy, WS-MetadataExchange ??? Message-ID: <17861128.1171485874728.JavaMail.jboss@colo-br-02.atl.jboss.com> http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossWSSpecStatus View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016611#4016611 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016611 From do-not-reply at jboss.com Wed Feb 14 15:49:39 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 14 Feb 2007 15:49:39 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Bug in ServiceDeployerEjb's portURI Message-ID: <30760209.1171486179613.JavaMail.jboss@colo-br-02.atl.jboss.com> It is the responsibility of the developer to guarantee uniquness of web context + port-uri. Is short with an ejb deployment all ejb endpoints must share the same context root, but must have different port uri's View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016617#4016617 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016617 From do-not-reply at jboss.com Wed Feb 14 15:55:15 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 14 Feb 2007 15:55:15 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Suppressing SoapFault Stack trace Message-ID: <25196346.1171486515189.JavaMail.jboss@colo-br-02.atl.jboss.com> If you turn it off, how will you now that there is a problem in the endpoint? Exception logging is required by the j2ee spec. If it bothers you too much maybe you like to contribute a patch to externalize exception handling. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016621#4016621 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016621 From do-not-reply at jboss.com Wed Feb 14 15:58:37 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 14 Feb 2007 15:58:37 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: lower timeout in accessing a web service Message-ID: <28635408.1171486717675.JavaMail.jboss@colo-br-02.atl.jboss.com> Not for the wsdl request, but the client should have the wsdl locally anyway. After all it is the abstract contract shared by both parties. Also have a look at http://jira.jboss.org/jira/browse/JBWS-1410 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016627#4016627 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016627 From do-not-reply at jboss.com Wed Feb 14 16:02:32 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 14 Feb 2007 16:02:32 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: dinamically obtain web services url Message-ID: <16157338.1171486952898.JavaMail.jboss@colo-br-02.atl.jboss.com> The JAX-WS user guide preview is here http://tddell.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide#XML_Registries View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016629#4016629 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016629 From do-not-reply at jboss.com Wed Feb 14 16:03:40 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 14 Feb 2007 16:03:40 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBossWS 1.2 JAX-WS generates two wsdls (imports wsdl) at Message-ID: <31739991.1171487020058.JavaMail.jboss@colo-br-02.atl.jboss.com> What's the endpoint? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016630#4016630 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016630 From do-not-reply at jboss.com Wed Feb 14 16:07:17 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 14 Feb 2007 16:07:17 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: webservices in jboss 5.0 Message-ID: <30309397.1171487237960.JavaMail.jboss@colo-br-02.atl.jboss.com> As of this writing hot deployment is not implemented yet in jboss50. Otherwise we have many ejb3 endpoints in our jbossws-1.2.0 samples that all work fine View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016633#4016633 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016633 From do-not-reply at jboss.com Wed Feb 14 16:09:41 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 14 Feb 2007 16:09:41 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Jaxb EAR project - please help Message-ID: <14630669.1171487381395.JavaMail.jboss@colo-br-02.atl.jboss.com> Have a look at jbossws-1.2.0, that nativly supports JAX-WS/JAXB The docs preview is here http://tddell.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016634#4016634 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016634 From do-not-reply at jboss.com Wed Feb 14 16:11:13 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 14 Feb 2007 16:11:13 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBossWS performance Message-ID: <21729528.1171487473703.JavaMail.jboss@colo-br-02.atl.jboss.com> Have a look at the JAX-WS docs preview http://tddell.dyndns.org/mediawiki/index.php/Performance_Analysis View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016637#4016637 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016637 From do-not-reply at jboss.com Wed Feb 14 16:18:25 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 14 Feb 2007 16:18:25 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Jboss-5.0.0.Beta1 JSR-181 Endpoint ClassCastException Message-ID: <15467423.1171487905658.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, jbossws-1.2.0 is supported on jboss-4.0.5 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016641#4016641 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016641 From do-not-reply at jboss.com Wed Feb 14 16:22:03 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 14 Feb 2007 16:22:03 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Sun jwsdp generate stub for JBoss Message-ID: <12962400.1171488123511.JavaMail.jboss@colo-br-02.atl.jboss.com> You should only deploy portable artifacts (i.e. beans, mapping.xml) Scan the generated output for com.sun. you won't need any of those View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016643#4016643 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016643 From do-not-reply at jboss.com Wed Feb 14 16:28:53 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 14 Feb 2007 16:28:53 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jsr181pojo - java 1.5 - SOAPMessageImpl Message-ID: <25588795.1171488533748.JavaMail.jboss@colo-br-02.atl.jboss.com> You must have some conflicting implementation on your classpath In a debugger try | getClass().getProtectionDomain().getCodeSource() | Does this point to the jar you expect? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016648#4016648 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016648 From do-not-reply at jboss.com Wed Feb 14 16:33:20 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 14 Feb 2007 16:33:20 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: enumerations in jboss ws... Message-ID: <11657944.1171488801015.JavaMail.jboss@colo-br-02.atl.jboss.com> http://jira.jboss.com/jira/browse/JBWS-231 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016654#4016654 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016654 From do-not-reply at jboss.com Wed Feb 14 16:35:43 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 14 Feb 2007 16:35:43 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: A service endpoint interface should extend Remote Message-ID: <19766777.1171488943132.JavaMail.jboss@colo-br-02.atl.jboss.com> Have a look at the JAX-WS user guide preview. http://tddell.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016656#4016656 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016656 From do-not-reply at jboss.com Wed Feb 14 16:38:18 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 14 Feb 2007 16:38:18 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: QName incompatibility issue Message-ID: <7885991.1171489098671.JavaMail.jboss@colo-br-02.atl.jboss.com> QName is comming from the jdk. You need to use the endorsed mechanism to override that. Have a look how run.conf or the sample clients do it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016658#4016658 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016658 From do-not-reply at jboss.com Wed Feb 14 16:41:48 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 14 Feb 2007 16:41:48 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: java client and MS Webservice Message-ID: <30188767.1171489308606.JavaMail.jboss@colo-br-02.atl.jboss.com> If its a wstools issue you could try wscompile to generate the beans and mapping file. Even better have a look at jbossws-1.2.0. Here is the user guide preview. http://tddell.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016660#4016660 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016660 From do-not-reply at jboss.com Wed Feb 14 16:45:28 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 14 Feb 2007 16:45:28 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Error when invoking Webservice deployed in Jboss 4.0.3 Message-ID: <22471484.1171489528302.JavaMail.jboss@colo-br-02.atl.jboss.com> You cannot mix jboss-ws4ee with jbossws http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWS404Compatibility View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016665#4016665 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016665 From do-not-reply at jboss.com Wed Feb 14 16:53:16 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 14 Feb 2007 16:53:16 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Problem generating SOAPFaults Message-ID: <24031636.1171489996754.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, thats a bug http://jira.jboss.org/jira/browse/JBWS-1520 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016669#4016669 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016669 From do-not-reply at jboss.com Wed Feb 14 16:54:52 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 14 Feb 2007 16:54:52 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Changing the context root and service uri location of th Message-ID: <32178820.1171490092899.JavaMail.jboss@colo-br-02.atl.jboss.com> Have a look at the docs preview http://tddell.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide#WebContext View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016671#4016671 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016671 From do-not-reply at jboss.com Wed Feb 14 16:59:42 2007 From: do-not-reply at jboss.com (dwin) Date: Wed, 14 Feb 2007 16:59:42 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: webservices in jboss 5.0 Message-ID: <3285238.1171490382781.JavaMail.jboss@colo-br-02.atl.jboss.com> oooh I see that clears it up a bunch View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016675#4016675 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016675 From do-not-reply at jboss.com Wed Feb 14 17:00:44 2007 From: do-not-reply at jboss.com (dwin) Date: Wed, 14 Feb 2007 17:00:44 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBossWS 1.2 JAX-WS generates two wsdls (imports wsdl) at Message-ID: <18847546.1171490444670.JavaMail.jboss@colo-br-02.atl.jboss.com> its a moot issue, it generates two wsdls because the SEI has a different name space than its implementing class View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016676#4016676 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016676 From do-not-reply at jboss.com Wed Feb 14 17:11:32 2007 From: do-not-reply at jboss.com (rituraj_tiwari) Date: Wed, 14 Feb 2007 17:11:32 -0500 (EST) Subject: [jbossws-users] [JBossWS] - JBoss WSTools reference? Message-ID: <15463218.1171491092138.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am trying to use NetBeans 5.5 (vanilla) with JBoss 4.0.5. I am running into endless trouble with nb's wscompile. I would like to use jboss' wscompile tool within my nb project's ant scripts. Has anyone tried this before? Is there a document that describes the options and functionality etc of the wstools ant task? Thanks. -Raj View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016684#4016684 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016684 From do-not-reply at jboss.com Wed Feb 14 17:39:03 2007 From: do-not-reply at jboss.com (mpardeshi) Date: Wed, 14 Feb 2007 17:39:03 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Error when invoking Webservice deployed in Jboss 4.0.3 Message-ID: <18295.1171492743394.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for the reply. That is correct. I figured out a better way to call the WebService. Actually I was working on a prototype where we need to call a smalltalk WebService from JBoss so my basic requirement was I should be able to invoke a WebService based on only the WSDL and without writing cryptic code to create SOAP xml. I achieved it using Apache Axis. Axis has a nice tool WSDL2Java which generates all client side artifacts (including the stubs and JAXB binding objects) from a WSDL. I assume it will work the same way when I call the smalltalk service. Thanks again for the reply. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016702#4016702 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016702 From do-not-reply at jboss.com Wed Feb 14 17:48:46 2007 From: do-not-reply at jboss.com (mpardeshi) Date: Wed, 14 Feb 2007 17:48:46 -0500 (EST) Subject: [jbossws-users] [JBossWS] - JNDI Configuration for a JBoss Cluster Message-ID: <2146048.1171493326956.JavaMail.jboss@colo-br-02.atl.jboss.com> We have JBoss set up for a cluster with 2 nodes. We use a load balanced IP to access the cluster. My question is: When configuring the naming provider URL in jndi.properties should we use the server IP (which will be different for each node) or the load balanced name (same for a cluster) given that the client application is required to use the load balanced name to look up an EJB? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016710#4016710 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016710 From do-not-reply at jboss.com Wed Feb 14 18:22:41 2007 From: do-not-reply at jboss.com (rituraj_tiwari) Date: Wed, 14 Feb 2007 18:22:41 -0500 (EST) Subject: [jbossws-users] [JBossWS] - org.jboss.ws.WSException: Cannot find java method when invok Message-ID: <334025.1171495361081.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Using JBoss 4.0.5 with NetBeans 5.5. When I try to invoke a web service operation using a generated client, I see the following exception in my jboss output: | ERROR [SOAPFaultExceptionHelper] SOAP request exception | org.jboss.ws.WSException: Cannot find java method: myOperation | at org.jboss.ws.metadata.OperationMetaData.getJavaMethod(OperationMetaData.java:213) | at org.jboss.ws.binding.EndpointInvocation.getJavaMethod(EndpointInvocation.java:82) | at org.jboss.ws.server.ServiceEndpointInvokerJSE.invokeServiceEndpoint(ServiceEndpointInvokerJSE.java:87) | at org.jboss.ws.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:115) | at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:209) | at org.jboss.ws.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:355) | at org.jboss.ws.server.StandardEndpointServlet.doPost(StandardEndpointServlet.java:115) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | I am probably making a very basic mistake here. Any ideas? Thanks. -Raj View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016733#4016733 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016733 From do-not-reply at jboss.com Wed Feb 14 18:35:25 2007 From: do-not-reply at jboss.com (danireb) Date: Wed, 14 Feb 2007 18:35:25 -0500 (EST) Subject: [jbossws-users] [JBossWS] - GENERATE EJB WEB SERVICE (DIFFERENT PROJECT) Message-ID: <6413477.1171496125613.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have an EJB Project with one ejb. I have a Dynamic Web Project where I put the ejb EndPoint. Finally I have an EAR Project that integrates the other 2 projects. I used wstools (JBOSSWS Plugin) in eclipse to deploy de ejb as web service. When I deploy the poject a message: "not found servlet link : null" is displayed. HOW CAN I ASSOCIATE IN FILE WEBSERVICES.XML THAT THE EJB IS IN ANOTHER PROJECT ???? Thanks... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016746#4016746 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016746 From do-not-reply at jboss.com Wed Feb 14 22:32:54 2007 From: do-not-reply at jboss.com (monowai) Date: Wed, 14 Feb 2007 22:32:54 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Generate wsdl from JSR 181 POJO Message-ID: <16169103.1171510374930.JavaMail.jboss@colo-br-02.atl.jboss.com> I too am now strugling with this. Seems to be that the Axis project bundled one - Java2WSDL - but JBoss is no longer supporting that release (ws4?) in the jboss-ws version shipping since AS 4.0.4. It would be nice if the creation of WSDL files, or lack there of, were a little more clearly documented in what's offered. Even if it was just a simple NO! it would save a bit of searching :) Seems to be nothing in the Wiki FAQ. my search continues.... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016839#4016839 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016839 From do-not-reply at jboss.com Wed Feb 14 22:44:23 2007 From: do-not-reply at jboss.com (monowai) Date: Wed, 14 Feb 2007 22:44:23 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Generate wsdl from JSR 181 POJO Message-ID: <5869474.1171511063990.JavaMail.jboss@colo-br-02.atl.jboss.com> Having just posted that, checkout http://www.soapui.org, it may help you on the way. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016843#4016843 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016843 From do-not-reply at jboss.com Thu Feb 15 04:18:31 2007 From: do-not-reply at jboss.com (bossy) Date: Thu, 15 Feb 2007 04:18:31 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Wrong incomming SOAP not intercepted Message-ID: <5926974.1171531111167.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm using JBoss 4.0.4 Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016909#4016909 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016909 From do-not-reply at jboss.com Thu Feb 15 04:20:21 2007 From: do-not-reply at jboss.com (bossy) Date: Thu, 15 Feb 2007 04:20:21 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Wrong incomming SOAP not intercepted Message-ID: <673664.1171531221119.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm sorry. I missread the question - it's jbossws1.4. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016911#4016911 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016911 From do-not-reply at jboss.com Thu Feb 15 09:11:38 2007 From: do-not-reply at jboss.com (stone_42) Date: Thu, 15 Feb 2007 09:11:38 -0500 (EST) Subject: [jbossws-users] [JBossWS] - ws4ee-Stack: Handler for mustUnderstand header Message-ID: <4704859.1171548698220.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I am using JBoss 4.0.3sp1 with the ws4ee stack delivered with JBoss 4.0.4. I have implemented a simple servlet based endpoint. To secure access to the endpoint, I use WS-Security and a jaxrpc handler of my own to handle the ws-security header in soap messages. Because clients set mustUnderstand="1" on the header, my handler must either set this attribute to 0 or remove the header from the SOAP message to prevent JBoss from throwing an exception with the message "unprocessed mustUnderstand header". But if I do so, the stack behaves very strange when serializing a response: It serializes the contents of the body twice. Debugging JBoss, I found out that methodorg.jboss.webservice.handler.ServerHandlerChain.handleRequest(MessageContext) checks if the handlers changed the soap request message and if so, replaces the value of the property axis.provider.java.rpc-invocation in the MessageContext. I also found out, that methods org.jboss.webservice.server.InvokerProviderJSE.invokeTarget(RPCInvocation) and org.jboss.axis.providers.java.RPCProvider.processMessage(MessageContext, SOAPEnvelopeAxisImpl, SOAPEnvelopeAxisImpl, Object) invoke method org.jboss.axis.providers.java.RPCInvocation.prepareFromRequestEnvelope() on different objects. This again is the reason that the contents of the body of the response message is doubled. Is there any solution to this problem, so I will be able to use soap headers with attribute mustUnderstand="1"? Regards, Martin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017032#4017032 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017032 From do-not-reply at jboss.com Thu Feb 15 11:25:03 2007 From: do-not-reply at jboss.com (rituraj_tiwari) Date: Thu, 15 Feb 2007 11:25:03 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: org.jboss.ws.WSException: Cannot find java method when i Message-ID: <31729052.1171556703631.JavaMail.jboss@colo-br-02.atl.jboss.com> Figured it out. I was not using the netbeans wscompile in the right way to generate the necessary classes. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017109#4017109 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017109 From do-not-reply at jboss.com Thu Feb 15 18:33:34 2007 From: do-not-reply at jboss.com (liudan2005) Date: Thu, 15 Feb 2007 18:33:34 -0500 (EST) Subject: [jbossws-users] [JBossWS] - jbossws always try to use port 8080 Message-ID: <4206745.1171582414033.JavaMail.jboss@colo-br-02.atl.jboss.com> I've changed my port number from 8080 to 80 as you can see: | | However, I can see that jbossws is still trying to connect 8080 for invoking services. Anyone knows why this happens? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017301#4017301 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017301 From do-not-reply at jboss.com Thu Feb 15 18:37:34 2007 From: do-not-reply at jboss.com (liudan2005) Date: Thu, 15 Feb 2007 18:37:34 -0500 (EST) Subject: [jbossws-users] [JBossWS] - SOAP request exception java.lang.NoClassDefFoundError Message-ID: <21369824.1171582654828.JavaMail.jboss@colo-br-02.atl.jboss.com> I keep getting this when trying to run a very simple demo code: | ERROR [org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper] SOAP request exception | | java.lang.NoClassDefFoundError | | at org.jboss.ws.jaxrpc.encoding.SimpleDeserializer.deserialize(SimpleDeserializer.java:52) | | at org.jboss.ws.soap.SOAPContentElement.getObjectValue(SOAPContentElement.java:235) | | at org.jboss.ws.binding.EndpointInvocation.transformPayloadValue(EndpointInvocation.java:233) | | at org.jboss.ws.binding.EndpointInvocation.getRequestParamValue(EndpointInvocation.java:103) | | at org.jboss.ws.binding.EndpointInvocation.getRequestPayload(EndpointInvocation.java:117) | | at org.jboss.ws.integration.jboss.ServiceEndpointInvokerEJB3.invokeServiceEndpoint(ServiceEndpointInvokerEJB3.java:115) | | at org.jboss.ws.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:115) | | at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:209) | | at org.jboss.ws.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:355) | | at org.jboss.ws.server.StandardEndpointServlet.doPost(StandardEndpointServlet.java:115) | | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | | at org.jboss.ws.server.StandardEndpointServlet.service(StandardEndpointServlet.java:76) | | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | | at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) | | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | | at java.lang.Thread.run(Thread.java:595) | | any idea? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017303#4017303 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017303 From do-not-reply at jboss.com Thu Feb 15 19:45:37 2007 From: do-not-reply at jboss.com (monowai) Date: Thu, 15 Feb 2007 19:45:37 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Generate wsdl from JSR 181 POJO Message-ID: <27730536.1171586737285.JavaMail.jboss@colo-br-02.atl.jboss.com> I assume by the deafening silence on this, that this is either a really stupid question, or we're the only suckers doing this ?\(?_o)/? Here's how it works for me. Create a file called wstools-java-to-wsdl.xml based upon wstools-config.xml but have it include the tags. Here is an example based on the 181ejb example: | | | | | | | | Then, run the wstools with the following arguments: -cp [FULL_PATH_TO_CLASS_FILE] -config ./resources/wstools-config.xml -dest ./resources/META-INF My paths are relative to the folder jbossws-samples-1.0.4.GA\jaxws\jsr181ejb folder. When run, it will create the META-INF/wsdl/TestServices.wsdl file. It seems that wstools is not selective in what it creates. If you specify in your main wstools-config file, and you run the JBOSS sample ANT build files, then the WSDL will be recreated each time, overwriting your tag, which is not what you probably want to happen. I haven't looked in to how this works yet. Likewise if the .wsdl file doesn't exist, then when you run your java2wsdl command, it will error complaining that it "can't load wsdl file" if your config contains the tags; Bit of a circular refrence going on there! hth View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017334#4017334 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017334 From do-not-reply at jboss.com Thu Feb 15 20:33:50 2007 From: do-not-reply at jboss.com (liudan2005) Date: Thu, 15 Feb 2007 20:33:50 -0500 (EST) Subject: [jbossws-users] [JBossWS] - just can't get jbossWS working!! Message-ID: <3413713.1171589630039.JavaMail.jboss@colo-br-02.atl.jboss.com> Has anyone managed to get jbossws working with jboss JEMS 1.2.0.GA (downloaded from http://labs.jboss.com/portal/jemsinstaller/downloads). Can't get jsr181pojo working with bundled JBossWS 1.0.3.SP1. When I try to upgrad to JBossWS 1.0.4, everything stops working. I just can't see how I can get jbossWS working!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017357#4017357 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017357 From do-not-reply at jboss.com Thu Feb 15 21:52:51 2007 From: do-not-reply at jboss.com (dwin) Date: Thu, 15 Feb 2007 21:52:51 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Generate wsdl from JSR 181 POJO Message-ID: <3617011.1171594371948.JavaMail.jboss@colo-br-02.atl.jboss.com> To make it easier, you guys may want to consider using SOAPUI http://www.soapui.org/jbossws/index.html if you use eclipse, you simply right click on the POJO and generate the webservice from it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017388#4017388 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017388 From do-not-reply at jboss.com Fri Feb 16 01:06:15 2007 From: do-not-reply at jboss.com (deepali.bhosale) Date: Fri, 16 Feb 2007 01:06:15 -0500 (EST) Subject: [jbossws-users] [JBossWS] - No Internet Connection: org.jboss.deployment.DeploymentExcep Message-ID: <32907597.1171605976007.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have deployed FirstEJB.jar (ejb application) into JBOSS. while starting of the server, it gives ther error for the deployment descriptor as org.jboss.deployment.DeploymentException: java.sun.com; - nested throwable:(java.net.unklnownHostException:java.sin.com). I don;t have internet connection. then how to give the refernce to the ejb-jar_1_1.dtd file in ejb-jar.xml? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017435#4017435 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017435 From do-not-reply at jboss.com Fri Feb 16 01:16:01 2007 From: do-not-reply at jboss.com (deepali.bhosale) Date: Fri, 16 Feb 2007 01:16:01 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws always try to use port 8080 Message-ID: <15265758.1171606561122.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, i was also facing the same problem but then i search inthe entire JBOSS directory the file whcih conatins 8080 as a text. and then replace this 8080 with 9005 port number is all the files having 8080. and it worked. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017436#4017436 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017436 From do-not-reply at jboss.com Fri Feb 16 06:44:06 2007 From: do-not-reply at jboss.com (liudan2005) Date: Fri, 16 Feb 2007 06:44:06 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws always try to use port 8080 Message-ID: <25921785.1171626246274.JavaMail.jboss@colo-br-02.atl.jboss.com> I did a search for 8080 and there are at least 20 files contain 8080. Is there any standard way to change the port number to 80? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017558#4017558 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017558 From do-not-reply at jboss.com Fri Feb 16 07:46:31 2007 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Fri, 16 Feb 2007 07:46:31 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: just can't get jbossWS working!! Message-ID: <21335997.1171629991619.JavaMail.jboss@colo-br-02.atl.jboss.com> Make sure you follow the installation instructions from the user guide _and_ the INSTALL.txt that ships with the download. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017594#4017594 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017594 From do-not-reply at jboss.com Fri Feb 16 09:11:59 2007 From: do-not-reply at jboss.com (liudan2005) Date: Fri, 16 Feb 2007 09:11:59 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: just can't get jbossWS working!! Message-ID: <31257473.1171635120000.JavaMail.jboss@colo-br-02.atl.jboss.com> I did follow the instruction. my enviroment: Jboss JEMS 1.2 CR1 (AS 4.0.5.GA, EJB3 1.0.0.CR9-jboss4.0.5, Portal 2.4.0.GA, JBossWS 1.0.3.SP1 Installer) I downloaded jbossws 1.0.4 and I did: 1.) Copy lib/jbossws-client.jar to $JBOSS_HOME/client/ 2.) Unzip lib/jbossws.sar to $JBOSS_HOME/server/default/deploy/ 3.) replace the jboss-xml-binding.jar in the $JBOSS_HOME/client and $JBOSS_HOME/lib. (got it from http://repository.jboss.com/jboss/jbossxb/1.0.0.CR7) Once I've done everything, I can't even start jboss anymore because clearly jboss depend on the old version of jboss-xml-binding.jar. I've tried many times and I'm sure I did everything right. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017626#4017626 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017626 From do-not-reply at jboss.com Fri Feb 16 13:06:32 2007 From: do-not-reply at jboss.com (michea) Date: Fri, 16 Feb 2007 13:06:32 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: just can't get jbossWS working!! Message-ID: <20200737.1171649192580.JavaMail.jboss@colo-br-02.atl.jboss.com> I don't know if this might help but i did the same steps, then added jaxws2.1 in server/default/lib and got into troubles. To solve (part of) the problems I had to copy jboss-saaj.jar from client to lib/endorsed View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017779#4017779 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017779 From do-not-reply at jboss.com Fri Feb 16 13:26:30 2007 From: do-not-reply at jboss.com (liudan2005) Date: Fri, 16 Feb 2007 13:26:30 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: just can't get jbossWS working!! Message-ID: <4685296.1171650390672.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks michea. I've tried what you said and now I can start jboss. However, it still doesn't allow me to deploy any simple application. | Caused by: java.lang.IllegalArgumentException: failed to parse: | at java.awt.datatransfer.DataFlavor.(DataFlavor.java:292) | at javax.activation.ActivationDataFlavor.(ActivationDataFlavor.java:81) | at org.jboss.ws.soap.attachment.ImageDataContentHandler.buildFlavors(ImageDataContentHandler.java:77) | at org.jboss.ws.soap.attachment.ImageDataContentHandler.(ImageDataContentHandler.java:63) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017792#4017792 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017792 From do-not-reply at jboss.com Fri Feb 16 14:10:41 2007 From: do-not-reply at jboss.com (rituraj_tiwari) Date: Fri, 16 Feb 2007 14:10:41 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JNDI Configuration for a JBoss Cluster Message-ID: <6572467.1171653041635.JavaMail.jboss@colo-br-02.atl.jboss.com> A simple ab initio analysis of your situation tells me that you should use the load balanced IP in your jndi.properties and not the individual server IP. Otherwise, you might as well not have the load balancer in there. My thinking is that its a better idea to front the web tier with a load balancer for dealing with the outside world. Between your web and business tier, however, you should let HA JNDI do its thing. -Raj View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017818#4017818 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017818 From do-not-reply at jboss.com Fri Feb 16 15:22:34 2007 From: do-not-reply at jboss.com (russray) Date: Fri, 16 Feb 2007 15:22:34 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBoss 4.0.5--JAX-RPC has Issues? Message-ID: <27682235.1171657354236.JavaMail.jboss@colo-br-02.atl.jboss.com> When I look at the reponse within the Web Services Explorer I see this: | -------------------------------------------------------------------------------- | | The SOAP response failed schema validation. Please switch to the source view for the SOAP response in XML format | | -------------------------------------------------------------------------------- | I've turned on the debugging for web services and I see this when the service is ran: | -------------------------------------------------------------------------------- | [11:36:14,125] [DEBUG] [SOAPMessageDispatcher] [getDispatchDestination: {http://workflow.company.com/}getDepartments][11:36:14,156] [DEBUG] [SOAPBindingProvider] [unbindRequestMessage: {http://workflow.company.com/}getDepartments][11:36:14,156] [DEBUG] [EndpointInvocation] [setRequestParamValue: [name=userId,value=org.jboss.ws.soap.SOAPContentElement]][11:36:14,156] [DEBUG] [EndpointInvocation] [setRequestParamValue: [name=operId,value=org.jboss.ws.soap.SOAPContentElement]][11:36:14,156] [DEBUG] [OperationMetaData] [Get java method for: {http://workflow.company.com/}getDepartments][11:36:14,156] [DEBUG] [OperationMetaData] [Found best matching java method: public abstract java.lang.String com.company.dept.product.webservice.WebServiceImpl_SEI.getDepartments(java.lang.String,java.lang.String) throws java.lang.Exception][11:36:14,156] [DEBUG] [ServiceEndpointInvokerJSE] [invokeServiceEndpoint: getDepartments][11:36:14,156] [DEBUG] [OperationMetaData] [Get java method for: {http://workflow.company.com/}getDepartments][11:36:14,156] [DEBUG] [OperationMetaData] [Found best matching java method: public abstract java.lang.String com.company.dept.product.webservice.WebServiceImpl_SEI.getDepartments(java.lang.String,java.lang.String) throws java.lang.Exception][11:36:14,156] [DEBUG] [EndpointInvocation] [getRequestPayload][11:36:14,156] [DEBUG] [EndpointInvocation] [getRequestParamValue: userId][11:36:14,156] [DEBUG] [SOAPContentElement] [getObjectValue [xmlType={http://www.w3.org/2001/XMLSchema}string,javaType=class java.lang.String]][11:36:14,171] [DEBUG] [SimpleDeserializer] [deserialize: [xmlName=userId,xmlType={http://www.w3.org/2001/XMLSchema}string]][11:36:14,484] [DEBUG] [ServiceEndpoint] [END handleRequest: jboss.ws:context=ProjectForWebService,endpoint=WebServiceImpl][11:36:14,484] [DEBUG] [MessageContextAssociation] [popMessageContext: org.jboss.ws.soap.SOAPMessageContextImpl at 10771a6] | -------------------------------------------------------------------------------- | So we are getting to the Web Services, I make a deduction here. However, we are not completing the operation. Russ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017867#4017867 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017867 From do-not-reply at jboss.com Fri Feb 16 15:50:46 2007 From: do-not-reply at jboss.com (monowai) Date: Fri, 16 Feb 2007 15:50:46 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Generate wsdl from JSR 181 POJO Message-ID: <21938231.1171659046436.JavaMail.jboss@colo-br-02.atl.jboss.com> Indeed. Still it's nice to know what's going on behind the scenes, and a good UI is not really a substitute for clear doco. I'm an Intellij user and with these IDE's being the memory hogs they are, running eclipse simply to maintain a few XML files is a bit of a pain; Soap's IntelliJ support is pretty basic, so I'll continue with the full UI I guess. On the side, having just checked out the source for SOAPUI - and most of the jboss projects - it really feels like stepping back in time using ANT over Maven; All that configuration in your IDE, it's Like going from an automatic car to a manual. Geeze I've lost track of how many commons-collections and jaxb jars I've got lying around for all these o/s projects. Maven's on demand centralized repository structure is pure magic. Oh well. The fun continues. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017882#4017882 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017882 From do-not-reply at jboss.com Fri Feb 16 20:03:50 2007 From: do-not-reply at jboss.com (superomega) Date: Fri, 16 Feb 2007 20:03:50 -0500 (EST) Subject: [jbossws-users] [JBossWS] - JAX-WS 2.1 Message-ID: <26721327.1171674230383.JavaMail.jboss@colo-br-02.atl.jboss.com> Hallo, I like JBoss very much. And because of this I don't want to change my AppServer environment. Now I want to use Webservices in my project. And I would like to use full functionality and complatibility of the original JAX-WS 2.1 implementation of Sun. Is it possible to insert JAX-WS 2.1 Webservice API into JBoss? And what I have to do for acitivating it? Thank you, Werner Hofmann View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017993#4017993 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017993 From do-not-reply at jboss.com Sat Feb 17 03:21:11 2007 From: do-not-reply at jboss.com (rlamie) Date: Sat, 17 Feb 2007 03:21:11 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Can not javax.xml.bind.JAXBContext in which jar file. Message-ID: <13118069.1171700471200.JavaMail.jboss@colo-br-02.atl.jboss.com> Thomas, After checking out a fresh copy of the 1.2.0 branch, I tried to run the release target. Several points : 1/ Ant.properties # Optional JBoss Home #jboss50.home=/home/tdiesler/svn/jbossas/trunk/build/output/jboss-5.0.0.Beta2 #jboss42.home=/home/tdiesler/svn/jbossas/branches/Branch_4_2/build/output/jboss-4.2.0.CR1-ejb3 #jboss40.home=/home/tdiesler/svn/jbossas/branches/Branch_4_0/build/output/jboss-4.0.5.SP1-ejb3 Actually not very optional, you have to define each jbossX.home, no way to define only 1 integration point. 2/ build-setup.xml Obviously links to jbossX.thirdparty are rather personal :-) After that, it's ok. Just another big point, when i try , i got the following error : Could not load provider:org.jboss.ws.tools.jaxws.impl.WSContractConsumerFactoryImpl I searched the implementation class and found nothing in the source... missed something ? Thank you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018104#4018104 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018104 From do-not-reply at jboss.com Sat Feb 17 03:26:32 2007 From: do-not-reply at jboss.com (rlamie) Date: Sat, 17 Feb 2007 03:26:32 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Can not javax.xml.bind.JAXBContext in which jar file. Message-ID: <4534056.1171700792205.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry for the noise, I've found the implementation of WSContractConsumerFactory in the subprojects dir. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018106#4018106 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018106 From do-not-reply at jboss.com Sat Feb 17 13:31:29 2007 From: do-not-reply at jboss.com (rlamie) Date: Sat, 17 Feb 2007 13:31:29 -0500 (EST) Subject: [jbossws-users] [JBossWS] - [Jboosws1.2]Encoding problem Message-ID: <28935765.1171737089340.JavaMail.jboss@colo-br-02.atl.jboss.com> JBossws1.2 JBoss 4.0.5GA Windows XP Maybe a little bit offtopic but i submit my case : - WS Client based upon a wsdl stored locally (called File1) - When I run the client, I got the following error : | Caused by: org.apache.xerces.xni.XNIException: Parser should stop: JBossWS_www.mycomp.com_orb_types45651.xsd[domain:http://www.w3.org/TR/1998/REC-xml-19980210]: | :[key=InvalidByte]::Message=Invalid byte 2 of 3-byte UTF-8 sequence. | Actually, when I look at the ${jboss.home}/server/default/tmp/jbossws, I see my 2 files : - ...orb_types45651.xsd with encoding : Unix/iso-8859-1 - ...PortType_PortType45647.wsdl with encoding : Unix/utf-8 Whatever the encoding of my original wsdl file (utf-8 or iso-8859-1) , I come to this error. So I can guess the problem is that the schema is generated in iso-8859-1 (default encoding for windows xp) instead of utf-8 This is checked when I run JBoss with the following jvm options : -Dfile.encoding=UTF-8, in this case it works! My question is, is the solution to force the generation of schema with the utf-8 encoding ? Thank you. R. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018252#4018252 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018252 From do-not-reply at jboss.com Sun Feb 18 20:26:35 2007 From: do-not-reply at jboss.com (michea) Date: Sun, 18 Feb 2007 20:26:35 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Help: how to consume webservice in ejb3 ? Message-ID: <7440722.1171848395710.JavaMail.jboss@colo-br-02.atl.jboss.com> "thomas.diesler at jboss.com" wrote : @WebServiceRef is supported in jbossws-1.2.0 Doesn't work better with the annotation. Here is the ejb | | @Stateless() | @WebService() | public class jbossWebService { | @WebServiceRef() | org.manaty.mvno.webservice.SimuCRMBeanService simuCRMBeanService; | | @WebMethod | public String identProxy(@WebParam(name = "login") String login, @WebParam(name = "password") String password) { | String result="pb"; | org.manaty.mvno.webservice.SimuCRMBeanLocal _simuCRMBeanPort = simuCRMBeanService.getSimuCRMBeanPort(); | result = _simuCRMBeanPort.identification(login,password); | return result; | } | the webservice called works perfectly well, it is another EJB endpoint on the same server. I successfully used wscompile ant task to generate the artifacts | | | and the wsdl is quite simple | ? | | ? | | ? | | | | | | | | | | | | | | ? | | ? | | | | | ? | | ? | | | | | ? | | ? | | | | | | ? | | ? | | | | | | ? | | ? | | | | | ? | | ? | | | | | ? | | ? | | | | | ? | | ? | | | | | | | | | | | | | ? | | ? | | | | | | ? | | ? | | | | | ? | | ? | | | | | | | | | | | ? | | ? | | | | | | ? | | ? | | | | | | ? | | ? | | | | | | ? | | ? | | | | | ? | | ? | | | | | ? | | ? | | | | | | | | ? | | ? | | | | | | | ? | | ? | | | | | | | ? | | | | ? | | | | ? | | | | ? | | | | ? | | | | ? | | | | ? | | | | ? | | | | ? | | | | ? | | | | ? | | | | ? | | | | ? | | ? | | | | | ? | | | | | ? | | | | | ? | | | | | ? | | | | | ? | | | | | | ? | | | ? | | | ? | | | | ? | | | | | ? | | | ? | | | | ? | | | | | ? | | | ? | | | | ? | | | | | ? | | | ? | | | | ? | | | | | ? | | | ? | | | | ? | | | | | ? | | | ? | | | | ? | | | | | | ? | | ? | | | | | | As for JAXRPC this is not possible to use it as for other WS in the same application I have a complex binding that require jaxb2. I would be grateful of any hint or example Sebastien View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018641#4018641 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018641 From do-not-reply at jboss.com Sun Feb 18 20:55:39 2007 From: do-not-reply at jboss.com (michea) Date: Sun, 18 Feb 2007 20:55:39 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Help: how to consume webservice in ejb3 ? Message-ID: <28028489.1171850139158.JavaMail.jboss@colo-br-02.atl.jboss.com> in fact with the annotation, the problem comes from the injection : [SOAPFaultHelperJAXWS] SOAP request exception | java.lang.RuntimeException: Non matching type for inject of field: org.manaty.mvno.webservice.SimuCRMBeanService org.jboss.test.jbossWebService.simuCRMBeanService for type: org.jnp.interfaces.NamingContext of jndiName env/org.jboss.test.jbossWebService/simuCRMBeanService | intfs: , javax.naming.Context, java.io.Serializable | at org.jboss.injection.JndiFieldInjector.inject(JndiFieldInjector.java:135) | at org.jboss.injection.JndiFieldInjector.inject(JndiFieldInjector.java:104) | at org.jboss.injection.JndiFieldInjector.inject(JndiFieldInjector.java:61) | at org.jboss.ejb3.AbstractPool.create(AbstractPool.java:92) | ?... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018652#4018652 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018652 From do-not-reply at jboss.com Mon Feb 19 00:12:50 2007 From: do-not-reply at jboss.com (anusanj) Date: Mon, 19 Feb 2007 00:12:50 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: schema import fails for relative schemaLocation Message-ID: <7738481.1171861970571.JavaMail.jboss@colo-br-02.atl.jboss.com> Meghana Did you find a solution to this, I am running into the same exception. Appreciate any help Thanks Anu View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018681#4018681 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018681 From do-not-reply at jboss.com Mon Feb 19 06:40:09 2007 From: do-not-reply at jboss.com (tremalnaik) Date: Mon, 19 Feb 2007 06:40:09 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Rpc client Message-ID: <11626323.1171885209520.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I've configured a jax-rpc style service in jboss version 4.0.2, which looks to work fine, if I access it using SOAPUI. The request get a response back from jboss. But when I try to access the server using a java client, I have the exception: serialization error: serialization error: java.lang.IllegalStateException | at com.sun.xml.rpc.encoding.literal.LiteralObjectArraySerializer.serialize(LiteralObjectArraySerializer.java:129) | at com.sun.xml.rpc.encoding.literal.GenericLiteralObjectSerializer.doSerializeInstance(GenericLiteralObjectSerializer.java:292) | at com.sun.xml.rpc.encoding.literal.GenericLiteralObjectSerializer.doSerialize(GenericLiteralObjectSerializer.java:230) | at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalSerialize(LiteralObjectSerializerBase.java:172) | at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.serialize(LiteralObjectSerializerBase.java:107) | at com.sun.xml.rpc.encoding.literal.LiteralRequestSerializer.doSerializeInstance(LiteralRequestSerializer.java:337) | at com.sun.xml.rpc.encoding.literal.LiteralRequestSerializer.doSerialize(LiteralRequestSerializer.java:408) | at com.sun.xml.rpc.encoding.literal.LiteralRequestSerializer.internalSerialize(LiteralRequestSerializer.java:305) | at com.sun.xml.rpc.encoding.literal.LiteralRequestSerializer.serialize(LiteralRequestSerializer.java:260) | at com.sun.xml.rpc.client.StreamingSender._writeRequest(StreamingSender.java:637) | at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:83) | at com.sun.xml.rpc.client.dii.CallInvokerImpl.doInvoke(CallInvokerImpl.java:80) | at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:482) | at com.bitaplus.bitastar.traveller.connector.ws.TravellerSynchronizerTest.testServiceWithDDI(TravellerSynchronizerTest.java:94) | at com.bitaplus.bitastar.traveller.connector.ws.TravellerSynchronizerTest.main(TravellerSynchronizerTest.java:52) | | CAUSE: | | serialization error: java.lang.IllegalStateException | at com.sun.xml.rpc.encoding.literal.LiteralArraySerializer.serialize(LiteralArraySerializer.java:132) | at com.sun.xml.rpc.encoding.literal.GenericLiteralObjectSerializer.doSerializeInstance(GenericLiteralObjectSerializer.java:292) | at com.sun.xml.rpc.encoding.literal.GenericLiteralObjectSerializer.doSerialize(GenericLiteralObjectSerializer.java:230) | at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalSerialize(LiteralObjectSerializerBase.java:172) | at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.serialize(LiteralObjectSerializerBase.java:107) | at com.sun.xml.rpc.encoding.literal.LiteralObjectArraySerializer.doSerializeInstance(LiteralObjectArraySerializer.java:353) | at com.sun.xml.rpc.encoding.literal.LiteralObjectArraySerializer.doSerialize(LiteralObjectArraySerializer.java:332) | at com.sun.xml.rpc.encoding.literal.LiteralObjectArraySerializer.internalSerialize(LiteralObjectArraySerializer.java:178) | at com.sun.xml.rpc.encoding.literal.LiteralObjectArraySerializer.serialize(LiteralObjectArraySerializer.java:127) | at com.sun.xml.rpc.encoding.literal.GenericLiteralObjectSerializer.doSerializeInstance(GenericLiteralObjectSerializer.java:292) | at com.sun.xml.rpc.encoding.literal.GenericLiteralObjectSerializer.doSerialize(GenericLiteralObjectSerializer.java:230) | at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalSerialize(LiteralObjectSerializerBase.java:172) | at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.serialize(LiteralObjectSerializerBase.java:107) | at com.sun.xml.rpc.encoding.literal.LiteralRequestSerializer.doSerializeInstance(LiteralRequestSerializer.java:337) | at com.sun.xml.rpc.encoding.literal.LiteralRequestSerializer.doSerialize(LiteralRequestSerializer.java:408) | at com.sun.xml.rpc.encoding.literal.LiteralRequestSerializer.internalSerialize(LiteralRequestSerializer.java:305) | at com.sun.xml.rpc.encoding.literal.LiteralRequestSerializer.serialize(LiteralRequestSerializer.java:260) | at com.sun.xml.rpc.client.StreamingSender._writeRequest(StreamingSender.java:637) | at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:83) | at com.sun.xml.rpc.client.dii.CallInvokerImpl.doInvoke(CallInvokerImpl.java:80) | at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:482) | at com.bitaplus.bitastar.traveller.connector.ws.TravellerSynchronizerTest.testServiceWithDDI(TravellerSynchronizerTest.java:94) | at com.bitaplus.bitastar.traveller.connector.ws.TravellerSynchronizerTest.main(TravellerSynchronizerTest.java:52) | | CAUSE: | | java.lang.IllegalStateException | at com.sun.xml.rpc.util.xml.XmlWriter.attributeName(XmlWriter.java:418) | at com.sun.xml.rpc.util.xml.XmlWriter.attributeUnquoted(XmlWriter.java:370) | at com.sun.xml.rpc.streaming.XMLWriterImpl.writeAttributeUnquoted(XMLWriterImpl.java:239) | at com.sun.xml.rpc.streaming.XMLWriterBase.writeAttributeUnquoted(XMLWriterBase.java:46) | at com.sun.xml.rpc.encoding.literal.LiteralArraySerializer.internalSerialize(LiteralArraySerializer.java:177) | at com.sun.xml.rpc.encoding.literal.LiteralArraySerializer.serialize(LiteralArraySerializer.java:126) | at com.sun.xml.rpc.encoding.literal.GenericLiteralObjectSerializer.doSerializeInstance(GenericLiteralObjectSerializer.java:292) | at com.sun.xml.rpc.encoding.literal.GenericLiteralObjectSerializer.doSerialize(GenericLiteralObjectSerializer.java:230) | at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalSerialize(LiteralObjectSerializerBase.java:172) | at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.serialize(LiteralObjectSerializerBase.java:107) | at com.sun.xml.rpc.encoding.literal.LiteralObjectArraySerializer.doSerializeInstance(LiteralObjectArraySerializer.java:353) | at com.sun.xml.rpc.encoding.literal.LiteralObjectArraySerializer.doSerialize(LiteralObjectArraySerializer.java:332) | at com.sun.xml.rpc.encoding.literal.LiteralObjectArraySerializer.internalSerialize(LiteralObjectArraySerializer.java:178) | at com.sun.xml.rpc.encoding.literal.LiteralObjectArraySerializer.serialize(LiteralObjectArraySerializer.java:127) | at com.sun.xml.rpc.encoding.literal.GenericLiteralObjectSerializer.doSerializeInstance(GenericLiteralObjectSerializer.java:292) | at com.sun.xml.rpc.encoding.literal.GenericLiteralObjectSerializer.doSerialize(GenericLiteralObjectSerializer.java:230) | at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalSerialize(LiteralObjectSerializerBase.java:172) | at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.serialize(LiteralObjectSerializerBase.java:107) | at com.sun.xml.rpc.encoding.literal.LiteralRequestSerializer.doSerializeInstance(LiteralRequestSerializer.java:337) | at com.sun.xml.rpc.encoding.literal.LiteralRequestSerializer.doSerialize(LiteralRequestSerializer.java:408) | at com.sun.xml.rpc.encoding.literal.LiteralRequestSerializer.internalSerialize(LiteralRequestSerializer.java:305) | at com.sun.xml.rpc.encoding.literal.LiteralRequestSerializer.serialize(LiteralRequestSerializer.java:260) | at com.sun.xml.rpc.client.StreamingSender._writeRequest(StreamingSender.java:637) | at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:83) | at com.sun.xml.rpc.client.dii.CallInvokerImpl.doInvoke(CallInvokerImpl.java:80) | at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:482) | at com.bitaplus.bitastar.traveller.connector.ws.TravellerSynchronizerTest.testServiceWithDDI(TravellerSynchronizerTest.java:94) | at com.bitaplus.bitastar.traveller.connector.ws.TravellerSynchronizerTest.main(TravellerSynchronizerTest.java:52) | This is strange for it doesn't give me any indication on what the error may be. The method implementation is: public interface TravellerSynchronizerIface extends Remote | { | public ClientCharacteristics synchronize(ClientCharacteristics characters) | throws RemoteException; | } | and the client trying to access it is: ClientCharacteristics characters = new ClientCharacteristics(); | String urlstr = "https://cor319:8443/bitatraveller/TravellerSynchronizer?wsdl"; | System.out.println("Contacting webservice at " + urlstr); | URL url = new URL(urlstr); | String ns = "https://ws.web.bitastar.bitaplus.com/"; | QName qname = new QName(ns, "TravellerSynchronizer"); | QName port = new QName(ns, "TravellerSynchronizerIfacePort"); | QName operation = new QName(ns, "synchronize"); | ServiceFactory factory = ServiceFactory.newInstance(); | Service service = factory.createService(url, qname); | Call call = service.createCall(port, operation); | ClientCharacteristics cc = (ClientCharacteristics) call.invoke(new Object[] { characters }); | The exception is thrown at the invoke, in the last line. I'm using Java 1.4 and jwsdp 1.4. I downloaded the jbossws samples and inspecting the code I see an instruction like | Service service = factory.createService(wsdlURL, qname, mappingURL); | but my factory implementation doesn't have such a method. Did I set up the call wrongly? Please help me. thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018770#4018770 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018770 From do-not-reply at jboss.com Mon Feb 19 07:22:01 2007 From: do-not-reply at jboss.com (michea) Date: Mon, 19 Feb 2007 07:22:01 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Help: how to consume webservice in ejb3 ? Message-ID: <14639662.1171887721090.JavaMail.jboss@colo-br-02.atl.jboss.com> Solved, thanks to rlamie : The port=null problem came from the configuration of jboss server in netbeans. I just had to uncheck "Use IDE Proxy Settings" View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018781#4018781 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018781 From do-not-reply at jboss.com Mon Feb 19 10:31:58 2007 From: do-not-reply at jboss.com (Juergen.Zimmermann) Date: Mon, 19 Feb 2007 10:31:58 -0500 (EST) Subject: [jbossws-users] [JBossWS] - 1.2.0CR3: Default for @WebService(targetNamespace= Message-ID: <10693368.1171899118506.JavaMail.jboss@colo-br-02.atl.jboss.com> I just tried 1.2.0CR3 from the repository location and was using JEMS 1.2 / JBoss 4.0.5 If I ommit the attribute "targetNamespace" within the annotation @WebService then the resulting target namespace is "http://my.package". IMHO according to the spec it should be "http://my.package/jaws" View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018871#4018871 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018871 From do-not-reply at jboss.com Mon Feb 19 10:39:20 2007 From: do-not-reply at jboss.com (Juergen.Zimmermann) Date: Mon, 19 Feb 2007 10:39:20 -0500 (EST) Subject: [jbossws-users] [JBossWS] - 1.2.0CR3 returns Message-ID: <30559478.1171899560617.JavaMail.jboss@colo-br-02.atl.jboss.com> I tested the new JBossWS 1.2.0CR3 with a) Eclipse/WTP and the generic "Web Services Explorer" b) The reference implementation for JAX-WS on the client side. There is no problem if the web service doesn't need any input parameter and just returns a result, e.g. a string. However, if the web service's operation needs an input parameter (e.g. a long value) then I get this error message: "Cannot find child element: arg0". Eclipse's Web Services Explorer shows the following as the submitted SOAP message: | | | | 1 | | | And the following code as the returned SOAP message: | | | | env:Server | Cannot find child element: arg0 | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018875#4018875 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018875 From do-not-reply at jboss.com Mon Feb 19 11:14:30 2007 From: do-not-reply at jboss.com (Juergen.Zimmermann) Date: Mon, 19 Feb 2007 11:14:30 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: 1.2.0CR3 returns Message-ID: <24834327.1171901670629.JavaMail.jboss@colo-br-02.atl.jboss.com> Instead of the WSDL file generated by "wstools" I used the WSDL file in server\default\tmp\jbossws: Eclipse' Web Services Explorer works fine. Thus there seems to be any difference between the output of wstools and the WSDL file generated at runtime... However, using JAX-WS RI for the client still fails. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018903#4018903 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018903 From do-not-reply at jboss.com Mon Feb 19 12:23:39 2007 From: do-not-reply at jboss.com (Juergen.Zimmermann) Date: Mon, 19 Feb 2007 12:23:39 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: 1.2.0CR3 returns Message-ID: <32104293.1171905819065.JavaMail.jboss@colo-br-02.atl.jboss.com> This following namespace declaration is not generated by wstools xmlns:ns1='http://jaxb.dev.java.net/array' After fixing this defect I had no problems in generating a client using JAX-WS RI !!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018949#4018949 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018949 From do-not-reply at jboss.com Mon Feb 19 13:10:07 2007 From: do-not-reply at jboss.com (fbadt) Date: Mon, 19 Feb 2007 13:10:07 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Must a @Webservice also be a session bean? Message-ID: <6125274.1171908607557.JavaMail.jboss@colo-br-02.atl.jboss.com> Must a @Webservice also be a session bean? And why? Thank you, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018964#4018964 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018964 From do-not-reply at jboss.com Mon Feb 19 14:21:39 2007 From: do-not-reply at jboss.com (michea) Date: Mon, 19 Feb 2007 14:21:39 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Must a @Webservice also be a session bean? Message-ID: <7018905.1171912899118.JavaMail.jboss@colo-br-02.atl.jboss.com> No not necessarily, it can be any pojo. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018993#4018993 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018993 From do-not-reply at jboss.com Mon Feb 19 18:25:17 2007 From: do-not-reply at jboss.com (saschwen) Date: Mon, 19 Feb 2007 18:25:17 -0500 (EST) Subject: [jbossws-users] [JBossWS] - configure jUDDI Message-ID: <32065486.1171927517137.JavaMail.jboss@colo-br-02.atl.jboss.com> Hey, Has anyone been able to configure the jboss jUDDI. I've been trying to get it going for a few days now and I can not connect and query/publish to it. I guess the first problem is authentication. I've tried the username jboss with no password and I get the following exception. I can't figure out how to authenticate with it. I'm using UDDI Browser to connect to it. | 2007-02-19 18:10:48,238 ERROR [org.apache.juddi.function.SaveBusinessFunction] E_authTokenRequired (10120) An invalid authentication token was passed to an API call that requires authentication. authToken: | 2007-02-19 18:10:48,238 ERROR [org.jboss.jaxr.juddi.JUDDIServlet] RegistryException:: | E_authTokenRequired (10120) An invalid authentication token was passed to an API call that requires authentication. authToken: | at org.apache.juddi.function.AbstractFunction.getPublisher(AbstractFunction.java:71) | at org.apache.juddi.function.SaveBusinessFunction.execute(SaveBusinessFunction.java:96) | at org.apache.juddi.registry.RegistryEngine.execute(RegistryEngine.java:194) | at org.jboss.jaxr.juddi.JUDDIServlet.doPost(JUDDIServlet.java:158) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | 2007-02-19 18:10:48,278 ERROR [org.jboss.jaxr.juddi.JUDDIServlet] A serious error has occured while assembling the SOAP Fault. | java.lang.IllegalArgumentException: Invalid faultCode: Client | at org.jboss.ws.soap.SOAPFaultImpl.setFaultCode(SOAPFaultImpl.java:219) | at org.jboss.jaxr.juddi.JUDDIServlet.doPost(JUDDIServlet.java:262) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Can anyone help? Thank you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4019076#4019076 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4019076 From do-not-reply at jboss.com Tue Feb 20 05:20:11 2007 From: do-not-reply at jboss.com (fheldt) Date: Tue, 20 Feb 2007 05:20:11 -0500 (EST) Subject: [jbossws-users] [JBossWS] - jbossws-1.2.0.CR3 generates lowercase classnames? Message-ID: <29382928.1171966811718.JavaMail.jboss@colo-br-02.atl.jboss.com> Is it intended behaviour, that jbossws-1.2.0.CR3 generates lowercase classnames? Here's a little excerpt from the log file: | [complexType={http://dhc.com/}colorVariant,javaType=com.dhc.ColorVariant] | [complexType={http://dhc.com/}colorGroup,javaType=com.dhc.ColorGroup] | As you can see, from e.g. ColorVariant it generates colorVariant in the resulting wsdl. That wasn't so in jbossws 1.0.4.GA and earlier. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4019275#4019275 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4019275 From do-not-reply at jboss.com Tue Feb 20 06:56:28 2007 From: do-not-reply at jboss.com (mramitkrde) Date: Tue, 20 Feb 2007 06:56:28 -0500 (EST) Subject: [jbossws-users] [JBossWS] - please solve that Message-ID: <31066356.1171972588437.JavaMail.jboss@colo-br-02.atl.jboss.com> when i am starting jboss i am getting one message likr: 17:13:11,437 ERROR [URLDeploymentScanner] Incomplete Deployment listing: --- MBeans waiting for other MBeans --- ObjectName: jboss.ws:service=DeployerInterceptorEJB3 State: CONFIGURED I Depend On: jboss.ejb3:service=EJB3Deployer --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- ObjectName: jboss.ejb3:service=EJB3Deployer State: NOTYETINSTALLED Depends On Me: jboss.ws:service=DeployerInterceptorEJB3 is it harmfull? how to solve that? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4019296#4019296 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4019296 From do-not-reply at jboss.com Tue Feb 20 09:56:02 2007 From: do-not-reply at jboss.com (dwin) Date: Tue, 20 Feb 2007 09:56:02 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws-1.2.0.CR3 generates lowercase classnames? Message-ID: <12586301.1171983362797.JavaMail.jboss@colo-br-02.atl.jboss.com> You can use JAXB to specify the name of class For example, | @XmlType(name="ColorVariant") | public class ColorVariant { | ... | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4019378#4019378 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4019378 From do-not-reply at jboss.com Tue Feb 20 09:58:36 2007 From: do-not-reply at jboss.com (sanket21) Date: Tue, 20 Feb 2007 09:58:36 -0500 (EST) Subject: [jbossws-users] [JBossWS] - new to JbossWS Message-ID: <29158961.1171983516416.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am new to JBossWS. in fact i m new to web services . recently made a web service in tomcat n it worked fine unsing the steps mentioned in the web page (http://www.ncsa.uiuc.edu/people/ramonw/ws_demo/axisdemo.html) .. can some one tell me how wat all things i need to change to make a web service in jboss. i hav gone through the net n cldnt find material that will give me result fast ( the way i got thru the previous link).. though i m trying the usual jboss startup example (trivialservice example) but m nt a ble to make it thru.. ne kind of direction will be appriciated. thks , Sanket View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4019381#4019381 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4019381 From do-not-reply at jboss.com Tue Feb 20 12:30:29 2007 From: do-not-reply at jboss.com (penguine) Date: Tue, 20 Feb 2007 12:30:29 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Problems ejb call and jaxrpc / principal Message-ID: <28166232.1171992629038.JavaMail.jboss@colo-br-02.atl.jboss.com> Hallo Thomas, The HelloBean in my/your example: String urlstr = "http://localhost:8080/ws/RoleSecured?wsdl"; String argument = "testmich"; System.out.println("Contacting webservice at " + urlstr); URL url = new URL(urlstr); QName qname = new QName("http://hello.ws.jboss.org/", "HelloService"); ServiceFactory factory = ServiceFactory.newInstance(); Service service = factory.createService(url, qname); Hello hello = (Hello) service.getPort(Hello.class); Stub stub = (Stub) hello; stub._setProperty(Stub.USERNAME_PROPERTY, "kermit"); stub._setProperty(Stub.PASSWORD_PROPERTY, "thefrog"); System.out.println("hello.hello(" + argument + ")"); System.out.println("output:" + hello.hello(argument)); <-- here the exception occurs I become the following error: Contacting webservice at http://localhost:8080/ws/RoleSecured?wsdl hello.hello(testmich) java.rmi.RemoteException: Call invocation failed with code [Client] because of: java.rmi.AccessException: SecurityException; nested exception is: java.lang.SecurityException: Insufficient method permissions, principal=null, ejbName=HelloBean, method=hello, interface=SERVICE_ENDPOINT, requiredRoles=[friend], principalRoles=[]; nested exception is: javax.xml.rpc.soap.SOAPFaultException: java.rmi.AccessException: SecurityException; nested exception is: java.lang.SecurityException: Insufficient method permissions, principal=null, ejbName=HelloBean, method=hello, interface=SERVICE_ENDPOINT, requiredRoles=[friend], principalRoles=[] at org.jboss.ws.common.CommonClient.invoke(CommonClient.java:331) at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:560) at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:338) at org.jboss.ws.jaxrpc.CallProxy.invoke(CallProxy.java:148) at $Proxy0.hello(Unknown Source) at de.mycompany.it.webservice.test.TestHelloClientII.main(TestHelloClientII.java:67) Caused by: javax.xml.rpc.soap.SOAPFaultException: java.rmi.AccessException: SecurityException; nested exception is: java.lang.SecurityException: Insufficient method permissions, principal=null, ejbName=HelloBean, method=hello, interface=SERVICE_ENDPOINT, requiredRoles=[friend], principalRoles=[] at org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.getSOAPFaultException(SOAPFaultExceptionHelper.java:100) at org.jboss.ws.common.CommonSOAPBinding.unbindResponseMessage(CommonSOAPBinding.java:574) at org.jboss.ws.common.CommonClient.invoke(CommonClient.java:319) ... 5 more Exception in thread "main" If I do a normal lookup to my bean as you do it in your examples it works. But if I try to use the webserver to access the wsdl like my example above I don?t have a valid principal setting. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4019457#4019457 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4019457 From do-not-reply at jboss.com Tue Feb 20 12:38:57 2007 From: do-not-reply at jboss.com (penguine) Date: Tue, 20 Feb 2007 12:38:57 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Problems ejb call and jaxrpc / principal Message-ID: <21672288.1171993137859.JavaMail.jboss@colo-br-02.atl.jboss.com> The problem occurs in jboss-4.0.5GA. I try it with jbossws-1.0.4.GA, too. my example herer is with the newer jbossws version, jbossws-1.0.4.GA. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4019461#4019461 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4019461 From do-not-reply at jboss.com Wed Feb 21 05:12:12 2007 From: do-not-reply at jboss.com (reinhard.behrens) Date: Wed, 21 Feb 2007 05:12:12 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBoss 4.0.5--JAX-RPC has Issues? Message-ID: <1206238.1172052732318.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm experiencing the same problems. Tested the Web Service in Netbeans, got the same output on my JBoss 4.0.5. Have you found anything of value yet? Kind regards, Reinhard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4019807#4019807 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4019807 From do-not-reply at jboss.com Wed Feb 21 05:23:49 2007 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Wed, 21 Feb 2007 05:23:49 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBoss 4.0.5--JAX-RPC has Issues? Message-ID: <1142813.1172053429502.JavaMail.jboss@colo-br-02.atl.jboss.com> What's this? | Caused by: java.lang.IllegalArgumentException: failed to parse:image/bmp, image/x-bmp, image/x-windo | ws-bmp | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4019815#4019815 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4019815 From do-not-reply at jboss.com Wed Feb 21 06:42:08 2007 From: do-not-reply at jboss.com (javaslag) Date: Wed, 21 Feb 2007 06:42:08 -0500 (EST) Subject: [jbossws-users] [JBossWS] - JAXB error when using different derived types in the same co Message-ID: <3190647.1172058128560.JavaMail.jboss@colo-br-02.atl.jboss.com> I have what seems to be a correct piece of SOAP being sent to JBossWS 1.0.4 that causes a binding exception. This only occurs when I send 2 different sub-class/derived types in the same container type. Sending each type independently (or several instances of the same type) works fine. In my example I have a Transaction type that contains an unbound number of Atoms, where Atom is an abstract type. There are 2 derivative of Atom, AtomType1 and AtomType2 which each extend Atom and add an additional sub-element element unique to the specialised type. (You can assume the namespaces/jax-rpc mapping is correct as when used independently from each other, the derived types bind fine.) My Types... | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First example which is processed fine, and proves the type is bound correctly. Single Atom in the Transaction | | | | | | | | 1 | myName2 | 2 | | | | | | The next Transaction contains 2 different Atom derived types, and fails processing with this exception Error: anonymous wrote : org.jboss.ws.binding.BindingException: org.jboss.ws.jbossxb.UnmarshalException: Failed to parse source: Requested element atom_type_2_value is not allowed in this position in the sequence. A model group with minOccurs=1 that doesn't contain this element must follow. | | | | | | | | 1 | myName | 2 | | | | 2 | myName2 | 2 | | | | | | Just for a test, I switched the order of the Atoms in the transaction and note that the binding exception is now accredited to the other derived type Error: anonymous wrote : org.jboss.ws.binding.BindingException: org.jboss.ws.jbossxb.UnmarshalException: Failed to parse source: Requested element atom_type_1_value is not allowed in this position in the sequence. A model group with minOccurs=1 that doesn't contain this element must follow. | | | | | | | | 1 | myName | 2 | | | | 2 | myName2 | 2 | | | | | | The final Transaction contains 2 atoms of the same derived type - and is processed fine. | | | | | | | | 1 | myName | 2 | | | | 2 | myName2 | 2 | | | | | | Worth raising a bug? Regards - J View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4019863#4019863 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4019863 From do-not-reply at jboss.com Wed Feb 21 07:18:00 2007 From: do-not-reply at jboss.com (reinhard.behrens) Date: Wed, 21 Feb 2007 07:18:00 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBoss 4.0.5--JAX-RPC has Issues? Message-ID: <25574717.1172060280631.JavaMail.jboss@colo-br-02.atl.jboss.com> Theory : JAI (Java Advanced API) toolkit issues? Reason: I uninstalled my JAI installation and my web services are now working. Quite strange. -Reinhard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4019883#4019883 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4019883 From do-not-reply at jboss.com Wed Feb 21 07:18:56 2007 From: do-not-reply at jboss.com (reinhard.behrens) Date: Wed, 21 Feb 2007 07:18:56 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBoss 4.0.5--JAX-RPC has Issues? Message-ID: <21871911.1172060336513.JavaMail.jboss@colo-br-02.atl.jboss.com> Correction (Java Advance Image API) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4019884#4019884 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4019884 From do-not-reply at jboss.com Wed Feb 21 09:30:27 2007 From: do-not-reply at jboss.com (vink) Date: Wed, 21 Feb 2007 09:30:27 -0500 (EST) Subject: [jbossws-users] [JBossWS] - NullPointerException while using JBossWS 1.0.4.GA Message-ID: <23101262.1172068227413.JavaMail.jboss@colo-br-02.atl.jboss.com> hello, Please find attached the details of the exception while I've deployed my service (which was running fine on old release) I've upgraded to JBossWS 1.0.4.GA & the problem starts.. I'm using JBoss 4.0.5.GA, it starts without any problem. But, when I deploy my service package it throws a NullPointerException. Then during investigation, I tried to access JBossWS Web Console. But, when I try to list the services - it again thows me an exception. 19:40:04,217 ERROR [MainDeployer] Could not create deployment: file:/C:/Lang/JBoss/jboss-4.0.5.GA/server/default/deploy/DisplayManagementAPI.ejb3 java.lang.NullPointerException at org.jboss.ws.integration.jboss.DeployerInterceptor.getServiceEndpointDeployer(DeployerInterceptor.java:142) at org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInterceptor.java:80) at org.jboss.ws.integration.jboss.DeployerInterceptorEJB.create(DeployerInterceptorEJB.java:44) at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180) at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy30.create(Unknown Source) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy8.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4019955#4019955 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4019955 From do-not-reply at jboss.com Wed Feb 21 10:11:50 2007 From: do-not-reply at jboss.com (vink) Date: Wed, 21 Feb 2007 10:11:50 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: NullPointerException while using JBossWS 1.0.4.GA Message-ID: <2241258.1172070710188.JavaMail.jboss@colo-br-02.atl.jboss.com> Got the problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4019970#4019970 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4019970 From do-not-reply at jboss.com Wed Feb 21 18:30:44 2007 From: do-not-reply at jboss.com (nean) Date: Wed, 21 Feb 2007 18:30:44 -0500 (EST) Subject: [jbossws-users] [JBossWS] - WebService response problem Message-ID: <31813995.1172100644177.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello First my configuration is like : - jbossIDE 2 beta 2 bundle (eclipse) - jboss 4.0.5 - jdk 1.6 I'm trying to complete a EJB/web service project, but to test W.S i tried this tutorial : http://www.soapui.org/jbossws/annotations_example.html i did all well normaly, i obtain the wsdl file ... But when i ty to send a SOAP message with a SOAPUI interface i have this error : anonymous wrote : 00:26:26,328 ERROR [SOAPFaultExceptionHelper] SOAP request exception | java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage | at javax.xml.soap.SOAPMessage.setProperty(Unknown Source) | at org.jboss.ws.soap.SOAPMessageImpl.(SOAPMessageImpl.java:65) | at org.jboss.ws.soap.MessageFactoryImpl.createMessageInternal(MessageFactoryImpl.java:209) | at org.jboss.ws.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:142) | at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:190) | at org.jboss.ws.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:355) | at org.jboss.ws.server.StandardEndpointServlet.doPost(StandardEndpointServlet.java:115) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at org.jboss.ws.server.StandardEndpointServlet.service(StandardEndpointServlet.java:76) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Unknown Source) | 00:26:26,328 ERROR [SOAPFaultExceptionHelper] Error creating SOAPFault message | java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage | at javax.xml.soap.SOAPMessage.setProperty(Unknown Source) | at org.jboss.ws.soap.SOAPMessageImpl.(SOAPMessageImpl.java:65) | at org.jboss.ws.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:115) | at org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.toSOAPMessage(SOAPFaultExceptionHelper.java:203) | at org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.exceptionToFaultMessage(SOAPFaultExceptionHelper.java:188) | at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:223) | at org.jboss.ws.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:355) | at org.jboss.ws.server.StandardEndpointServlet.doPost(StandardEndpointServlet.java:115) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at org.jboss.ws.server.StandardEndpointServlet.service(StandardEndpointServlet.java:76) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Unknown Source) | 00:26:26,343 ERROR [StandardEndpointServlet] Error processing web service request | javax.xml.rpc.JAXRPCException: Cannot create SOAPFault message for: javax.xml.rpc.soap.SOAPFaultException: setProperty must be overridden by all subclasses of SOAPMessage | at org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.exceptionToFaultMessage(SOAPFaultExceptionHelper.java:194) | at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:223) | at org.jboss.ws.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:355) | at org.jboss.ws.server.StandardEndpointServlet.doPost(StandardEndpointServlet.java:115) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at org.jboss.ws.server.StandardEndpointServlet.service(StandardEndpointServlet.java:76) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Unknown Source) | 00:26:26,437 ERROR [[MaisonMereBean]] Servlet.service() for servlet MaisonMereBean threw exception | javax.xml.rpc.JAXRPCException: Cannot create SOAPFault message for: javax.xml.rpc.soap.SOAPFaultException: setProperty must be overridden by all subclasses of SOAPMessage | at org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.exceptionToFaultMessage(SOAPFaultExceptionHelper.java:194) | at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:223) | at org.jboss.ws.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:355) | at org.jboss.ws.server.StandardEndpointServlet.doPost(StandardEndpointServlet.java:115) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at org.jboss.ws.server.StandardEndpointServlet.service(StandardEndpointServlet.java:76) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Unknown Source) And i have an empty response. have you any idea ? it makes around 3 days that i'm trying to solve the problem, but still a problem. I tried this link too : http://www.regdeveloper.co.uk/2007/01/23/ejb_web_services/ I built the 2 project but at end i have always the same problem... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020312#4020312 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020312 From do-not-reply at jboss.com Wed Feb 21 18:37:37 2007 From: do-not-reply at jboss.com (omatzura) Date: Wed, 21 Feb 2007 18:37:37 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WebService response problem Message-ID: <6390938.1172101057210.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi! hmm.. can you show one of the requests that results in this error? regards, /Ole eviware.com View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020320#4020320 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020320 From do-not-reply at jboss.com Wed Feb 21 18:57:13 2007 From: do-not-reply at jboss.com (nean) Date: Wed, 21 Feb 2007 18:57:13 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WebService response problem Message-ID: <20186768.1172102233861.JavaMail.jboss@colo-br-02.atl.jboss.com> all kind of request do this kind of error, a simple SOAP one like a client one. But for exemple with the SAOPUI view i created from the wsdl link this request : | | | | this is me | | | and the response is empty and on jboss consol i have the error given above View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020324#4020324 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020324 From do-not-reply at jboss.com Thu Feb 22 00:47:32 2007 From: do-not-reply at jboss.com (joshlam) Date: Thu, 22 Feb 2007 00:47:32 -0500 (EST) Subject: [jbossws-users] [JBossWS] - NoSuchMethodError on TypeBinding.setBeforeMarshallingCallbac Message-ID: <16313830.1172123252361.JavaMail.jboss@colo-br-02.atl.jboss.com> 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.createService(wsdlURL, SERVICE_NAME, jaxrpcURL); (pls see the client code below) The following exception was thrown: | java.lang.NoSuchMethodError: org.jboss.xb.binding.sunday.unmarshalling.TypeBinding.setBeforeMarshallingCallback(Lorg/jboss/xb/binding/sunday/marshalling/TermBeforeMarshallingCallback;)V | at org.jboss.ws.xop.JBossXBContentAdapter.register(JBossXBContentAdapter.java:210) | at org.jboss.ws.jbossxb.SchemaBindingBuilder.buildSchemaBinding(SchemaBindingBuilder.java:85) | at org.jboss.ws.metadata.ServiceMetaData.getSchemaBinding(ServiceMetaData.java:343) | at org.jboss.ws.metadata.ServiceMetaData.eagerInitialize(ServiceMetaData.java:442) | at org.jboss.ws.metadata.UnifiedMetaData.eagerInitialize(UnifiedMetaData.java:183) | at org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:132) | at org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:85) | at org.jboss.ws.jaxrpc.ServiceImpl.(ServiceImpl.java:96) | at org.jboss.ws.jaxrpc.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:158) | at org.jboss.ws.jaxrpc.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:143) | at com.intuit.sds.prs.webservices.std.client.StdClientTest.testWebservice(StdClientTest.java:40) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at junit.framework.TestCase.runTest(TestCase.java:154) | at junit.framework.TestCase.runBare(TestCase.java:127) | at junit.framework.TestResult$1.protect(TestResult.java:106) | at junit.framework.TestResult.runProtected(TestResult.java:124) | at junit.framework.TestResult.run(TestResult.java:109) | at junit.framework.TestCase.run(TestCase.java:118) | at junit.framework.TestSuite.runTest(TestSuite.java:208) | at junit.framework.TestSuite.run(TestSuite.java:203) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) | Here is my client code (in the form of a junit test) | package com.intuit.sds.prs.webservices.std.client; | | import java.io.File; | import java.net.MalformedURLException; | import java.net.URL; | import java.rmi.RemoteException; | | import javax.xml.namespace.QName; | import javax.xml.rpc.Call; | import javax.xml.rpc.Service; | import javax.xml.rpc.ServiceException; | | import org.apache.log4j.xml.DOMConfigurator; | import org.jboss.ws.jaxrpc.ServiceFactoryImpl; | | import com.intuit.sds.prs.webservices.AddressContactMethod; | import com.intuit.sds.prs.webservices.StandardizeAddressResponse; | | import junit.framework.TestCase; | | public class StdClientTest extends TestCase | { | private static final String WSDL_LOCATION = "http://localhost:8080/StdWebserviceImpl-2/StandardizeAddressSLSBEndPoint?wsdl"; | private static String NAMESPACE = "http://com.intuit.sds.prs/webservices"; | private static final QName SERVICE_NAME = new QName(NAMESPACE, "StandardizeAddressWebService"); | | public void testWebservice() | { | System.setProperty("javax.xml.rpc.ServiceFactory", "org.jboss.webservice.client.ServiceFactoryImpl"); | DOMConfigurator.configure("./src/log4j.xml"); | | AddressContactMethod addr = new AddressContactMethod(); | try | { | URL wsdlURL = new URL(WSDL_LOCATION); | URL jaxrpcURL = null; | jaxrpcURL = new File("src/jaxrpc-mapping.xml").toURL(); | | ServiceFactoryImpl serviceFactory = new ServiceFactoryImpl(); | Service service = serviceFactory.createService(wsdlURL, SERVICE_NAME, jaxrpcURL); | Call call = service.createCall(); | | QName operationName = new QName(NAMESPACE, "standardizeAddress"); | call.setOperationName(operationName); | | //Test the call | StandardizeAddressResponse ctr = (StandardizeAddressResponse) call.invoke(new Object[]{addr}); | AddressContactMethod rAddr = ctr.getResult(); | System.out.println("Addr1: " + rAddr.getAddr1()); | } | catch (Exception e) | { | // TODO Auto-generated catch block | e.printStackTrace(); | } | } | } | Here the following is the wsdl and the jaxrpc-mapping.xml respectively | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | com.intuit.sds.prs.webservices | http://com.intuit.sds.prs/webservices | | | com.intuit.sds.prs.webservices.StandardizeAddress | typeNS:standardizeAddress | complexType | | addressContactMethod_1 | AddressContactMethod_1 | | | | com.intuit.sds.prs.webservices.AddressContactMethod | typeNS:AddressContactMethod | complexType | | addr1 | addr1 | | | addr2 | addr2 | | | city | city | | | countryCode | countryCode | | | postalCode | postalCode | | | postalCodeExt | postalCodeExt | | | stateProvince | stateProvince | | | | com.intuit.sds.prs.webservices.StandardizeAddressResponse | typeNS:standardizeAddressResponse | complexType | | result | result | | | | com.intuit.sds.prs.webservices.StandardizeName | typeNS:standardizeName | complexType | | individualName_1 | IndividualName_1 | | | | com.intuit.sds.prs.webservices.IndividualName | typeNS:IndividualName | complexType | | firstName | firstName | | | lastName | lastName | | | | com.intuit.sds.prs.webservices.StandardizeNameResponse | typeNS:standardizeNameResponse | complexType | | result | result | | | | com.intuit.sds.prs.webservices.StandardizeAddressWebService | serviceNS:StandardizeAddressWebService | | EndpointInterfacePort | EndpointInterfacePort | | | | com.intuit.sds.prs.webservices.EndpointInterface | portTypeNS:EndpointInterface | bindingNS:EndpointInterfaceBinding | | standardizeAddress | standardizeAddress | | | 0 | com.intuit.sds.prs.webservices.AddressContactMethod | | wsdlMsgNS:EndpointInterface_standardizeAddress | AddressContactMethod_1 | IN | | | | com.intuit.sds.prs.webservices.AddressContactMethod | wsdlMsgNS:EndpointInterface_standardizeAddressResponse | result | | | | standardizeName | standardizeName | | | 0 | com.intuit.sds.prs.webservices.IndividualName | | wsdlMsgNS:EndpointInterface_standardizeName | IndividualName_1 | IN | | | | com.intuit.sds.prs.webservices.IndividualName | wsdlMsgNS:EndpointInterface_standardizeNameResponse | result | | | | The why I got this is to use wstool in an ant script: | | | | | The config.xml used is: | | | | | | | | | | | | Would greatly appreciate any help on this. Thanks. -- Josh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020415#4020415 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020415 From do-not-reply at jboss.com Thu Feb 22 02:26:38 2007 From: do-not-reply at jboss.com (omatzura) Date: Thu, 22 Feb 2007 02:26:38 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WebService response problem Message-ID: <1336894.1172129198661.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, hmm... maybe this is happening because you are using jdk 1.6.. can you try running jboss under jdk 1.5 instead? regards again, /Ole eviware.com View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020430#4020430 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020430 From do-not-reply at jboss.com Thu Feb 22 06:13:01 2007 From: do-not-reply at jboss.com (petertuerk) Date: Thu, 22 Feb 2007 06:13:01 -0500 (EST) Subject: [jbossws-users] [JBossWS] - WsTool NoClassDefFoundError ObjectModelFactory Message-ID: <17163962.1172142781860.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, running wstools as AntTask i get the following error: [wstools] log4j:WARN No appenders could be found for logger (org.jboss.ws.tools.WSTools). [wstools] log4j:WARN Please initialize the log4j system properly. BUILD FAILED java.lang.NoClassDefFoundError: org/jboss/xb/binding/ObjectModelFactory I have installed JBoss-4.0.5.GA using the installer, leaving everything default. My build.xml: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thank you for your help! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020491#4020491 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020491 From do-not-reply at jboss.com Thu Feb 22 08:37:26 2007 From: do-not-reply at jboss.com (garambu) Date: Thu, 22 Feb 2007 08:37:26 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: EJB2.1/J2EE1.4 Web service fails in jboss-4.0.4RC1 Message-ID: <8378598.1172151446923.JavaMail.jboss@colo-br-02.atl.jboss.com> I've the same problem. I'm using JBOSS4.0.4 GA. Does anyone know how to solve this problem? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020562#4020562 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020562 From do-not-reply at jboss.com Thu Feb 22 09:33:16 2007 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Thu, 22 Feb 2007 09:33:16 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: NoSuchMethodError on TypeBinding.setBeforeMarshallingCal Message-ID: <5150018.1172154796418.JavaMail.jboss@colo-br-02.atl.jboss.com> It looks like you have a wrong jboss-xml-binding.jar in the client classpath. Check the jbossws instructions and make sure you use the right one. It might as well be, that you mix two version of that jar. It's aswell bundled with jboss-all-client.jar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020584#4020584 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020584 From do-not-reply at jboss.com Thu Feb 22 09:34:09 2007 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Thu, 22 Feb 2007 09:34:09 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: NullPointerException while using JBossWS 1.0.4.GA Message-ID: <13525967.1172154849830.JavaMail.jboss@colo-br-02.atl.jboss.com> What was it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020585#4020585 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020585 From do-not-reply at jboss.com Thu Feb 22 09:34:52 2007 From: do-not-reply at jboss.com (penguine) Date: Thu, 22 Feb 2007 09:34:52 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Problems ejb call and jaxrpc / principal Message-ID: <13337250.1172154892338.JavaMail.jboss@colo-br-02.atl.jboss.com> if I use in the ejb-jar.xml instead of friend it works. And I have to disabled the http authorization for my example: RoleSecured /ws/RoleSecured View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020587#4020587 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020587 From do-not-reply at jboss.com Thu Feb 22 10:08:00 2007 From: do-not-reply at jboss.com (flaviafm) Date: Thu, 22 Feb 2007 10:08:00 -0500 (EST) Subject: [jbossws-users] [JBossWS] - receiving a AxisFault in the client Message-ID: <22967879.1172156880579.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all, I'm starting study Web services and I'm trying to use a client to test the web service that I just create and I'm receiving the follow error em I execute the client program. I'm using Eclipse 3.2 and Jboss4.0.1ps1 The client source is : | package com.myapp; | | import javax.xml.namespace.QName; | import javax.xml.rpc.Call; | import javax.xml.rpc.Service; | import javax.xml.rpc.ServiceFactory; | import javax.xml.rpc.ParameterMode; | | | public class DIIClient { | | // modified from sun j2ee jaxrpc example | | private static String endpoint = "http://localhost:8080/simple-ws4ee/ws4ee/services/HelloWorld"; | private static String qnameService = "HelloWorldService"; | private static String qnamePort = "HelloWorld"; | | private static String ENCODING_STYLE_PROPERTY ="javax.xml.rpc.encodingstyle.namespace.uri"; | private static String NS_XSD = "http://www.w3.org/2001/XMLSchema"; | private static String URI_ENCODING = "http://schemas.xmlsoap.org/soap/encoding/"; | | | public static void main(String[] args) { | | System.out.println("Endpoint address = " + endpoint); | | try { | ServiceFactory factory = ServiceFactory.newInstance(); | Service service = factory.createService(new QName(qnameService)); | | QName port = new QName(qnamePort); | | Call call = service.createCall(port); | call.setTargetEndpointAddress(endpoint); | | call.setProperty(Call.SOAPACTION_USE_PROPERTY, new Boolean(true)); | call.setProperty(Call.SOAPACTION_URI_PROPERTY, ""); | call.setProperty(ENCODING_STYLE_PROPERTY, URI_ENCODING); | QName QNAME_TYPE_STRING = new QName(NS_XSD, "string"); | call.setReturnType(QNAME_TYPE_STRING); | | | call.setOperationName(new QName(endpoint, "getHelloWorld")); | call.addParameter("String_1", QNAME_TYPE_STRING, ParameterMode.IN); | String[] params = { "jboss!" }; | | String result = (String)call.invoke(params); | System.out.println(result); | | } catch (Exception ex) { | ex.printStackTrace(); | } | } | } | The error is: | AxisFault | faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client | faultSubcode: | faultString: java.lang.NullPointerException | faultActor: | faultNode: | faultDetail: | {http://xml.apache.org/axis/}stackTrace: java.lang.NullPointerException | at java.util.Hashtable.put(Unknown Source) | at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(Unknown Source) | at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:263) | at org.apache.axis.MessagePart.getAsSOAPEnvelope(MessagePart.java:657) | at org.apache.axis.Message.getSOAPEnvelope(Message.java:430) | at org.apache.axis.Message.getContentType(Message.java:496) | at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:386) | at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:126) | at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73) | at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:160) | at org.apache.axis.SimpleChain.invoke(SimpleChain.java:123) | at org.jboss.webservice.client.ClientEngine.invoke(ClientEngine.java:126) | at org.apache.axis.client.Call.invokeEngine(Call.java:3029) | at org.apache.axis.client.Call.invoke(Call.java:3014) | at org.apache.axis.client.Call.invoke(Call.java:2608) | at org.apache.axis.client.Call.invoke(Call.java:2513) | at org.apache.axis.client.Call.invokeInternal(Call.java:1973) | at org.apache.axis.client.Call.invoke(Call.java:1914) | at org.jboss.webservice.client.CallImpl.invoke(CallImpl.java:265) | at com.myapp.DIIClient.main(DIIClient.java:47) | | | org.apache.axis.AxisFault: java.lang.NullPointerException | at org.apache.axis.AxisFault.makeFault(AxisFault.java:146) | at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:136) | at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73) | at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:160) | at org.apache.axis.SimpleChain.invoke(SimpleChain.java:123) | at org.jboss.webservice.client.ClientEngine.invoke(ClientEngine.java:126) | at org.apache.axis.client.Call.invokeEngine(Call.java:3029) | at org.apache.axis.client.Call.invoke(Call.java:3014) | at org.apache.axis.client.Call.invoke(Call.java:2608) | at org.apache.axis.client.Call.invoke(Call.java:2513) | at org.apache.axis.client.Call.invokeInternal(Call.java:1973) | at org.apache.axis.client.Call.invoke(Call.java:1914) | at org.jboss.webservice.client.CallImpl.invoke(CallImpl.java:265) | at com.myapp.DIIClient.main(DIIClient.java:47) | Caused by: java.lang.NullPointerException | at java.util.Hashtable.put(Unknown Source) | at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(Unknown Source) | at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:263) | at org.apache.axis.MessagePart.getAsSOAPEnvelope(MessagePart.java:657) | at org.apache.axis.Message.getSOAPEnvelope(Message.java:430) | at org.apache.axis.Message.getContentType(Message.java:496) | at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:386) | at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:126) | ... 12 more | When I test my web service with Eclipse Web services Explorer I receive the right response. What is wrong with my client? thanks, Fmachado View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020611#4020611 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020611 From do-not-reply at jboss.com Thu Feb 22 10:08:36 2007 From: do-not-reply at jboss.com (vink) Date: Thu, 22 Feb 2007 10:08:36 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: NullPointerException while using JBossWS 1.0.4.GA Message-ID: <18859672.1172156916249.JavaMail.jboss@colo-br-02.atl.jboss.com> This happened because I'm referring some interface in my sample, which was not included in the archive I've deployed on JBoss. And, now it is running fine. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020612#4020612 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020612 From do-not-reply at jboss.com Thu Feb 22 11:56:03 2007 From: do-not-reply at jboss.com (meghanai_99) Date: Thu, 22 Feb 2007 11:56:03 -0500 (EST) Subject: [jbossws-users] [JBossWS] - NullPointerException in WSDL11Reader.processOperationInput Message-ID: <18790628.1172163363434.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I have JBoss 4.0.5GA and JBPM and trying to deploy my BPEL process to JBoss. I could generate the Java classes for my BPEL using wscompile after replacing with . However when I deploy it over to JBoss I get following exception - 11:44:16,567 ERROR [MainDeployer] Could not create deployment: file:/D:/jboss-4. 0.5.GA/server/default/deploy/studio.war java.lang.NullPointerException at org.jboss.ws.metadata.wsdl.WSDL11Reader.processOperationInput(WSDL11R eader.java:474) at org.jboss.ws.metadata.wsdl.WSDL11Reader.processPortTypeOperations(WSD L11Reader.java:460) at org.jboss.ws.metadata.wsdl.WSDL11Reader.processPortType(WSDL11Reader. java:446) at org.jboss.ws.metadata.wsdl.WSDL11Reader.processBinding(WSDL11Reader.j ava:728) at org.jboss.ws.metadata.wsdl.WSDL11Reader.processPort(WSDL11Reader.java :1071) at org.jboss.ws.metadata.wsdl.WSDL11Reader.processPorts(WSDL11Reader.jav a:1054) at org.jboss.ws.metadata.wsdl.WSDL11Reader.processServices(WSDL11Reader. java:1027) at org.jboss.ws.metadata.wsdl.WSDL11Reader.processDefinition(WSDL11Reade r.java:119) at org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitio nsFactory.java:145) Please let me know why this class throws above exception. Thank you, Meghana View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020700#4020700 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020700 From do-not-reply at jboss.com Thu Feb 22 14:47:41 2007 From: do-not-reply at jboss.com (alexsun) Date: Thu, 22 Feb 2007 14:47:41 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Can not javax.xml.bind.JAXBContext in which jar file. Message-ID: <26783004.1172173661481.JavaMail.jboss@colo-br-02.atl.jboss.com> Thank you, Thomas. Does that mean I need wait for jboss ws 1.20 if I'd like use any jsr222 annotation? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020774#4020774 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020774 From do-not-reply at jboss.com Thu Feb 22 15:01:08 2007 From: do-not-reply at jboss.com (joshlam) Date: Thu, 22 Feb 2007 15:01:08 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: NoSuchMethodError on TypeBinding.setBeforeMarshallingCal Message-ID: <4031063.1172174468217.JavaMail.jboss@colo-br-02.atl.jboss.com> 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.IllegalArgumentException: argument type mismatch | at org.jboss.ws.common.CommonClient.invoke(CommonClient.java:335) | at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:560) | at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:345) | at com.intuit.sds.prs.webservices.std.client.StdClientTest.testWebservice(StdClientTest.java:51) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at junit.framework.TestCase.runTest(TestCase.java:154) | at junit.framework.TestCase.runBare(TestCase.java:127) | at junit.framework.TestResult$1.protect(TestResult.java:106) | at junit.framework.TestResult.runProtected(TestResult.java:124) | at junit.framework.TestResult.run(TestResult.java:109) | at junit.framework.TestCase.run(TestCase.java:118) | at junit.framework.TestSuite.runTest(TestSuite.java:208) | at junit.framework.TestSuite.run(TestSuite.java:203) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) | Caused by: java.lang.IllegalArgumentException: argument type mismatch | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.ws.jaxrpc.ParameterWrapping.wrapRequestParameters(ParameterWrapping.java:240) | at org.jboss.ws.binding.EndpointInvocation.initInputParams(EndpointInvocation.java:249) | at org.jboss.ws.common.CommonClient.invoke(CommonClient.java:243) | ... 18 more Here is my client test program again (with a little change from before) package com.intuit.sds.prs.webservices.std.client; | | import java.io.File; | import java.net.MalformedURLException; | import java.net.URL; | import java.rmi.RemoteException; | | import javax.xml.namespace.QName; | import javax.xml.rpc.Call; | import javax.xml.rpc.Service; | import javax.xml.rpc.ServiceException; | | | import org.jboss.ws.jaxrpc.ServiceFactoryImpl; | | import com.intuit.sds.prs.webservices.AddressContactMethod; | import com.intuit.sds.prs.webservices.StandardizeAddress; | import com.intuit.sds.prs.webservices.StandardizeAddressResponse; | | import junit.framework.TestCase; | | public class StdClientTest extends TestCase | { | private static final String WSDL_LOCATION = "http://localhost:8080/StdWebserviceImpl-2/StandardizeAddressSLSBEndPoint?wsdl"; | private static String NAMESPACE = "http://com.intuit.sds.prs/webservices"; | private static final QName SERVICE_NAME = new QName(NAMESPACE, "StandardizeAddressWebService"); | | public void testWebservice() | { | System.setProperty("javax.xml.rpc.ServiceFactory", "org.jboss.webservice.client.ServiceFactoryImpl"); | AddressContactMethod addr = new AddressContactMethod(); | StandardizeAddress stdAddr = new StandardizeAddress(); | stdAddr.setAddressContactMethod_1(addr); | | try | { | URL wsdlURL = new URL(WSDL_LOCATION); | URL jaxrpcURL = null; | jaxrpcURL = new File("src/jaxrpc-mapping.xml").toURL(); | | ServiceFactoryImpl serviceFactory = new ServiceFactoryImpl(); | Service service = serviceFactory.createService(wsdlURL, SERVICE_NAME, jaxrpcURL); | Call call = service.createCall(); | | QName operationName = new QName(NAMESPACE, "standardizeAddress"); | call.setOperationName(operationName); | | //Test the call | StandardizeAddressResponse ctr = (StandardizeAddressResponse) call.invoke(new Object[]{stdAddr}); | AddressContactMethod rAddr = ctr.getResult(); | System.out.println("Addr1: " + rAddr.getAddr1()); | } | catch (Exception e){e.printStackTrace();} | } | } My original SEI is: package com.intuit.sds.prs.standardization.ws.interfaces.slsb; | | import javax.ejb.Remote; | import javax.ejb.Stateless; | import javax.jws.WebMethod; | import javax.jws.WebResult; | import javax.jws.WebService; | import javax.jws.soap.SOAPBinding; | | import org.jboss.annotation.ejb.LocalBinding; | import org.jboss.annotation.ejb.Management; | import org.jboss.annotation.ejb.RemoteBinding; | import org.jboss.annotation.ejb.Service; | | | import com.intuit.sds.prs.standardization.ws.interfaces.IStandardizeAddressEndPoint; | import com.intuit.sds.prs.standardization.ws.interfaces.objects.AddressContactMethod; | import com.intuit.sds.prs.standardization.ws.interfaces.objects.IndividualName; | | @WebService(name = "EndpointInterface", | serviceName="StandardizeAddressWebService", | targetNamespace="http://com.intuit.sds.prs/webservices") | | @SOAPBinding(style=SOAPBinding.Style.DOCUMENT) | | @Stateless | @Remote(IStandardizeAddressEndPoint.class) | @RemoteBinding(jndiBinding="/ejb3/EJB3EndpointInterface") | | | public class StandardizeAddressSLSBEndPoint implements | IStandardizeAddressEndPoint | { | | | public StandardizeAddressSLSBEndPoint() | { | super(); | // TODO Auto-generated constructor stub | } | | @WebMethod | public AddressContactMethod standardizeAddress(AddressContactMethod addr) | { | // TODO Auto-generated method stub | AddressContactMethod addrCM = new AddressContactMethod(); | addrCM.setAddr1("123 MAIN ST"); | addrCM.setAddr2(""); | addrCM.setCity("SAN DIEGO"); | addrCM.setCountryCode("US"); | addrCM.setPostalCode("92122"); | addrCM.setPostalCodeExt("1234"); | addrCM.setStateProvince("CA"); | return addrCM; | } | | @WebMethod | public IndividualName standardizeName(IndividualName aname) | { | IndividualName name = new IndividualName(); | name.setFirstName("SpongeBob"); | name.setLastName("Squarepants"); | return name; | } | } | and the client artifacts are: ------- EndpointInterface.java -------- | | package com.intuit.sds.prs.webservices; | public interface EndpointInterface extends java.rmi.Remote | { | | public com.intuit.sds.prs.webservices.AddressContactMethod standardizeAddress(com.intuit.sds.prs.webservices.AddressContactMethod addressContactMethod_1) throws java.rmi.RemoteException; | public com.intuit.sds.prs.webservices.IndividualName standardizeName(com.intuit.sds.prs.webservices.IndividualName individualName_1) throws java.rmi.RemoteException; | } | | --------- StandardizeAddressWebService.java ------- | | package com.intuit.sds.prs.webservices; | import javax.xml.rpc.*; | | public interface StandardizeAddressWebService extends javax.xml.rpc.Service | { | | public com.intuit.sds.prs.webservices.EndpointInterface getEndpointInterfacePort() throws ServiceException; | | } | | ------- StandardizeAddress ------ | | | package com.intuit.sds.prs.webservices; | | | public class StandardizeAddress | { | | protected com.intuit.sds.prs.webservices.AddressContactMethod addressContactMethod_1; | public StandardizeAddress(){} | | public StandardizeAddress(com.intuit.sds.prs.webservices.AddressContactMethod addressContactMethod_1){ | this.addressContactMethod_1=addressContactMethod_1; | } | public com.intuit.sds.prs.webservices.AddressContactMethod getAddressContactMethod_1() { return addressContactMethod_1 ;} | | public void setAddressContactMethod_1(com.intuit.sds.prs.webservices.AddressContactMethod addressContactMethod_1){ this.addressContactMethod_1=addressContactMethod_1; } | | } | | ------- StandardizeAddressResponse ------ | | package com.intuit.sds.prs.webservices; | | | public class StandardizeAddressResponse | { | | protected com.intuit.sds.prs.webservices.AddressContactMethod result; | public StandardizeAddressResponse(){} | | public StandardizeAddressResponse(com.intuit.sds.prs.webservices.AddressContactMethod result){ | this.result=result; | } | public com.intuit.sds.prs.webservices.AddressContactMethod getResult() { return result ;} | | public void setResult(com.intuit.sds.prs.webservices.AddressContactMethod result){ this.result=result; } | | } | | ------- AddressContactMethod ----- | | package com.intuit.sds.prs.webservices; | | | public class AddressContactMethod | { | | protected java.lang.String addr1; | | protected java.lang.String addr2; | | protected java.lang.String city; | | protected java.lang.String countryCode; | | protected java.lang.String postalCode; | | protected java.lang.String postalCodeExt; | | protected java.lang.String stateProvince; | public AddressContactMethod(){} | | public AddressContactMethod(java.lang.String addr1, java.lang.String addr2, java.lang.String city, java.lang.String countryCode, java.lang.String postalCode, java.lang.String postalCodeExt, java.lang.String stateProvince){ | this.addr1=addr1; | this.addr2=addr2; | this.city=city; | this.countryCode=countryCode; | this.postalCode=postalCode; | this.postalCodeExt=postalCodeExt; | this.stateProvince=stateProvince; | } | public java.lang.String getAddr1() { return addr1 ;} | | public void setAddr1(java.lang.String addr1){ this.addr1=addr1; } | | public java.lang.String getAddr2() { return addr2 ;} | | public void setAddr2(java.lang.String addr2){ this.addr2=addr2; } | | public java.lang.String getCity() { return city ;} | | public void setCity(java.lang.String city){ this.city=city; } | | public java.lang.String getCountryCode() { return countryCode ;} | | public void setCountryCode(java.lang.String countryCode){ this.countryCode=countryCode; } | | public java.lang.String getPostalCode() { return postalCode ;} | | public void setPostalCode(java.lang.String postalCode){ this.postalCode=postalCode; } | | public java.lang.String getPostalCodeExt() { return postalCodeExt ;} | | public void setPostalCodeExt(java.lang.String postalCodeExt){ this.postalCodeExt=postalCodeExt; } | | public java.lang.String getStateProvince() { return stateProvince ;} | | public void setStateProvince(java.lang.String stateProvince){ this.stateProvince=stateProvince; } | | } Note I did not include the following artifacts: StandardizeName.java, StandardizeNameResponse.java and IndividualName.java as I am not calling those. These are all the artifacts generated by wsdl. The mapping files and wsdl are as in the earlier post. Would appreciate any help again. I am really close to completing this. Thanks. -- Josh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020782#4020782 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020782 From do-not-reply at jboss.com Thu Feb 22 16:43:11 2007 From: do-not-reply at jboss.com (joshlam) Date: Thu, 22 Feb 2007 16:43:11 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: NoSuchMethodError on TypeBinding.setBeforeMarshallingCal Message-ID: <13949109.1172180591411.JavaMail.jboss@colo-br-02.atl.jboss.com> 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 ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020821#4020821 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020821 From do-not-reply at jboss.com Thu Feb 22 18:09:36 2007 From: do-not-reply at jboss.com (smichea) Date: Thu, 22 Feb 2007 18:09:36 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: new to JbossWS Message-ID: <26089554.1172185776098.JavaMail.jboss@colo-br-02.atl.jboss.com> If you use jboss 4.0.4+ with EJB3 then there is a very easy way to create a webservice: use annotations on a stateless EJB. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020852#4020852 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020852 From do-not-reply at jboss.com Thu Feb 22 18:12:43 2007 From: do-not-reply at jboss.com (smichea) Date: Thu, 22 Feb 2007 18:12:43 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: NullPointerException in WSDL11Reader.processOperationInp Message-ID: <10928693.1172185963717.JavaMail.jboss@colo-br-02.atl.jboss.com> What is your version of JBPM ? Can you describe the way you installed it over JBOSS4.0.5 ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020854#4020854 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020854 From do-not-reply at jboss.com Thu Feb 22 18:23:57 2007 From: do-not-reply at jboss.com (nean) Date: Thu, 22 Feb 2007 18:23:57 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WebService response problem Message-ID: <18844864.1172186637043.JavaMail.jboss@colo-br-02.atl.jboss.com> thanks it works now. the thing was that i tried with the choice of jdk1.5 but jdk 1.6 installed, but it seems that didn't work correctly the time that i did it. So i uninstalled all an reinstalled all correctly without sdk 1.6. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020861#4020861 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020861 From do-not-reply at jboss.com Thu Feb 22 18:28:52 2007 From: do-not-reply at jboss.com (nean) Date: Thu, 22 Feb 2007 18:28:52 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: new to JbossWS Message-ID: <23577863.1172186932158.JavaMail.jboss@colo-br-02.atl.jboss.com> Also in this case you can use (WS and EJB3) : jboss IDE eclipse Betat2 (all plugin are already on) jboss 4.0.5GA and sdk 1.5 (not the 1.6 you could have problems with) and you can follow this tutorial : http://www.regdeveloper.co.uk/2007/01/23/ejb_web_services/ but stop before client... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020865#4020865 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020865 From do-not-reply at jboss.com Thu Feb 22 18:31:16 2007 From: do-not-reply at jboss.com (nean) Date: Thu, 22 Feb 2007 18:31:16 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WebService response problem Message-ID: <11511314.1172187076019.JavaMail.jboss@colo-br-02.atl.jboss.com> Else which kind of client can i do in RMI/RPC ? i tried something like that : public class Client { | public static void main(String[] args) throws Exception { | System.out.println("Starting Test Client"); | URL url = new URL("http://HAL:8080/echo/EchoBean?wsdl"); | QName qname = new QName( | "http://webservice.regdeveloper.co.uk/jaws", | "EchoService"); | | System.out.println("Creating a service Using: \n\t" | + url + " \n\tand " + qname); | ServiceFactory factory = ServiceFactory.newInstance(); | Service remote = factory.createService(url, qname); | | System.out.println("Obtaining reference to a proxy object"); | Echo proxy = (Echo) remote.getPort(Echo.class); | System.out.println("Accessed local proxy: " + proxy); | | String string = "John"; | System.out.println("Sending: " + string); | | System.out.println("Receiving: " + proxy.echo("John")); | } | } but the "factory.createService(url, qname);" give me an arror on jboss View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020868#4020868 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020868 From do-not-reply at jboss.com Thu Feb 22 18:42:03 2007 From: do-not-reply at jboss.com (meghanai_99) Date: Thu, 22 Feb 2007 18:42:03 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: NullPointerException in WSDL11Reader.processOperationInp Message-ID: <3019595.1172187723882.JavaMail.jboss@colo-br-02.atl.jboss.com> I have Jbpm-BPEL 1.1 Beta 3. The ditribution contained sar file to deploy on JBoss. I have successfully deployed sample BPEL processes that came with it. Let me know if you need more information. Thank you, Meghana View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020873#4020873 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020873 From do-not-reply at jboss.com Fri Feb 23 04:19:25 2007 From: do-not-reply at jboss.com (javaslag) Date: Fri, 23 Feb 2007 04:19:25 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JAXB error when using different derived types in the sam Message-ID: <11220343.1172222365250.JavaMail.jboss@colo-br-02.atl.jboss.com> Bug raised against against JBoss XB http://jira.jboss.com/jira/browse/JBXB-96 >From my initial delve in to the code, I'm assuming the content-handler is holding on the the unmarshaller for the first instance of a derived type (based on xsi:type) when processing an array of the super-type. This unmarshaller may not suitable for other derived types in the array - so fails with the exception reported. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4021025#4021025 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4021025 From do-not-reply at jboss.com Fri Feb 23 04:37:28 2007 From: do-not-reply at jboss.com (ragsta) Date: Fri, 23 Feb 2007 04:37:28 -0500 (EST) Subject: [jbossws-users] [JBossWS] - .Net interoperability INFO Message-ID: <6083913.1172223448349.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all, maybe this can help someone. I'm involved in a project task that requires my jboss web application to connect to a remote Microsoft WebService. The web service signature is: public System.Xml.XmlElement HelloWorld(Request req) The Microsoft way to describe this kind of return element in the WSDL is: | | | | | | | | | | | | This is not well handled by Wstools (wsdl-->java). The result is that you can call the webservice but the jboss webservice stack cannot handle the response. To solve the problem you have to manually modify this wsdl fragment in: Note: this is not a Microsoft fault..infact XmlSpy validate this WSDL and different java web services stacks like Xfire handle it correctly. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4021028#4021028 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4021028 From do-not-reply at jboss.com Fri Feb 23 09:47:37 2007 From: do-not-reply at jboss.com (darran.lofthouse@jboss.com) Date: Fri, 23 Feb 2007 09:47:37 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: wstools problem generating WSDL from Java with inherited Message-ID: <33059960.1172242057230.JavaMail.jboss@colo-br-02.atl.jboss.com> http://jira.jboss.com/jira/browse/JBWS-1524 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4021125#4021125 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4021125 From do-not-reply at jboss.com Fri Feb 23 11:32:59 2007 From: do-not-reply at jboss.com (alexsun) Date: Fri, 23 Feb 2007 11:32:59 -0500 (EST) Subject: [jbossws-users] [JBossWS] - any idea about define soap header with annotation? Message-ID: <9581884.1172248379373.JavaMail.jboss@colo-br-02.atl.jboss.com> Could I use annotation to define soap header which could be automatically generated to wsdl? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4021186#4021186 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4021186 From do-not-reply at jboss.com Sat Feb 24 08:29:11 2007 From: do-not-reply at jboss.com (jarkko@jab.fi) Date: Sat, 24 Feb 2007 08:29:11 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: configure jUDDI Message-ID: <12544552.1172323751625.JavaMail.jboss@colo-br-02.atl.jboss.com> This is something I've been struggling quite a lot lately. To solve my problems I deployed the jUDDI on a standalone Tomcat 5.5.20 using saaj.jar and jaxrpc.jar from Eclipse BIRT runtime war. That is, not using JBossWS as there seems to be some incompatibles. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4021608#4021608 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4021608 From do-not-reply at jboss.com Sun Feb 25 12:15:28 2007 From: do-not-reply at jboss.com (flaviafm) Date: Sun, 25 Feb 2007 12:15:28 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: receiving a AxisFault in the client Message-ID: <9638611.1172423729014.JavaMail.jboss@colo-br-02.atl.jboss.com> Does anyone know a good tutorial to create a WS client with the JBossWS? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022023#4022023 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4022023 From do-not-reply at jboss.com Mon Feb 26 06:23:00 2007 From: do-not-reply at jboss.com (allantodd) Date: Mon, 26 Feb 2007 06:23:00 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Generate wsdl from JSR 181 POJO Message-ID: <7193226.1172488980112.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I've been looking at this too over the last few days. The easiest way I can find is to do the following: 1) Compile your annotated JSR 181 pojo 2) Create a war file containing just the pojo class and web.xml 3) Deploy the war file and use your browser to get the WSDL by browsing to, for example, http://localhost:8080/jaxws-samples-jsr181pojo/TestService?wsdl 4) Save the WSDL and use this to generate the endpoint interface, JAX-RPC mapping, etc as per the example in the JBossWS user guide. If you look at the war file created by the JSR181 POJO example, you will see that it doesn't include the supplied WSDL file. The WSDL file is provided just for use by wstools, and is basically identical to the one you will get from your browser. | jar tvf output/libs/jaxws-samples-jsr181pojo.war | | META-INF/ | META-INF/MANIFEST.MF | WEB-INF/ | WEB-INF/web.xml | WEB-INF/classes/ | WEB-INF/classes/org/ | WEB-INF/classes/org/jboss/ | WEB-INF/classes/org/jboss/test/ | WEB-INF/classes/org/jboss/test/ws/ | WEB-INF/classes/org/jboss/test/ws/jaxws/ | WEB-INF/classes/org/jboss/test/ws/jaxws/samples/ | WEB-INF/classes/org/jboss/test/ws/jaxws/samples/jsr181pojo/ | WEB-INF/classes/org/jboss/test/ws/jaxws/samples/jsr181pojo/JSEBean01.class | It ought to be possible to get hold of the WSDL some other way, but I haven't figured it out yet. A bit of a shortcoming in the example I think. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022351#4022351 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4022351 From do-not-reply at jboss.com Mon Feb 26 08:13:21 2007 From: do-not-reply at jboss.com (santhoshitha) Date: Mon, 26 Feb 2007 08:13:21 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: EJB3 and JBossWS (JAXWS), is WSgen even needed for botto Message-ID: <2670761.1172495601814.JavaMail.jboss@colo-br-02.atl.jboss.com> hey bk8133, thanks a lot for the last post. without that i wouldn't have known that the issue was with jdk 1.6. i have been trying to deploy my web services(hello worlds) in vain since my java_home was set to jdk 1.6.0 :) i have been in the same situation as u have, evaluating web service stacks and implementations, and we here have also decided to go ahead with JSR181. thank u again. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022403#4022403 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4022403 From do-not-reply at jboss.com Mon Feb 26 09:49:15 2007 From: do-not-reply at jboss.com (allantodd) Date: Mon, 26 Feb 2007 09:49:15 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Generate wsdl from JSR 181 POJO Message-ID: <3632470.1172501355217.JavaMail.jboss@colo-br-02.atl.jboss.com> Two more comments to make about this: 1) In wstools-config.xml, "location" can be a URL, so you don't need to save the WSDL to a file. 2) In wstools-config.xml, you might need to substitute "location" for "file" depending on your version of jbossws-client.jar. The version supplied with JBoss 4.0.5 GA expects "file". The version (in the "thirdparty" directory) which the example compiles against expects "location". View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022456#4022456 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4022456 From do-not-reply at jboss.com Mon Feb 26 11:43:45 2007 From: do-not-reply at jboss.com (nean) Date: Mon, 26 Feb 2007 11:43:45 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WebService response problem Message-ID: <18812562.1172508225580.JavaMail.jboss@colo-br-02.atl.jboss.com> this is my error : anonymous wrote : Starting Test Client | Creating a service Using: | http://localhost:8080/test/EchoBean?wsdl | and {http://ejb/jaws}EchoService | Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xerces/xs/XSModel | at org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:106) | at org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:82) | at org.jboss.ws.jaxrpc.ServiceImpl.(ServiceImpl.java:96) | at org.jboss.ws.jaxrpc.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:157) | at org.jboss.ws.jaxrpc.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:128) | at Client.main(Client.java:19) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022527#4022527 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4022527 From do-not-reply at jboss.com Mon Feb 26 16:14:01 2007 From: do-not-reply at jboss.com (crackeur2007) Date: Mon, 26 Feb 2007 16:14:01 -0500 (EST) Subject: [jbossws-users] [JBossWS] - VTD-XML 2.0 Message-ID: <15700242.1172524441838.JavaMail.jboss@colo-br-02.atl.jboss.com> XimpleWare is proud to announce the release of version 2.0 of VTD-XML, the next generation XML parser/indexer. The new features introduced in this version are: * VTD+XML version 1.0: the world's first true native XML index that is simple, general-purpose and back-compatible with XML. * NodeRecorder Class that saves VTDNav's cursor location for later sequential access. * Overwrite capability * Lexically comparisons between VTD and strings To download the software, please go to http://sourceforge.net/project/showfiles.php?group_id=110612 To read the latest benchmark report please go to http://vtd-xml.sf.net/benchmark1.html To get the latest API overview http://www.ximpleware.com/vtd-xml_intro.pdf View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022683#4022683 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4022683 From do-not-reply at jboss.com Tue Feb 27 02:44:59 2007 From: do-not-reply at jboss.com (daresan) Date: Tue, 27 Feb 2007 02:44:59 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Undeploy processDefnition... Message-ID: <5162173.1172562299331.JavaMail.jboss@colo-br-02.atl.jboss.com> I am trying to undeploy processdefinition from oracle database by using jbpm api. but it is throughing error. these are follows code: JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance(); JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext(); try { ProcessDefinition processDefinition = jbpmContext.getGraphSession().findLatestProcessDefinition(processDefn.getName()); jbpmContext.getGraphSession().deleteProcessDefinition(processDefinition); }finally { jbpmContext.close(); } error: 12:48:23,799 WARN [JDBCExceptionReporter] SQL Error: 904, SQLState: 42000 12:48:23,799 ERROR [JDBCExceptionReporter] ORA-00904: "TEMPLATESE0_"."ID_": inva lid identifier 12:48:23,831 ERROR [STDERR] org.hibernate.exception.SQLGrammarException: could n ot initialize a collection: [org.jbpm.taskmgmt.def.Task.templateSet#1662789] at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.j ava:65) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelp er.java:43) at org.hibernate.loader.Loader.loadCollection(Loader.java:1926) at org.hibernate.loader.collection.CollectionLoader.initialize(Collectio nLoader.java:71) at org.hibernate.persister.collection.AbstractCollectionPersister.initia lize(AbstractCollectionPersister.java:520) at org.hibernate.event.def.DefaultInitializeCollectionEventListener.onIn itializeCollection(DefaultInitializeCollectionEventListener.java:60) at org.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java: 1627) at org.hibernate.collection.AbstractPersistentCollection.initialize(Abst ractPersistentCollection.java:344) at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPe rsistentCollection.java:86) at org.hibernate.collection.PersistentSet.iterator(PersistentSet.java:13 8) at org.hibernate.type.CollectionType.getElementsIterator(CollectionType. java:196) at org.hibernate.type.CollectionType.getElementsIterator(CollectionType. java:188) at org.hibernate.engine.CascadingAction.getAllElementsIterator(Cascading Action.java:266) at org.hibernate.engine.CascadingAction.access$100(CascadingAction.java: 21) at org.hibernate.engine.CascadingAction$2.getCascadableChildrenIterator( CascadingAction.java:52) at org.hibernate.engine.Cascade.cascadeCollectionElements(Cascade.java:2 88) at org.hibernate.engine.Cascade.cascadeCollection(Cascade.java:185) at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:160) at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:108) at org.hibernate.engine.Cascade.cascade(Cascade.java:248) at org.hibernate.engine.Cascade.cascade(Cascade.java:223) at org.hibernate.event.def.DefaultDeleteEventListener.cascadeBeforeDelet e(DefaultDeleteEventListener.java:220) at org.hibernate.event.def.DefaultDeleteEventListener.deleteEntity(Defau ltDeleteEventListener.java:169) at org.hibernate.event.def.DefaultDeleteEventListener.onDelete(DefaultDe leteEventListener.java:110) at org.hibernate.impl.SessionImpl.fireDelete(SessionImpl.java:764) at org.hibernate.impl.SessionImpl.delete(SessionImpl.java:757) at org.hibernate.engine.CascadingAction$2.cascade(CascadingAction.java:4 7) at org.hibernate.engine.Cascade.cascadeToOne(Cascade.java:213) at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:157) at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:108) at org.hibernate.engine.Cascade.cascadeCollectionElements(Cascade.java:2 90) i have checked so many messages about this topic e.g. http://www.jboss.com/index.html?module=bb&op=viewtopic&t=78471 http://www.jboss.com/index.html?module=bb&op=viewtopic&t=82667 i have tried to delete processinstance before processdefinition code: jbpmContext.getGraphSession().deleteProcessInstance(pi); but still i am not able to undeploy if someone who has encountered this problem can u plz help me out regarding this. thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022891#4022891 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4022891 From do-not-reply at jboss.com Tue Feb 27 02:52:55 2007 From: do-not-reply at jboss.com (rMikky) Date: Tue, 27 Feb 2007 02:52:55 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Security domain definition Message-ID: <25521486.1172562775552.JavaMail.jboss@colo-br-02.atl.jboss.com> Unfortunately this solution is not possible to use because the all EJB and Web services must work in the same security domain. My security domain uses my own login module and I have to use this login module to authorize the Web service clients. So the problem is how I have to configurate the jBoss security to check authorization of Web service client by my own LoginModule? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022896#4022896 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4022896 From do-not-reply at jboss.com Tue Feb 27 08:18:06 2007 From: do-not-reply at jboss.com (mikaelstaldal) Date: Tue, 27 Feb 2007 08:18:06 -0500 (EST) Subject: [jbossws-users] [JBossWS] - How to control port name in generated WSDL Message-ID: <25581201.1172582286715.JavaMail.jboss@colo-br-02.atl.jboss.com> How can I control the port name () in the WSDL generated by JBossWS? I always get name+"Port", which is not what I want since I have to implement an already established interface. JBossWS doesn't seem to recognize the portName parameter to the JSR-181 @WebService annotation. Is there any other way to control it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023017#4023017 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023017 From do-not-reply at jboss.com Tue Feb 27 15:48:58 2007 From: do-not-reply at jboss.com (meghanai_99) Date: Tue, 27 Feb 2007 15:48:58 -0500 (EST) Subject: [jbossws-users] [JBossWS] - NullPointerException with JBossWS1.0.4GA and JBoss 4.0.5 Message-ID: <13746293.1172609338034.JavaMail.jboss@colo-br-02.atl.jboss.com> I have installed JBossAS 4.0.5GA and JBossWS's latest release I found on the site 1.0.4.GA. I followed the installation instructions given in install.txt under JBossWS. In order to install JBossWS the following steps are necessary: 1.) Copy lib/jbossws-client.jar to $JBOSS_HOME/client/ 2.) Unzip lib/jbossws.sar to $JBOSS_HOME/server/default/deploy/ 3.) Replacing jboss-xml-binding.jar You need to manually replace the jboss-xml-binding.jar in the $JBOSS_HOME/client and $JBOSS_HOME/lib directories. The compatible release can be found here: http://repository.jboss.com/jboss/jbossxb/1.0.0.CR7 On running wstools for my wsdl files I get following exception - Exception in thread "main" java.lang.NullPointerException at java.io.File.(File.java:194) at org.jboss.ws.tools.helpers.ToolsHelper.handleWSDLToJavaGeneration(Too lsHelper.java:282) at org.jboss.ws.tools.WSTools.process(WSTools.java:138) at org.jboss.ws.tools.WSTools.generate(WSTools.java:120) at org.jboss.ws.tools.WSTools.main(WSTools.java:61) My wstools.xml looks like this - | | | | | | | | | | | The reason for having full path there is to make sure that the problem wasn't related to relative path which was 'wsdl/hello-service.wsdl' My hello.wsdl looks like this - | | | | | | | | | | | | | | | and my ALFEventManagerSOAP.wsdl is located under that relative path 'resources/xml'. Please let me know what is wrong here. Is my configuration file right? >From the error and the source code it fails on this line | if (wsdlURL == null) | { | File wsdlFile = new File(w2jc.wsdlLocation); | if (wsdlFile.exists()) | { | wsdlURL = wsdlFile.toURL(); | } | } | Line where it says new File so I guess something is wrong with my configuration and it cannot file wsdl files correctly? Thank you, Meghana View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023274#4023274 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023274 From do-not-reply at jboss.com Tue Feb 27 18:06:14 2007 From: do-not-reply at jboss.com (dwin) Date: Tue, 27 Feb 2007 18:06:14 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: How to control port name in generated WSDL Message-ID: <17624220.1172617574518.JavaMail.jboss@colo-br-02.atl.jboss.com> If you could wait until tomorrow (or alittle after), JBoss 1.2 should be out soon (binary release). That supports 181 annotations and is much simpler to develop. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023349#4023349 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023349 From do-not-reply at jboss.com Tue Feb 27 21:56:44 2007 From: do-not-reply at jboss.com (khkachn) Date: Tue, 27 Feb 2007 21:56:44 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: receiving a AxisFault in the client Message-ID: <29270005.1172631404974.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I struggled with Jbossws to create a client for a while and then finally gave up and used Axis-1.4. There are working examples in their getting started document. Ken View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023434#4023434 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023434 From do-not-reply at jboss.com Wed Feb 28 11:34:20 2007 From: do-not-reply at jboss.com (alperez) Date: Wed, 28 Feb 2007 11:34:20 -0500 (EST) Subject: [jbossws-users] [JBossWS] - .war Deployment fails after upgrade to jbossws-1.2.0.GA Message-ID: <6392436.1172680460576.JavaMail.jboss@colo-br-02.atl.jboss.com> Good morning. We are currently running Jboss 4.0.4 GA on JDK 1.5. Our application was deploying and running without issue while using jbossws 1.0.3 GA. This morning I upgraded to 1.2.0.GA following the install notes included in the jbossws-1.2.0.GA.zip. Upon starting my server our application fails to deploy. I have included a section from the server.log below. Anyone encounter this issue? Any incite? Thanks! 2007-02-28 10:57:26,753 ERROR [org.jboss.deployment.MainDeployer] Could not start deployment: file:/C:/jboss-4.0.4/server/xxx/deploy/xxx.war java.lang.NoSuchMethodError: com.sun.xml.bind.api.JAXBRIContext.newInstance([Ljava/lang/Class;)Ljavax/xml/bind/JAXBContext; at org.jboss.ws.metadata.acessor.JAXBAccessor$1.create(JAXBAccessor.java:67) at org.jboss.ws.metadata.acessor.JAXBAccessor$1.create(JAXBAccessor.java:54) --- Incompletely deployed packages --- org.jboss.deployment.DeploymentInfo at e1f306a0 { url=file:/C:/jboss-4.0.4/server/xxx/deploy/xxx.war } deployer: MBeanProxyExt[jboss.web:service=WebServer] status: Deployment FAILED reason: com.sun.xml.bind.api.JAXBRIContext.newInstance([Ljava/lang/Class;)Ljavax/xml/bind/JAXBContext; state: FAILED View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023795#4023795 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023795 From do-not-reply at jboss.com Wed Feb 28 13:46:33 2007 From: do-not-reply at jboss.com (ragsta) Date: Wed, 28 Feb 2007 13:46:33 -0500 (EST) Subject: [jbossws-users] [JBossWS] - jboss-1.2.0GA info Message-ID: <28215088.1172688393442.JavaMail.jboss@colo-br-02.atl.jboss.com> hi, is there a reason because the library jbossws-client misses some classes like "org.jboss.ws.tools.jaxws.impl.WSContractConsumerFactoryImpl" ? tanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023874#4023874 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023874 From do-not-reply at jboss.com Wed Feb 28 14:05:46 2007 From: do-not-reply at jboss.com (dwin) Date: Wed, 28 Feb 2007 14:05:46 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: .war Deployment fails after upgrade to jbossws-1.2.0.GA Message-ID: <14391471.1172689546480.JavaMail.jboss@colo-br-02.atl.jboss.com> Ensure that JAXWS libraries are not in the classpath View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023885#4023885 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023885 From do-not-reply at jboss.com Wed Feb 28 14:39:29 2007 From: do-not-reply at jboss.com (sursha) Date: Wed, 28 Feb 2007 14:39:29 -0500 (EST) Subject: [jbossws-users] [JBossWS] - jbossws 1.2.0.GA installation instructions confusion!! Message-ID: <5151480.1172691569071.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I was looking into the jbossws 1.2.0.GA installation instructions and confused about the same!! The unzipped jbossws 1.2.0.GA.zip file structure looks like as follows: -rw-r--r-- 1 suresh users 28406 2007-02-28 14:06 jboss-jaxrpc.jar -rw-r--r-- 1 suresh users 58454 2007-02-28 14:06 jboss-jaxws.jar -rw-r--r-- 1 suresh users 26468 2007-02-28 14:06 jboss-saaj.jar drwxr-xr-x 4 suresh users 4096 2007-02-28 14:06 jbossws40.sar drwxr-xr-x 4 suresh users 4096 2007-02-28 14:06 jbossws42.sar drwxr-xr-x 3 suresh users 4096 2007-02-28 14:06 jbossws50-deployer drwxr-xr-x 3 suresh users 4096 2007-02-28 14:06 jbossws50.sar -rw-r--r-- 1 suresh users 1345381 2007-02-28 14:06 jbossws-client.jar Instructions say 1.) Copy lib/jbossws-client.jar to $JBOSS_HOME/client/ 2.) Unzip lib/jbossws.sar to $JBOSS_HOME/server/default/deploy/ 3.) Replacing jboss-xml-binding.jar Only step clear for me is step (1). Which directory to use for jbossws.sar? Can someone rewrite the installation instructions please? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023903#4023903 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023903 From do-not-reply at jboss.com Wed Feb 28 16:08:46 2007 From: do-not-reply at jboss.com (alperez) Date: Wed, 28 Feb 2007 16:08:46 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws 1.2.0.GA installation instructions confusion!! Message-ID: <10815627.1172696926939.JavaMail.jboss@colo-br-02.atl.jboss.com> Agreed. The installation notes for this release are in serious need of additional content. i.e. Is there an intended destination for the files in the /lib/jboss-jdk15/? jboss-jaxrpc.jar, jboss-jaxws.jar, jboss-saaj.jar In response to the first post on this thread... After looking at the file structure in /lib/jboss-jdk15/ I came to the conclusion that: jbossws40.sar was intended to be used on a 4.0.4 GA jbossws42.sar was for 4.2 (even though 4.2 is not listed at http://labs.jboss.com/portal/jbossas/download) jbossws50.sar is for JBoss 5 However, I could be completely wrong. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023964#4023964 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023964 From do-not-reply at jboss.com Wed Feb 28 16:56:29 2007 From: do-not-reply at jboss.com (greenbean) Date: Wed, 28 Feb 2007 16:56:29 -0500 (EST) Subject: [jbossws-users] [JBossWS] - JBossWS 1.2.0.GA Message-ID: <17490796.1172699789721.JavaMail.jboss@colo-br-02.atl.jboss.com> I installed the JBossWS 1.2.0.GA. It looks ok so far. I see these errors in my logs repeated again and again. However, I am not sure what problems it is causing. I am testing things using jbossws 1.2.0.GA for both the client and server. 2007-02-28 21:52:46,469 ERROR [STDERR] org.xml.sax.SAXParseException: XML document structures must start and end within the same entity. 2007-02-28 21:52:46,469 ERROR [STDERR] Continuing ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023987#4023987 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023987 From do-not-reply at jboss.com Wed Feb 28 16:59:05 2007 From: do-not-reply at jboss.com (alperez) Date: Wed, 28 Feb 2007 16:59:05 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: .war Deployment fails after upgrade to jbossws-1.2.0.GA Message-ID: <12393246.1172699945057.JavaMail.jboss@colo-br-02.atl.jboss.com> "dwin" wrote : Ensure that JAXWS libraries are not in the classpath No, it is not. I checked. The only jaxws that is part of my deployment is jboss-jaxws.jar which currently resides in jboss_home/server/xxx/deploy/jbossws.sar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023989#4023989 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023989 From do-not-reply at jboss.com Wed Feb 28 17:25:42 2007 From: do-not-reply at jboss.com (luan) Date: Wed, 28 Feb 2007 17:25:42 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws-samples-1.0.4 build error: java.lang.NoSuchMetho Message-ID: <28818759.1172701542838.JavaMail.jboss@colo-br-02.atl.jboss.com> My classpath points to an old jboss-xml-binding.jar, after I removed that, the sample works now. Luan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024003#4024003 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024003 From do-not-reply at jboss.com Wed Feb 28 17:28:35 2007 From: do-not-reply at jboss.com (greenbean) Date: Wed, 28 Feb 2007 17:28:35 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBossWS 1.2.0.GA Message-ID: <29728048.1172701715834.JavaMail.jboss@colo-br-02.atl.jboss.com> I failed to mention that I deployed the jdk 1.5 version. I am using JBoss 4.0.5.GA. So I deployed the JBoss 40 version of the SAR. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024005#4024005 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024005 From do-not-reply at jboss.com Wed Feb 28 17:57:35 2007 From: do-not-reply at jboss.com (greenbean) Date: Wed, 28 Feb 2007 17:57:35 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBossWS 1.2.0.GA Message-ID: <23921938.1172703455774.JavaMail.jboss@colo-br-02.atl.jboss.com> This showed up sometimes as well... using the exact same request and response. 2007-02-28 22:55:55,877 ERROR [STDERR] [Fatal Error] :1005:26: XML document structures must start and end within the same entity. 2007-02-28 22:55:55,878 ERROR [org.jboss.ws.core.jaxrpc.SOAPFaultHelperJAXRPC] SOAP request exception 2007-02-28 22:55:55,912 ERROR [org.jboss.ws.core.server.AbstractServiceEndpointServlet] Error processing web service request View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024013#4024013 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024013 From do-not-reply at jboss.com Wed Feb 28 18:37:37 2007 From: do-not-reply at jboss.com (joshlam) Date: Wed, 28 Feb 2007 18:37:37 -0500 (EST) Subject: [jbossws-users] [JBossWS] - wsprovide/wsconsume vs wstools Message-ID: <1657340.1172705857955.JavaMail.jboss@colo-br-02.atl.jboss.com> 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=4024021 From do-not-reply at jboss.com Wed Feb 28 19:31:02 2007 From: do-not-reply at jboss.com (greenbean) Date: Wed, 28 Feb 2007 19:31:02 -0500 (EST) Subject: [jbossws-users] [JBossWS] - JBossWS 1.2.0.GA NumberFormatException For ENDPOINT_ADDRESS_ Message-ID: <32838934.1172709062823.JavaMail.jboss@colo-br-02.atl.jboss.com> The URL is of the format http://myhost:8791. Any ideas why this causes an error? I set it like this: ((Stub)port)._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY,returnURL); The error: Caused by: java.lang.NumberFormatException: For input string: "8791?datatype=SOAPMessage" at java.lang.NumberFormatException.forInputString(NumberFormatException. java:48) at java.lang.Integer.parseInt(Integer.java:456) at java.lang.Integer.parseInt(Integer.java:497) at org.jboss.remoting.InvokerLocator.(InvokerLocator.java:159) at org.jboss.ws.core.soap.SOAPConnectionImpl.createRemotingClient(SOAPCo nnectionImpl.java:250) ... 25 more View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024041#4024041 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024041 From do-not-reply at jboss.com Wed Feb 28 19:57:25 2007 From: do-not-reply at jboss.com (superomega) Date: Wed, 28 Feb 2007 19:57:25 -0500 (EST) Subject: [jbossws-users] [JBossWS] - WSDL - Schema definitions Message-ID: <13355503.1172710645347.JavaMail.jboss@colo-br-02.atl.jboss.com> Hallo, I need some schema definitions in my wsdl. It should look like: | | | | | | | | | I need this, because my DelphiClient don't understand the soap-message from jbossws. As I have found on the net there are problems with namespace declarations. Is it possible to write any annotations to get this wsdl? Or do I have to deploy my own wsdl file with the webservice? Thank you, Werner View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024047#4024047 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024047