From do-not-reply at jboss.com Sun Sep 2 02:48:49 2007 From: do-not-reply at jboss.com (ronari2) Date: Sun, 2 Sep 2007 02:48:49 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Strange - Entry Point not receive WS Message data Message-ID: <29850333.1188715729584.JavaMail.jboss@colo-br-02.atl.jboss.com> | | | | | | | | | 123456 | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080271#4080271 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080271 From do-not-reply at jboss.com Sun Sep 2 09:00:22 2007 From: do-not-reply at jboss.com (tokrishnakumar) Date: Sun, 2 Sep 2007 09:00:22 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Strange - Entry Point not receive WS Message data Message-ID: <30171782.1188738022508.JavaMail.jboss@colo-br-02.atl.jboss.com> Try to pass the request params as ,.I was having the same problem of getting null in my request params,until i passed it as ,.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080293#4080293 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080293 From do-not-reply at jboss.com Sun Sep 2 20:07:08 2007 From: do-not-reply at jboss.com (vashistvishal) Date: Sun, 2 Sep 2007 20:07:08 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Wsconsume generated Stubs failing with JBoss-4.2.0 Message-ID: <29702842.1188778028458.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Thomas, It looks to me wsdl to java generation for complex types is not corrcet in JBoss ws stack at all. I'm certain now its a bug in implementation. I have tried to hack the wsdl to work properly but then it generates wrong soap packet or wrong interface (without wrappers) for client. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080339#4080339 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080339 From do-not-reply at jboss.com Sun Sep 2 20:54:18 2007 From: do-not-reply at jboss.com (vashistvishal) Date: Sun, 2 Sep 2007 20:54:18 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - How to configure APache CXF with JBossws stack. Message-ID: <28448513.1188780859004.JavaMail.jboss@colo-br-02.atl.jboss.com> Are their any notes or instructions somewhere, where i can find how to configurs Apache CXF with Jbowss 2.0.1 stack. Anyone who has done this. Vishal View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080340#4080340 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080340 From do-not-reply at jboss.com Sun Sep 2 22:36:08 2007 From: do-not-reply at jboss.com (nathandennis) Date: Sun, 2 Sep 2007 22:36:08 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: SSL & Authorization Message-ID: <29707473.1188786968462.JavaMail.jboss@colo-br-02.atl.jboss.com> I have the same error. i was trying to connect a mailSession to a server running TLS on a self signed cert. not sure if i'm missing something. ive read the wiki associated with installing the keys a couple times. i tried specifying the truststore and passing it a password in the run.conf. any other thoughts? did you ever get this resolved? seam 121 jboss 405 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080342#4080342 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080342 From do-not-reply at jboss.com Sun Sep 2 22:47:40 2007 From: do-not-reply at jboss.com (nathandennis) Date: Sun, 2 Sep 2007 22:47:40 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: SSL & Authorization Message-ID: <30584097.1188787660944.JavaMail.jboss@colo-br-02.atl.jboss.com> nevermind that... i blame confusion on being up for three days straight trying to overcome the laws of chaos that have been attacking my brainchild. (because i can't blame myself :).... i had mistakenly put keyStore in the java param instead of trustStore... bravo for a good tip even though i was not tedious enough to follow it. 20 hours ago coffee stopped having an affect on my alertness... it only makes me shake more. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080343#4080343 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080343 From do-not-reply at jboss.com Tue Sep 4 01:28:16 2007 From: do-not-reply at jboss.com (vashistvishal) Date: Tue, 4 Sep 2007 01:28:16 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Axis vs Jboss compat issue Message-ID: <32460850.1188883696324.JavaMail.jboss@colo-br-02.atl.jboss.com> Have you been able to resolev this probelm. If yes than it will be good if you can share how... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080703#4080703 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080703 From do-not-reply at jboss.com Tue Sep 4 02:28:25 2007 From: do-not-reply at jboss.com (johnsoncqq) Date: Tue, 4 Sep 2007 02:28:25 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Error: Unable to createEndpointReference Provider Message-ID: <3367622.1188887305235.JavaMail.jboss@colo-br-02.atl.jboss.com> jboss-4.2.1.GA jbossws-native-2.0.0.GA JDK 1.6.0 wsrunclient EchoClient 'Hello World!' View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080715#4080715 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080715 From do-not-reply at jboss.com Tue Sep 4 03:22:54 2007 From: do-not-reply at jboss.com (jmaasing) Date: Tue, 4 Sep 2007 03:22:54 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Cannot find child element - with namespace Message-ID: <12516351.1188890574213.JavaMail.jboss@colo-br-02.atl.jboss.com> We've switched to document/literal on the JBoss side (and changed the WSDL accordingly) and now it works. But as omatzura says, the first attempt was rpc/literal and I do not see why it didn't work on the JBoss side. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080724#4080724 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080724 From do-not-reply at jboss.com Tue Sep 4 08:23:18 2007 From: do-not-reply at jboss.com (paoletto) Date: Tue, 4 Sep 2007 08:23:18 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Error: Could not transmit message Message-ID: <27665156.1188908598289.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello! I get this error i dont get why. I followed the jbossws manual and sample code. What i did: App A expose a session bean correctly (it works, i tested it already, but in a wrong way which worked only on the same AS). App B has a session bean as session endpoint interface. i generated both client and server artifacts with wstool and sample config.xml from manual. I imported in App B value type classes and other .java artifacts, and the jaxrpc-mapping.xml. Im trying to connect using DII configured client tecnique since i have to connect to more than 1 web service in sequence. Im using jbossAS 4.0.5 and im following examples from -samples-1.0.3GA.zip here's the code: (please note the jaxrpc mapping is being found) | package servizioAteneo.ejb; | | import java.rmi.RemoteException; | import javax.naming.Context; | | import javax.naming.InitialContext; | import javax.rmi.PortableRemoteObject; | import javax.ejb.EJBException; | import javax.ejb.SessionBean; | import javax.ejb.SessionContext; | import javax.ejb.CreateException; | import java.io.*; | import javax.xml.rpc.Stub; | import servizioAteneo.ejb.*; | import servizioAteneo.interfaces.*; | import javax.xml.rpc.Service; | import javax.xml.rpc.Call; | import javax.xml.rpc.ServiceFactory; | import javax.xml.namespace.QName; | import java.net.URL; | import java.util.*; | | import org.jboss.ws.jaxrpc.ServiceFactoryImpl; | import org.jboss.ws.jaxrpc.ServiceImpl; | | import org.serviziodipartimentale.*; | | public class SearchFrontendBean implements SessionBean { | | private static final String TARGET_NAMESPACE = "http://servizioDipartimentale.org/"; | private Context ctx = null; | private javax.ejb.SessionContext context; | | private AutenticazioneAteneoHome home = null; | private AutenticazioneAteneo bean = null; | | | public SearchFrontendBean() throws Exception { | super(); | try { | ctx = new InitialContext(); | } catch (Exception e) { throw new EJBException("generating context failed"); } | try { | Object ref = ctx.lookup("java:comp/env/ejb/AutenticazioneAteneo"); | home = (AutenticazioneAteneoHome) PortableRemoteObject.narrow(ref,AutenticazioneAteneoHome.class); | bean = home.create(); | } catch (Exception e) { throw new EJBException("Lookup of java comp env failed"); } | } | | public void setSessionContext(SessionContext ctx) | throws EJBException, | RemoteException { | this.context = ctx; | | } | | public void ejbRemove() throws EJBException, RemoteException { | // TODO Auto-generated method stub | | } | | public void ejbActivate() throws EJBException, RemoteException { | // TODO Auto-generated method stub | | } | | public void ejbPassivate() throws EJBException, RemoteException { | // TODO Auto-generated method stub | | } | | public void ejbCreate() throws CreateException { | // TODO Auto-generated method stub | } | | private Call getRemoteInterface(String domain, String port) { | Call ricerca; | URL wsdl = null; | QName qname = null; | | try { | wsdl = new URL("http://" + domain +":" + port + "/ServizioEJB/Ricerca?wsdl"); | qname = new QName(TARGET_NAMESPACE,"Ricerca"); | } catch (Exception e) { | System.out.println("URL creating error"); | return null; | } | | | this.getClass().getResourceAsStream( "lib/jaxrpc-mapping-client.xml" ); | | /* | File javaWsdlMappingFile = new File("/lib/jaxrpc-mapping-client.xml"); | | if (! javaWsdlMappingFile.canRead()) { | System.out.println("no wsdl"); | return null; | } */ | | URL url = this.getClass().getResource("/jaxrpc-mapping-client.xml"); | if (url == null) { | System.out.println("no wsdl: url is null"); | return null; | } else System.out.println(url); | | ServiceFactoryImpl factory = new ServiceFactoryImpl(); | | try { | ServiceImpl service = (ServiceImpl)factory.createService(wsdl, qname, url); | ricerca = service.createCall(); | } catch (Exception e) { | System.out.println("getRemoteINterface() failed getting service"); | e.printStackTrace(); | return null; | } | | | /* | ServiceFactory factory =null; | try { | factory = ServiceFactory.newInstance(); | } catch (Exception e) { | System.out.println("errore serviceFactory"); | e.printStackTrace(); | return null; | } | | Service service = null; | try { | service = factory.createService(wsdl, qname); | ricerca = (Ricerca) service.getPort(Ricerca.class); | } catch (Exception e){ | System.out.println("errore createService"); | e.printStackTrace(); | return null; | } */ | | return ricerca; | } | | public org.serviziodipartimentale.Documento[] RicercaDipartimento(java.lang.String domain, | java.lang.String port) { | | Documento documenti[] = null; | Call ricerca = getRemoteInterface(domain, port); | if ( ricerca == null) return null; | | try { | QName operationName = new QName(TARGET_NAMESPACE, "catalogoPubblicazioni"); | ricerca.setOperationName(operationName); | //documenti = ricerca.catalogoPubblicazioni(); | | documenti = (Documento[]) ricerca.invoke(null); | | } catch (Exception e) { | e.printStackTrace(); | return null; | } | | return documenti; | } | /** | * Business method | * @ejb.interface-method view-type = "remote" | */ | public void RicercaAutore(String autore) { | // TODO Auto-generated method stub | } | /** | * Business method | * @ejb.interface-method view-type = "remote" | */ | public void RicercaKeyword(String keyword) { | // TODO Auto-generated method stub | } | | public DocumentoAteneo[] RicercaKeywords(String keyword[]) { | Collection dipartimenti = null; | DocumentoAteneo result[] = null; | Collection res = new ArrayList(); | Call ricerca = null; | Iterator itDip = null; | | try { | dipartimenti = bean.elencaDipartimenti(); | } catch (Exception e) {e.printStackTrace(); return null; } | | if (dipartimenti != null) { | itDip = dipartimenti.iterator(); | } else return null; | | while(itDip.hasNext()) { | DipartimentoAteneoLocal dip = (DipartimentoAteneoLocal) itDip.next(); | ricerca = getRemoteInterface(dip.getDomain(), dip.getPort()); | | if (ricerca != null) { | Documento[] tmp = null; | try { | QName operationName = new QName(TARGET_NAMESPACE, "searchByKeywords"); | ricerca.setOperationName(operationName); | | tmp = (Documento[]) ricerca.invoke(new Object[]{Integer.valueOf(keyword.length),keyword}); | | //tmp = ricerca.searchByKeywords(keyword.length,keyword); | } catch (Exception e) { | e.printStackTrace(); | tmp = null; | } | if (tmp != null) { | DocumentoAteneo doc; | | for (int i=0; i(HttpClient.java:214) | at sun.net.www.http.HttpClient.New(HttpClient.java:287) | at sun.net.www.http.HttpClient.New(HttpClient.java:299) | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:792) | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:744) | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:669) | at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:836) | at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:163) | ... 66 more | 13:09:27,972 ERROR [STDERR] java.rmi.RemoteException: Call invocation failed: Could not transmit message; nested exception is: | javax.xml.soap.SOAPException: Could not transmit message | 13:09:27,974 ERROR [STDERR] at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:718) | 13:09:27,975 ERROR [STDERR] at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:404) | 13:09:27,976 ERROR [STDERR] at servizioAteneo.ejb.SearchFrontendBean.RicercaKeywords(SearchFrontendBean.java:269) | 13:09:27,977 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 13:09:27,978 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 13:09:27,979 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 13:09:27,980 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 13:09:27,981 ERROR [STDERR] at org.jboss.invocation.Invocation.performCall(Invocation.java:359) | 13:09:27,982 ERROR [STDERR] at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237) | 13:09:27,982 ERROR [STDERR] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158) | 13:09:27,983 ERROR [STDERR] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169) | 13:09:27,984 ERROR [STDERR] at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63) | 13:09:27,984 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121) | 13:09:27,985 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350) | 13:09:27,986 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181) | 13:09:27,986 ERROR [STDERR] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168) | 13:09:27,987 ERROR [STDERR] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205) | 13:09:27,990 ERROR [STDERR] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136) | 13:09:27,991 ERROR [STDERR] at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648) | 13:09:27,991 ERROR [STDERR] at org.jboss.ejb.Container.invoke(Container.java:954) | 13:09:27,993 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 13:09:27,994 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 13:09:27,994 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 13:09:27,995 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 13:09:27,996 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | 13:09:27,997 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | 13:09:27,997 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | 13:09:27,998 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | 13:09:27,999 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 13:09:27,999 ERROR [STDERR] at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169) | 13:09:28,000 ERROR [STDERR] at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118) | 13:09:28,001 ERROR [STDERR] at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209) | 13:09:28,002 ERROR [STDERR] at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195) | 13:09:28,002 ERROR [STDERR] at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61) | 13:09:28,003 ERROR [STDERR] at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70) | 13:09:28,004 ERROR [STDERR] at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112) | 13:09:28,005 ERROR [STDERR] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100) | 13:09:28,006 ERROR [STDERR] at $Proxy196.RicercaKeywords(Unknown Source) | 13:09:28,006 ERROR [STDERR] at servizioAteneo.web.RicercaServlet.doGet(RicercaServlet.java:89) | 13:09:28,007 ERROR [STDERR] at servizioAteneo.web.RicercaServlet.doPost(RicercaServlet.java:112) | 13:09:28,008 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | 13:09:28,008 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | 13:09:28,009 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | 13:09:28,011 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | 13:09:28,012 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | 13:09:28,012 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | 13:09:28,013 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | 13:09:28,016 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | 13:09:28,017 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | 13:09:28,018 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | 13:09:28,018 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | 13:09:28,019 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | 13:09:28,035 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | 13:09:28,037 ERROR [STDERR] at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) | 13:09:28,037 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | 13:09:28,038 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | 13:09:28,039 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | 13:09:28,039 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | 13:09:28,040 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | 13:09:28,041 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | 13:09:28,041 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595) | 13:09:28,042 ERROR [STDERR] Caused by: javax.xml.soap.SOAPException: Could not transmit message | 13:09:28,043 ERROR [STDERR] at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:204) | 13:09:28,044 ERROR [STDERR] at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:687) | 13:09:28,060 ERROR [STDERR] ... 60 more | 13:09:28,061 ERROR [STDERR] Caused by: org.jboss.remoting.CannotConnectException: Can not connect http client invoker. | 13:09:28,062 ERROR [STDERR] at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:201) | 13:09:28,063 ERROR [STDERR] at org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:81) | 13:09:28,064 ERROR [STDERR] at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:143) | 13:09:28,066 ERROR [STDERR] at org.jboss.remoting.Client.invoke(Client.java:525) | 13:09:28,067 ERROR [STDERR] at org.jboss.remoting.Client.invoke(Client.java:488) | 13:09:28,069 ERROR [STDERR] at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:189) | 13:09:28,069 ERROR [STDERR] ... 61 more | 13:09:28,070 ERROR [STDERR] Caused by: java.net.UnknownHostException: fornost | 13:09:28,071 ERROR [STDERR] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177) | 13:09:28,071 ERROR [STDERR] at java.net.Socket.connect(Socket.java:507) | 13:09:28,072 ERROR [STDERR] at java.net.Socket.connect(Socket.java:457) | 13:09:28,075 ERROR [STDERR] at sun.net.NetworkClient.doConnect(NetworkClient.java:157) | 13:09:28,076 ERROR [STDERR] at sun.net.www.http.HttpClient.openServer(HttpClient.java:365) | 13:09:28,076 ERROR [STDERR] at sun.net.www.http.HttpClient.openServer(HttpClient.java:477) | 13:09:28,077 ERROR [STDERR] at sun.net.www.http.HttpClient.(HttpClient.java:214) | 13:09:28,078 ERROR [STDERR] at sun.net.www.http.HttpClient.New(HttpClient.java:287) | 13:09:28,078 ERROR [STDERR] at sun.net.www.http.HttpClient.New(HttpClient.java:299) | 13:09:28,079 ERROR [STDERR] at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:792) | 13:09:28,093 ERROR [STDERR] at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:744) | 13:09:28,094 ERROR [STDERR] at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:669) | 13:09:28,094 ERROR [STDERR] at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:836) | 13:09:28,095 ERROR [STDERR] at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:163) | 13:09:28,096 ERROR [STDERR] ... 66 more | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080848#4080848 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080848 From do-not-reply at jboss.com Tue Sep 4 10:25:03 2007 From: do-not-reply at jboss.com (rroles) Date: Tue, 4 Sep 2007 10:25:03 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: If I deploy more than one webservice I get Message-ID: <4779801.1188915903413.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry I am so dense, but where IS WebContext, I would like to try and use it to solve an issue I am having with multiple Context in deploying multiple Web Services, and cannot find it in any Web Services JBOSS jar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080913#4080913 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080913 From do-not-reply at jboss.com Tue Sep 4 15:21:59 2007 From: do-not-reply at jboss.com (oskar.carlstedt) Date: Tue, 4 Sep 2007 15:21:59 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - How di I get detail in SOAPFault Message-ID: <19455027.1188933719272.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello! I can't get the detail element of the SOAPFault. Is there a magic way to do this. I have a Provider< SOAPMessage > implementation. When I do the following ... | @Local | @Stateless | @WebServiceProvider( | serviceName = "MyService", | portName = "MyServiceSoap11Port", | targetNamespace = "http://my.service.com/something", | wsdlLocation = "META-INF/wsdl/my-service.wsdl") | @ServiceMode(value = Service.Mode.MESSAGE) | public class MyServiceEndpointProvider implements Provider { | | public SOAPMessage invoke(SOAPMessage requestSoapMessage) { | ... | | SOAPFault theSOAPFault = SOAPFactory.newInstance().createFault(); | Detail soapFaultDetail = soapFault.addDetail(); | SOAPElement myFaultElement = soapFaultDetail.addChildElement(new QName("http://my.service.com/common-ws/types", "myFault")); | SOAPElement myCodeElement = myFaultElement.addChildElement(new QName("http://my.service.com/common-ws/types", "code")); | myCodeElement.setNodeValue("SC_BAD_REQUEST"); | SOAPElement myMessageElement = myFaultElement.addChildElement(new QName("http://my.service.com/common-ws/types", "message")); | myMessageElement.setNodeValue("This is a faked error"); | throw new SOAPFaultException(theSOAPFault) | | ... | } | } | ... the detail part of the fault is missing, i.e. the serialized response does not contain my detail information, just the top fault element. Am I missing something obvious here or is it a bug. I'm using JBoss 4.2.1.GA with JBossWS 2.0.1.GA. And yes, my wsdl points out a fault element specifying the detail above. Thanks in advance /Oskar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081045#4081045 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081045 From do-not-reply at jboss.com Tue Sep 4 15:23:31 2007 From: do-not-reply at jboss.com (oskar.carlstedt) Date: Tue, 4 Sep 2007 15:23:31 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: How di I get detail in SOAPFault Message-ID: <29761994.1188933811018.JavaMail.jboss@colo-br-02.atl.jboss.com> The response I get from JBoss is: | | | | | codeNS:Server | javax.xml.ws.soap.SOAPFaultException | | | | //Oskar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081047#4081047 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081047 From do-not-reply at jboss.com Tue Sep 4 15:26:37 2007 From: do-not-reply at jboss.com (palin) Date: Tue, 4 Sep 2007 15:26:37 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Error: Could not transmit message Message-ID: <30362269.1188933997661.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Paoletto, "paoletto" wrote : | | Caused by: java.net.UnknownHostException: fornost | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177) | | at java.net.Socket.connect(Socket.java:507) | | at java.net.Socket.connect(Socket.java:457) | | at sun.net.NetworkClient.doConnect(NetworkClient.java:157) | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:365) | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:477) | | at sun.net.www.http.HttpClient.(HttpClient.java:214) | | at sun.net.www.http.HttpClient.New(HttpClient.java:287) | | at sun.net.www.http.HttpClient.New(HttpClient.java:299) | | it seems you're trying to access an unknown host "fornost"... I would suggest to check whether you can reach it from the host your jboss is running on. Also consider upgrading from 1.0.3 (if you're using this) to 2.0 and using jaxws, you might have a lot of benefits. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081050#4081050 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081050 From do-not-reply at jboss.com Tue Sep 4 18:48:15 2007 From: do-not-reply at jboss.com (narayam) Date: Tue, 4 Sep 2007 18:48:15 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: jbossws-2.0.1 released Message-ID: <23971112.1188946095302.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Thomas, All the links mentioned here are not working. Where else can I get hold of the Quick Start / User Guide? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081128#4081128 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081128 From do-not-reply at jboss.com Wed Sep 5 10:28:31 2007 From: do-not-reply at jboss.com (garethevans) Date: Wed, 5 Sep 2007 10:28:31 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Cannot find service endpoint target Message-ID: <13224063.1189002511459.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I've been having the same issue (with jboss-4.2.1GA and jbossws-2.0.1.GA). I managed to get around it replacing all @EJB annotations with @Resource annotations within my web services. Gareth View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081341#4081341 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081341 From do-not-reply at jboss.com Wed Sep 5 11:34:06 2007 From: do-not-reply at jboss.com (clatasa) Date: Wed, 5 Sep 2007 11:34:06 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - How to get Exception inheritance in my WSDL.... Message-ID: <29757271.1189006446021.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, Perhaps this is a user question however it appears to be a bug... I'm using wsprovide (an ant task in maven on windows) to generate my wsdl and then wsconsume to generate my client classes. My web service method throws multiple exceptions, some of which extend from each other. Unfortunately that inheritance relationship is lost in the generated wsdl (no < extension base...) and of course in the client classes. Is there some way to get the wsprovide task to do what I'm asking for? Maybe with an annotation or something specific passed in when I call the task? Thanks in advance. BTW - there are multiple JIRA items (like: http://jira.jboss.com/jira/browse/JBWS-251) that refer to this issue issue. However it doesn't appear that it ever valid or addressed. So I'm wondering if there's something basic that I should be doing? Like digging into the documentation on javaToWSDL which I believe is being used by wsprovide. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081372#4081372 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081372 From do-not-reply at jboss.com Wed Sep 5 11:41:18 2007 From: do-not-reply at jboss.com (vshorreo) Date: Wed, 5 Sep 2007 11:41:18 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Problem migrating Weblogic web services to JBoss Message-ID: <27717314.1189006878791.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi We are migrating to JBoss an existent web services module, originally developed to Weblogic. We have the beans that implement the business logic and the wsdl file that was generated for Weblogic using a Servicegen task. The existent beans have been adapted to an EJB-based JBoss web service, that is, with an endpoint class and generating the wsdl and xml files with wstools within an Ant task. The wsdl generated by the JBoss tools is quite different to the one that was generated by the Weblogic Servicegen tool. On the other hand, there is a previosuly developed client that worked fine with the webservices in Weblogic, but doesn't work now with the new web services in Jboss. We have developed a new client using wsdl2java included in the Eclipse Webtools plugin based on Axis runtime and it communicates with the server, although there are problems regarding null values (Axis SOAP requests are not comlpetely understood by the server regarding these values). Our biggest problem is that the existent client should not be changed, and we are not able to get it working with the new web services in JBoss (probably because the wsdls are quite different) Is there anyway to migrate the web services to JBoss without changing the current wsdl? Any ideas to solve this issue? Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081380#4081380 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081380 From do-not-reply at jboss.com Wed Sep 5 16:22:09 2007 From: do-not-reply at jboss.com (oskar.carlstedt) Date: Wed, 5 Sep 2007 16:22:09 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: How di I get detail in SOAPFault Message-ID: <20884052.1189023729578.JavaMail.jboss@colo-br-02.atl.jboss.com> ... and I was expecting something like | | | | | codeNS:Server | javax.xml.ws.soap.SOAPFaultException | | | SC_BAD_REQUEST | This is a faked error | | | | | | Does anyone know how I shall write my code to get the detail part of the message to be serialized. Is it a bug? //Oskar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081484#4081484 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081484 From do-not-reply at jboss.com Thu Sep 6 05:15:05 2007 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 6 Sep 2007 05:15:05 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - how to return an empty http response instead of soapmessage Message-ID: <32998760.1189070105712.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm implementing an ebMS 2.0 Message Service Handler with JBossWS 2.0.0 and related frameworks. According to the ebMS 2.0 spec, In all cases a soapmessage is received and in many cases a soapmessage has to be returned. Therefor I choose the 'message' way of communicating. However in some cases an empty response (no soapmessage, just an http 200 ok) has to be returned. First thing I tried was returning 'null' hoping that would do the trick. Unfortunately it didn't. I can do several things now - do not use the 'message' way but start using the source - try something with a soaphandler by e.g. setting the messagecontext to null - return a basic soapmessage and write a servletfilter that deletes this if it encounters it The first option would result in to much coding (imo), the second might not work and the last one doesn't feel 'right' Does anybody have a different suggestion? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081601#4081601 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081601 From do-not-reply at jboss.com Thu Sep 6 06:46:11 2007 From: do-not-reply at jboss.com (RomeuFigueira) Date: Thu, 6 Sep 2007 06:46:11 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: how to return an empty http response instead of soapmess Message-ID: <13398765.1189075571262.JavaMail.jboss@colo-br-02.atl.jboss.com> I had a similiar problem to the one you're having, but instead of a simple "http 200 ok" message I needed the actual empty SOAPMessage to be returned, like this one: | | | | | To make the actual message above, all I had to do was to match a void type of function return with the following WSDL mapping for it's return (in this case a void return): If you should eliminate the above line then a single reply will be sent with the "http 200 ok" will be sent, therefore acting as a return receipt on an async call. Last reference to be made about this is that this works at least in the JBossWS 1.0.4 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081633#4081633 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081633 From do-not-reply at jboss.com Thu Sep 6 06:49:06 2007 From: do-not-reply at jboss.com (sebcio) Date: Thu, 6 Sep 2007 06:49:06 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: jbossws-2.0.1 released Message-ID: <19871285.1189075746026.JavaMail.jboss@colo-br-02.atl.jboss.com> Please move the WS-Wiki to a working server. Has anyone guides about JBoss-WS as PDF? If so, please post links here. Thx View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081634#4081634 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081634 From do-not-reply at jboss.com Thu Sep 6 06:56:53 2007 From: do-not-reply at jboss.com (sebcio) Date: Thu, 6 Sep 2007 06:56:53 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: jbossws-2.0.1 released Message-ID: <7194170.1189076213755.JavaMail.jboss@colo-br-02.atl.jboss.com> sorry, found this: http://labs.jboss.com/jbossws/docs/index.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081638#4081638 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081638 From do-not-reply at jboss.com Thu Sep 6 09:50:17 2007 From: do-not-reply at jboss.com (Maffewl) Date: Thu, 6 Sep 2007 09:50:17 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: wsconsume schema type reference problem Message-ID: <3090635.1189086617683.JavaMail.jboss@colo-br-02.atl.jboss.com> bump, i'm having the same issue, any thoughts? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081679#4081679 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081679 From do-not-reply at jboss.com Thu Sep 6 11:42:22 2007 From: do-not-reply at jboss.com (rbellia) Date: Thu, 6 Sep 2007 11:42:22 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Secure Webservice Message-ID: <21992340.1189093342384.JavaMail.jboss@colo-br-02.atl.jboss.com> I have the same probelm with JBoss AS 4.2.1 ... The endpoint: | @Stateless @WebService | @RolesAllowed({"clerk"}) | public class CalculatorBean implements CalculatorRemote, CalculatorLocal { | | @Resource SessionContext sessionCtx; | | public Integer sum(Integer a, Integer b) { | System.out.println("who is it ? " + sessionCtx.getCallerPrincipal()); | return a + b; | } | | } | The client: | CalculatorBeanService service = new CalculatorBeanService(); | CalculatorBean port = service.getCalculatorBeanPort(); | BindingProvider bp = (BindingProvider) port; | bp.getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, "http://localhost:8080/CalculatorBeanService/CalculatorBean"); | bp.getRequestContext().put(BindingProvider.USERNAME_PROPERTY, "user1"); | bp.getRequestContext().put(BindingProvider.PASSWORD_PROPERTY, "password1"); | | // TODO initialize WS operation arguments here | java.lang.Integer result = port.sum(4002, 450); | System.out.println("Result = "+result); | The exception: javax.xml.ws.soap.SOAPFaultException: Authorization failure | The security domain works fine if I use a remote EJB client. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081727#4081727 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081727 From do-not-reply at jboss.com Thu Sep 6 15:06:28 2007 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 6 Sep 2007 15:06:28 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: how to return an empty http response instead of soapmess Message-ID: <21017995.1189105589011.JavaMail.jboss@colo-br-02.atl.jboss.com> thanks, but I do not need or have a wsdl. Besides that, creating and returning an empty soapmessage is not a problem. That is in code also one line. Removing/not sending it is the problem. What I forgot to mention is that I need both on the same url and can only use a value in the message to detect what I should return. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081822#4081822 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081822 From do-not-reply at jboss.com Thu Sep 6 15:30:10 2007 From: do-not-reply at jboss.com (Maffewl) Date: Thu, 6 Sep 2007 15:30:10 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - wstools instead of wsconsume? Message-ID: <1589288.1189107010189.JavaMail.jboss@colo-br-02.atl.jboss.com> How do I know when to use wstools instead of wsconsume? Does wstools provide functinality that wsconsume does not? I'm havig problems running WSConsume on a legacy WSDL, Im getting the error : [ERROR] Invalid wsdl:operation "fooBar": its a rpc-literal operation, message part must refer to a schema type declaration View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081831#4081831 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081831 From do-not-reply at jboss.com Thu Sep 6 18:28:35 2007 From: do-not-reply at jboss.com (gbc@gmx.de) Date: Thu, 6 Sep 2007 18:28:35 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Accessing a Java JBossWS WebService from VBScript not workin Message-ID: <20850422.1189117715811.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I ran into the situation to call a Java WebService from within a .vbs file. I created a simple WebService and after searching the net and the forum I ended up with this. My method is being called at least, but my .vbs variable is null afterward. I have no clue what to do next... After first failing, I already installed MS SoapToolkit 2.0 and my .vbs is now: | Option Explicit | | Dim c, wsdl | | wsdl = "http://localhost:8080/SimpleWebServices/SimpleWeb?wsdl" | | set c = CreateObject("MSSOAP.SOAPClient") | c.mssoapinit(wsdl) | | c.isAlive | My WebService: | @Stateless | @WebService | @WebContext(contextRoot="/SimpleWebServices") | @SOAPBinding(style = SOAPBinding.Style.RPC) | public class SimpleWeb implements SimpleWebInterface { | | @Logger Log log; | | @WebMethod | public void isAlive() { | System.out.println("SimpleWeb.isAlive()"); | } | | } | I'm using Java 1.5, JBoss 4.2 GA (with JBosWS1.2.1GA) and JBoss Seam 2.0 Beta1 (well, shouldn't matter in this case imho, because the WebService isn't a Seam component) My standard-jaxws-endpoint-config.xml: | | | Seam WebService Endpoint | | | | ##SOAP11_HTTP | | | | SOAP Request Handler | | | org.jboss.seam.webservice.SOAPRequestHandler | | | | | | | Finaly here's the generated wsdl: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Executing my .vbs script gives following output | C:\Data\PrintServerProcessor>cscript PrintServerProcesser.vbs | Microsoft (R) Windows Script Host Version 5.6 | Copyright (C) Microsoft Corporation 1996-2001. All rights reserved. | | C:\Data\PrintServerProcessor\PrintServerProcesser.vbs(17, 1) (null): Unspecified | error | Looking into JBoss Log after switching to TRACE level for JBossWS I saw that calls are going in and out and my method is being called: | 2007-09-07 00:10:45,828 TRACE [org.jboss.ws.core.jaxws.handler.HandlerChainExecutor] BEFORE handleRequest - org.jboss.seam.webservice.SOAPRequestHandler at 1fe0dcb | | | | | | | 2007-09-07 00:10:45,828 TRACE [org.jboss.ws.core.CommonMessageContext] put: APPLICATION:org.jboss.ws.allow.expand.dom=true | 2007-09-07 00:10:45,828 TRACE [org.jboss.ws.core.CommonMessageContext] get(javax.xml.ws.handler.message.outbound): APPLICATION:javax.xml.ws.handler.message.outbound=false | 2007-09-07 00:10:45,828 TRACE [org.jboss.ws.core.CommonMessageContext] get(javax.xml.ws.servlet.request): APPLICATION:javax.xml.ws.servlet.request=org.apache.catalina.connector.RequestFacade at 20e54a | 2007-09-07 00:10:45,859 TRACE [org.jboss.ws.core.jaxws.handler.HandlerChainExecutor] AFTER handleRequest - org.jboss.seam.webservice.SOAPRequestHandler at 1fe0dcb: unchanged | 2007-09-07 00:10:45,859 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerChainExecutor] Exit: handleIn BoundMessage with status: true | 2007-09-07 00:10:45,859 TRACE [org.jboss.ws.core.CommonMessageContext] put: APPLICATION:org.jboss.ws.allow.expand.dom=true | 2007-09-07 00:10:45,875 DEBUG [org.jboss.ws.integration.jboss42.ServiceEndpointInvokerEJB3] invokeServiceEndpoint: isAlive | 2007-09-07 00:10:45,875 DEBUG [org.jboss.ws.core.EndpointInvocation] getRequestPayload | 2007-09-07 00:10:46,000 INFO [STDOUT] SimpleWeb.isAlive() | 2007-09-07 00:10:46,000 DEBUG [org.jboss.ws.core.EndpointInvocation] setReturnValue: null | Using @Oneway as suggest in a Thread does not work because my .vbs gives error that ResponseType is empty. Well, I guess, the wsdl or the answer is not parsed correctly because it's empty or something like that, as c is getting null (should not happen ;-). What do I miss/did wrong? I would appriciate any help. Thank you! Greetz, GHad View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081893#4081893 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081893 From do-not-reply at jboss.com Thu Sep 6 18:29:49 2007 From: do-not-reply at jboss.com (gbc@gmx.de) Date: Thu, 6 Sep 2007 18:29:49 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Accessing a Java JBossWS WebService from VBScript not wo Message-ID: <12452470.1189117789407.JavaMail.jboss@colo-br-02.atl.jboss.com> Well, of course in my WebService I don't have | @Logger Log log; | right now, sorry, forgot to edit... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081895#4081895 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081895 From do-not-reply at jboss.com Thu Sep 6 18:32:16 2007 From: do-not-reply at jboss.com (mendaye) Date: Thu, 6 Sep 2007 18:32:16 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - JBoss wstool generate incorrect WSDL file Message-ID: <28448696.1189117936187.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello All: I am using JBOSS 4.0.4 to do web services development. I have created WSDL and all other XML file for my EJB end-point using JBoss wstool. I have successfully deployed and tested this Web Service. However, it worked fine when the rutun type of the methods are Java primitave types. For some reason it doesn't work for Java Collection type (ArrayList, Hashtable, Hashmap) - I get exception from JBoss Server "XML document structures must start and end within the same entity" - I look deep into WSDL file, it seems the complex data type generated for these collection classes and custom object is wrong. I have attached the code, WSDL and other XML file. I am not sure if I miss something here. Please help!!! JBoss ant task | | | | | | | | | wstools-config.xml file | | | | | | | | | | | | Generated WSDL file - Please look at the bold part for complex data type. | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | EJB endpoint remote interface that return collection Vector, ArratList, Hashtable etc.. | | public interface DeviceEndpoint extends Remote { | public ArrayList getNames() throws RemoteException, PVNGAPIException; | public Vector getAllNames(String s) throws RemoteException, PVNGAPIException; | public HashMap getAllValues(String s) throws RemoteException, PVNGAPIException; | public Hashtable getAllHashValues(String s) throws RemoteException, PVNGAPIException; | | Please let me know if there is any workaround to this issue. Regards, Surafel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081896#4081896 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081896 From do-not-reply at jboss.com Thu Sep 6 22:26:15 2007 From: do-not-reply at jboss.com (vashistvishal) Date: Thu, 6 Sep 2007 22:26:15 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - When JbossWS Wiki will be online Message-ID: <23981453.1189131975243.JavaMail.jboss@colo-br-02.atl.jboss.com> Guys any updates on JbossWS Wiki wil be back online View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081929#4081929 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081929 From do-not-reply at jboss.com Thu Sep 6 22:32:46 2007 From: do-not-reply at jboss.com (vashistvishal) Date: Thu, 6 Sep 2007 22:32:46 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: JBoss wstool generate incorrect WSDL file Message-ID: <28612795.1189132366742.JavaMail.jboss@colo-br-02.atl.jboss.com> Have you tried updating to New JBoss WS stack which is out now - JbossWs 2.0.1 GA. Just download that and deploy it and then see what do u get. You are using Doc Literal wrapped style of service. I would say use wsconsume ans wsprovide which comes in new jbossws stack and is more Jax Ws complaint as compared o the one shipped in Jboss4.0.4 If your consumer and provider are both using same stack then it should work seamlessly View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081930#4081930 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081930 From do-not-reply at jboss.com Thu Sep 6 22:37:43 2007 From: do-not-reply at jboss.com (vashistvishal) Date: Thu, 6 Sep 2007 22:37:43 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: wstools instead of wsconsume? Message-ID: <24410179.1189132663884.JavaMail.jboss@colo-br-02.atl.jboss.com> Well new tool sets provide wsconsume nd wsprovide are built for Jax-WS style of web services and are using annotations(JSR -181) which is part of Jax-WS spec (Jsr 224). Old tools like wstools are not using annotions for services, they are providing Jsr-109 based service and JAX-RPC (JSR 101) style web service. SO if you want to move to Jax-ws style of web service then use wscosnume and wsprovide, but if you want to continue in Jax-RPC style of web service then use wstools. I hope this helps. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081931#4081931 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081931 From do-not-reply at jboss.com Thu Sep 6 22:50:25 2007 From: do-not-reply at jboss.com (vashistvishal) Date: Thu, 6 Sep 2007 22:50:25 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: wsconsume schema type reference problem Message-ID: <11569189.1189133425069.JavaMail.jboss@colo-br-02.atl.jboss.com> I thnk by the look of it , the iisue is how yr mthod name and inpout raument name are different. According to new spech JSr-224 which is what is used for these tools, yr method name should be same as input arguement name. Please read the spec and you will discover more, new spec is very pedantic about these conventions. I have enclosed a WSDL for Doc/Lit wraped style of service to give you hints, this works with Wsconsume | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081933#4081933 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081933 From do-not-reply at jboss.com Fri Sep 7 06:46:32 2007 From: do-not-reply at jboss.com (itrahulsoni) Date: Fri, 7 Sep 2007 06:46:32 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: JBoss wstool generate incorrect WSDL file Message-ID: <12808535.1189161992190.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi There I want to know that how you have developed this webservice. I am new to webservice and try to deveop webservice for the JBoss using Ant. what tools I have need for that and how should I do that I know that I have to create war file using the ant task and then after I have to deploy that on the JBoss server how do i do that????????? Regards, Rahul. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082075#4082075 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082075 From do-not-reply at jboss.com Fri Sep 7 06:59:44 2007 From: do-not-reply at jboss.com (kukeltje) Date: Fri, 7 Sep 2007 06:59:44 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: how to return an empty http response instead of soapmess Message-ID: <18871956.1189162784718.JavaMail.jboss@colo-br-02.atl.jboss.com> A handler works for filtering out the soapenvelope. So that is fairly easy. Now I have to do it the other way around. Send out a soapmessage and expect just an empty http 200 response without any body. Maybe the dispatch invokeOnWay can do this but I'm not sure. Strange that there is no receiveOneWay.... or an option to direct this. If all works, I'll post the example. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082083#4082083 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082083 From do-not-reply at jboss.com Fri Sep 7 07:04:28 2007 From: do-not-reply at jboss.com (kukeltje) Date: Fri, 7 Sep 2007 07:04:28 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Accessing a Java JBossWS WebService from VBScript not wo Message-ID: <27199754.1189163069006.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm no specialist, but the return type of isAlive is void.... So afaics this is perfectly correct. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082088#4082088 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082088 From do-not-reply at jboss.com Fri Sep 7 07:59:07 2007 From: do-not-reply at jboss.com (vashistvishal) Date: Fri, 7 Sep 2007 07:59:07 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: JBoss wstool generate incorrect WSDL file Message-ID: <31909833.1189166347215.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm not using any tools, this one is created by hand (WSDL file) and used wsconsume to generate stubs and have my server side in .NET. What you can do is follow this guide and examples. Also Jbossws stack binary (seperate download is avaialble) have some examples in it in tools directory i think, that will give you clues as well http://labs.jboss.com/jbossws/docs/jaxws_userguide-2.0/index.html You should firt try to create an implementation and don't worry about ant target yet just create an exploded war file (like test.war directory) under deploy directoty and put yr pojo based class as SEI and declare it as servlet in web.xml file for that war. Use the JAX -ws user guide mentioned above and look at some steps described here for directory structure and deploy. http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWS181HelloWorld dont create yr service/class file using this as this is not using annotations. Use the user guide examples for that I hope this helps. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082110#4082110 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082110 From do-not-reply at jboss.com Fri Sep 7 08:54:03 2007 From: do-not-reply at jboss.com (gbc@gmx.de) Date: Fri, 7 Sep 2007 08:54:03 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Accessing a Java JBossWS WebService from VBScript not wo Message-ID: <4235308.1189169643524.JavaMail.jboss@colo-br-02.atl.jboss.com> Well, I know the return type is void, but WScript should not abort my script, if a WebService defines a method with void... I also tried boolean as return type with same result. VBScript seems to interpret the return message wrong. Is there a chance to annotate my WebMethods with some Annotation so that my vVBScript variable c isn't null? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082134#4082134 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082134 From do-not-reply at jboss.com Fri Sep 7 09:23:21 2007 From: do-not-reply at jboss.com (mendaye) Date: Fri, 7 Sep 2007 09:23:21 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: JBoss wstool generate incorrect WSDL file Message-ID: <26633484.1189171401108.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello vashistvishal and others: Thanks for responding. My problem is the WSDL generated using JBoss 4.0.4 build in wstool for custom complex object and java collection class is wrong. I tried both RPC and doc style and it does't work when the return type is Java Collection object. I need to know if this is a known issue in 4.0.4 before I move to the latest JbossWs stack. Look below what I get for Hashtable, ArrayList, Vector and other custom objects... Do you think upgrading to the lasest Web Service help? Please help! Thanks, Surafel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082147#4082147 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082147 From do-not-reply at jboss.com Fri Sep 7 09:28:52 2007 From: do-not-reply at jboss.com (mendaye) Date: Fri, 7 Sep 2007 09:28:52 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: JBoss wstool generate incorrect WSDL file Message-ID: <33166727.1189171732086.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry the WSDL disappear in my message here it is agin | | | | | | | | | | | | | | | | | | | | | | | | | | | As shown above the WSDL for jave collection object was Wrong. Pls help to resolve this issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082152#4082152 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082152 From do-not-reply at jboss.com Fri Sep 7 11:17:41 2007 From: do-not-reply at jboss.com (mendaye) Date: Fri, 7 Sep 2007 11:17:41 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Upgrading to JbossWs 2.0.1 GA Message-ID: <29677077.1189178261885.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello - I am using JBoss 4.0.4 and would like to upgrade my Web Service stack that comes with 4.0.4 to JbossWs 2.0.1 GA. Do you know if this is possible? If so how? Can someone point me a document how I can do that? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082208#4082208 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082208 From do-not-reply at jboss.com Fri Sep 7 11:54:19 2007 From: do-not-reply at jboss.com (clatasa) Date: Fri, 7 Sep 2007 11:54:19 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - New Wiki has been down for at least a day and a half.... Message-ID: <12961419.1189180459202.JavaMail.jboss@colo-br-02.atl.jboss.com> I've been trying to get info on wsconsume and it appears the wiki is the only place. Does anyone know how to turn off or control the naming of _Exception in client generated code using this tool? Also, this tool creates MyException_Exception as well as MyException in the client generated code. Without diving into the source of how wsconsume works, can someone point me toward documentation explaining this ... configuration??? Thanks. Carlo. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082225#4082225 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082225 From do-not-reply at jboss.com Fri Sep 7 14:06:27 2007 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Fri, 7 Sep 2007 14:06:27 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: New Wiki has been down for at least a day and a half.... Message-ID: <12516426.1189188387869.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, sorry for that. The compiled WIKI contents are accesible here: http://labs.jboss.com/jbossws/docs/jaxws_userguide-2.0/index.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082254#4082254 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082254 From do-not-reply at jboss.com Fri Sep 7 14:07:48 2007 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Fri, 7 Sep 2007 14:07:48 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Upgrading to JbossWs 2.0.1 GA Message-ID: <6379958.1189188468296.JavaMail.jboss@colo-br-02.atl.jboss.com> Modify the ant.properties that ship with the distribution and run 'ant deploy-jboss40' View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082255#4082255 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082255 From do-not-reply at jboss.com Fri Sep 7 14:09:13 2007 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Fri, 7 Sep 2007 14:09:13 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: When JbossWS Wiki will be online Message-ID: <31282974.1189188553792.JavaMail.jboss@colo-br-02.atl.jboss.com> Please work with the compiled WIKI contents in the meantime: http://labs.jboss.com/jbossws/docs/index.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082256#4082256 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082256 From do-not-reply at jboss.com Fri Sep 7 14:11:02 2007 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Fri, 7 Sep 2007 14:11:02 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: How to configure APache CXF with JBossws stack. Message-ID: <19969716.1189188662587.JavaMail.jboss@colo-br-02.atl.jboss.com> This currently only possible if you checkout trunk. CXF support is not included in the distribution at the moment. We are working with Apache to get this out soon. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082257#4082257 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082257 From do-not-reply at jboss.com Fri Sep 7 14:13:28 2007 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Fri, 7 Sep 2007 14:13:28 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: jbossWS 2.0.1 and JDK 1.6 Message-ID: <15494615.1189188808144.JavaMail.jboss@colo-br-02.atl.jboss.com> In order to run JBossWS on JDK 6 you need to replace the API's that have been included in JDK 6, namely jaxrpc, jaxws, jaxb and saaj. Copy the following jars to ${JBOSS_HOME}/lib/endorsed: * jboss-jaxrpc.jar * jboss-saaj.jar * jaxb-api.jar * jaxws-api.jar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082258#4082258 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082258 From do-not-reply at jboss.com Fri Sep 7 14:17:46 2007 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Fri, 7 Sep 2007 14:17:46 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: NullPointerException with jbossws 2.0.1 Message-ID: <19009971.1189189066519.JavaMail.jboss@colo-br-02.atl.jboss.com> thanks for the thorough report guys. i appreciate it ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082259#4082259 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082259 From do-not-reply at jboss.com Fri Sep 7 14:19:49 2007 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Fri, 7 Sep 2007 14:19:49 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Problem with inheritance and JBossWS Message-ID: <1703622.1189189189458.JavaMail.jboss@colo-br-02.atl.jboss.com> It's fixed. You'll need to work with @XmlSeeAlso (http://jsourcery.com/api/java.net/jaxb/2.1.2/javax/xml/bind/annotation/XmlSeeAlso.html) on the superclass. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082260#4082260 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082260 From do-not-reply at jboss.com Fri Sep 7 14:25:40 2007 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Fri, 7 Sep 2007 14:25:40 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: If I deploy more than one webservice I get Message-ID: <26842999.1189189540088.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, @WebContext is the way to. Unfortunately there is no Xml equivalent at the moment. You'll find that in the next release. With 2.0.1 the class resides in: jbossws-spi.jar org/jboss/wsf/spi/annotation/WebContext.class View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082261#4082261 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082261 From do-not-reply at jboss.com Fri Sep 7 14:28:03 2007 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Fri, 7 Sep 2007 14:28:03 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Axis vs Jboss compat issue Message-ID: <27785303.1189189683747.JavaMail.jboss@colo-br-02.atl.jboss.com> Could you post the WSDL, a sample request that causes the erorr and possibly the lines of code where the NPE is thrown? What axis version is it? I hope at axis2... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082262#4082262 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082262 From do-not-reply at jboss.com Fri Sep 7 16:19:32 2007 From: do-not-reply at jboss.com (bblasko) Date: Fri, 7 Sep 2007 16:19:32 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - EndpointRegistry JMX Bean in 2.0 NOT in 2.0.1 Message-ID: <31875341.1189196372095.JavaMail.jboss@colo-br-02.atl.jboss.com> I recently upgraded from 2.0 to 2.0.1 and the JMX bean registered for under jboss.ws:service=EndpointRegistry no longer exists. We had been using this bean to monitor our web services. Why was this bean removed and/or is there a replacement for this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082275#4082275 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082275 From do-not-reply at jboss.com Fri Sep 7 18:30:41 2007 From: do-not-reply at jboss.com (palin) Date: Fri, 7 Sep 2007 18:30:41 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Accessing a Java JBossWS WebService from VBScript not wo Message-ID: <21040340.1189204241166.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, did you try capturing the response soap message? How does it look? If it's correct you might focus on the vbs side of the issue, otherwise we should investigate why jbossws is not working as expected. Bye Alessio Soldano View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082299#4082299 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082299 From do-not-reply at jboss.com Fri Sep 7 19:01:38 2007 From: do-not-reply at jboss.com (koganty) Date: Fri, 7 Sep 2007 19:01:38 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Problem with inheritance and JBossWS Message-ID: <27150241.1189206098902.JavaMail.jboss@colo-br-02.atl.jboss.com> I am already using the XmlSeeAlso.. @XmlSeeAlso({Aa.class, Aaa.class}) public class A { } @XmlSeeAlso(Aaa.class) public class Aa extends A { } public class Aaa extends Aa {} And the WebService .. @WebService @SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED) @Stateless @RemoteBinding(jndiBinding=LookupConstants.CLIENT_MANAGER) @Depends({LookupConstants.CLIENT_SERVICE_OBJECT_NAME}) public class ClientManagerBean implements ClientManager { @WebMethod public A getA(int i) { A a = null; switch(i) { case 1: a = new Aa(); break; case 2: a = new Aa(); break; case 3: a = new Aaa(); break; } return a; } } This always returns just an object of type A on the Client side no matter what args I pass. I do not know what I'm missing... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082301#4082301 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082301 From do-not-reply at jboss.com Fri Sep 7 19:38:29 2007 From: do-not-reply at jboss.com (palin) Date: Fri, 7 Sep 2007 19:38:29 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: EndpointRegistry JMX Bean in 2.0 NOT in 2.0.1 Message-ID: <1793537.1189208309699.JavaMail.jboss@colo-br-02.atl.jboss.com> The EndpointRegistry still exists, however it's no longer registered into the mbean server and thus not shown in the jmx-console. The only meaningful attributes it might expose is the deployed endpoint list, is this what you're looking for? If so, I'll create a jira issue for you. Bye Alessio Soldano View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082305#4082305 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082305 From do-not-reply at jboss.com Fri Sep 7 20:04:07 2007 From: do-not-reply at jboss.com (palin) Date: Fri, 7 Sep 2007 20:04:07 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: JBoss wstool generate incorrect WSDL file Message-ID: <3408982.1189209847328.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, the wstools generated wsdl is not correct when using collections. If you need to stick to the jax-rpc stack, you should use arrays in spite of collections. However I suggest upgrading to the jaxws stack (2.0.x) and use wsconsume/wsprovide tools; the jaxws version supports concrete collection types. Alessio Soldano View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082309#4082309 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082309 From do-not-reply at jboss.com Fri Sep 7 20:07:54 2007 From: do-not-reply at jboss.com (gbc@gmx.de) Date: Fri, 7 Sep 2007 20:07:54 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Accessing a Java JBossWS WebService from VBScript not wo Message-ID: <14539620.1189210074712.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, thanks for your reply. I have the outgoing message here: | 2007-09-08 01:53:18,296 TRACE [org.jboss.ws.core.MessageTrace] Outgoing Response Message | | | 5 | | | | | | 2007-09-08 01:53:18,296 TRACE [org.jboss.ws.core.soap.SOAPBodyImpl] getFault | If I try my other simple method that returns a String | @WebMethod | public String helloWorld(String name) { | System.out.println("SimpleWeb.helloWorld(): " + name); | return "Hello " + name; | } | | I get same error and the return message looks like this: | 2007-09-08 01:50:49,671 TRACE [org.jboss.ws.core.MessageTrace] Outgoing Response Message | | | 4 | | | | Hello World | | | | 2007-09-08 01:50:49,671 TRACE [org.jboss.ws.core.soap.SOAPBodyImpl] getFault | 2007-09-08 01:50:49,671 DEBUG [org.jboss.ws.core.server.ServiceEndpoint] END handleRequest: jboss.ws:context=SimpleWebServices,endpoint=SimpleWeb | 2007-09-08 01:50:49,671 TRACE [org.jboss.ws.core.CommonMessageContext] get(javax.xml.ws.http.response.headers): null | 2007-09-08 01:50:49,671 TRACE [org.jboss.ws.core.CommonMessageContext] get(javax.xml.ws.http.response.code): null | 2007-09-08 01:50:49,671 TRACE [org.jboss.ws.core.soap.SOAPBodyImpl] hasFault | 2007-09-08 01:50:49,671 TRACE [org.jboss.ws.core.CommonMessageContext] get(javax.xml.ws.addressing.context.outbound): null | 2007-09-08 01:50:49,671 TRACE [org.jboss.ws.core.soap.SOAPContentElement] getChildNodes | 2007-09-08 01:50:49,671 TRACE [org.jboss.ws.core.soap.SOAPContentElement] getChildNodes | 2007-09-08 01:50:49,671 TRACE [org.jboss.ws.core.soap.SOAPContentElement] getChildNodes | 2007-09-08 01:50:49,671 TRACE [org.jboss.ws.core.soap.SOAPContentElement] getChildNodes | 2007-09-08 01:50:49,671 DEBUG [org.jboss.ws.core.soap.MessageContextAssociation] popMessageContext: org.jboss.ws.core.jaxws.handler.SOAPMessageContextJAXWS at 18b41da (Thread http-0.0.0.0-8080-1) | Hope this helps clearing things (I'm no pro in Soap behind WebServices :-) Greetings, GHad View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082310#4082310 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082310 From do-not-reply at jboss.com Fri Sep 7 20:54:36 2007 From: do-not-reply at jboss.com (palin) Date: Fri, 7 Sep 2007 20:54:36 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Problem migrating Weblogic web services to JBoss Message-ID: <26544365.1189212876363.JavaMail.jboss@colo-br-02.atl.jboss.com> I would follow a top-down development strategy using wsconsume (see the jaxws guide at http://labs.jboss.com/jbossws/docs/jaxws_userguide-2.0/index.html#d0e741) This should allow you to keep your previous wsdl contract, at least if it's compliant with standards. Bye Alessio Soldano View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082313#4082313 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082313 From do-not-reply at jboss.com Fri Sep 7 20:56:13 2007 From: do-not-reply at jboss.com (kingsz1) Date: Fri, 7 Sep 2007 20:56:13 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Help, JAX-WS in JBoss 4.2.1.GA Message-ID: <9330156.1189212973226.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I had download the JBoss 4.2.1.GA and installed it. If I want to try the web services using JAX-WS follow this tutorial: Web Services (JAX-WS) in Java EE 5 http://www.netbeans.org/kb/55/websvc-jax-ws.html , does the JAX-WS need to download and install? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082314#4082314 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082314 From do-not-reply at jboss.com Fri Sep 7 21:04:16 2007 From: do-not-reply at jboss.com (palin) Date: Fri, 7 Sep 2007 21:04:16 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Accessing a Java JBossWS WebService from VBScript not wo Message-ID: <27888219.1189213456653.JavaMail.jboss@colo-br-02.atl.jboss.com> The response you're getting seem correct to me. The jbossws stack is not throwing any exception, isn't it? I think this is a vbs side issue... Bye Alessio Soldano View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082315#4082315 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082315 From do-not-reply at jboss.com Fri Sep 7 21:14:02 2007 From: do-not-reply at jboss.com (palin) Date: Fri, 7 Sep 2007 21:14:02 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Help, JAX-WS in JBoss 4.2.1.GA Message-ID: <22578796.1189214042515.JavaMail.jboss@colo-br-02.atl.jboss.com> JBoss 4.2.1.GA already ships JBossWS. You should upgrade the bundle jbossws with the latest one (2.0.1.GA) that features a fully compliant jaxws implementation. This requires you to donwload jbossws-native-2.0.1.GA archive, inflate it, copy/edit ant.properties specifying your jboss install dir, then run ant deploy-jboss42. Please also take a look at the documentation (http://labs.jboss.com/jbossws/docs/jaxws_userguide-2.0/index.html) Bye Alessio Soldano View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082316#4082316 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082316 From do-not-reply at jboss.com Fri Sep 7 21:27:38 2007 From: do-not-reply at jboss.com (palin) Date: Fri, 7 Sep 2007 21:27:38 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Please Help WS Deployment Error... Message-ID: <16681485.1189214858783.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : java.lang.NoSuchMethodException: Not found in bean class: public abstract void javax.ejb.EJBObject.remove() throws java.rmi.RemoteException,javax.ejb.RemoveException Did you check your bean's methods? This might not be a ws issue... Bye Alessio Soldano View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082317#4082317 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082317 From do-not-reply at jboss.com Sat Sep 8 02:43:17 2007 From: do-not-reply at jboss.com (sstrenn) Date: Sat, 8 Sep 2007 02:43:17 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: jbossws-2.0.1 released Message-ID: <2712190.1189233797963.JavaMail.jboss@colo-br-02.atl.jboss.com> In order to get ant deploy-jboss42 to work on jbossws-2.0.1, I had to modify line 53 of build-deploy.xml: was: thirdpartylibs="${lib.dir}" /> changed to: thirdpartylibs="${lib.dir}" stacklibs="${lib.dir}" /> View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082324#4082324 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082324 From do-not-reply at jboss.com Sat Sep 8 06:26:28 2007 From: do-not-reply at jboss.com (gbc@gmx.de) Date: Sat, 8 Sep 2007 06:26:28 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Accessing a Java JBossWS WebService from VBScript not wo Message-ID: <15457577.1189247188444.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok, thanks for looking at it. I'll try MSSoapKit 3.0 over the weekend and report if it's working. After googling a while I found following piece of information: | VBS client -> Java | | put this attribute on element. | SOAP-ENV:encodingStyle=""http://schemas.xmlsoap.org/soap/encoding/" | Does this mean the same as this? | @SOAPBinding(style = SOAPBinding.Style.RPC) | Afaik the wsdl is generated by JBossWS so I don't have achance to edit it manualy. Is there an Annotation for this? Thank you very much. Greetz, GHad View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082336#4082336 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082336 From do-not-reply at jboss.com Sat Sep 8 08:18:27 2007 From: do-not-reply at jboss.com (palin) Date: Sat, 8 Sep 2007 08:18:27 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Accessing a Java JBossWS WebService from VBScript not wo Message-ID: <24540586.1189253907978.JavaMail.jboss@colo-br-02.atl.jboss.com> SOAP-ENV:encodingStyle=""http://schemas.xmlsoap.org/soap/encoding/" means an rpc/encoded wsdl, that is no longer supported since it has been disallowed in WS-I basic profile. The @SOAPBinding(style = SOAPBinding.Style.RPC) annotation says you want a rpc style wsdl (rpc/literal). I would verify that the vbs environment you're using support rpc/literal or document/literal wsdls. Btw you can expose custom wsdl documents with jbossws, but of course they have to be compliant with standards. Alessio Soldano View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082339#4082339 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082339 From do-not-reply at jboss.com Sat Sep 8 08:50:41 2007 From: do-not-reply at jboss.com (palin) Date: Sat, 8 Sep 2007 08:50:41 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Problem Converting EJB2.1 to Web Services Message-ID: <1714680.1189255841847.JavaMail.jboss@colo-br-02.atl.jboss.com> It's not clear to me whether your ws is not working or you only noticed those messages in the log. They're debug logs by the MainDeployer that seems to be ignoring those exceptions. Anyway as long as you correctly install JBoss AS and JBoss WS (if you need to update it to a more recent version), you should not need to copy or move those libraries as they are installed in the right path for you by the installation script. Alessio Soldano View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082342#4082342 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082342 From do-not-reply at jboss.com Sat Sep 8 09:28:46 2007 From: do-not-reply at jboss.com (palin) Date: Sat, 8 Sep 2007 09:28:46 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Deploying EJB Endpoint Web Services on Jboss-4.0.5.GA Message-ID: <6905608.1189258126294.JavaMail.jboss@colo-br-02.atl.jboss.com> See http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944063#3944063 You're using a wrong wsdl4j.jar library. Alessio Soldano View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082347#4082347 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082347 From do-not-reply at jboss.com Sun Sep 9 02:21:47 2007 From: do-not-reply at jboss.com (lretief) Date: Sun, 9 Sep 2007 02:21:47 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Unable to create connection to jUDDI registry Message-ID: <16180111.1189318907253.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Thomas, Thanks, I had looked at the test case. I then wrote a very similar piece of code but was getting the exception that it could not create an instance of null. It would seem to me, based on the JAX documentation, that the appropriate way to get hold of the ConnectionFactory would be via JNDI lookup. I am able to do this, as mentioned in my initial post, but then the NullPointer. Are you saying that the JBoss implementation does not support straightforward JNDI lookup to establish a connection? Thanks, Lisa View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082382#4082382 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082382 From do-not-reply at jboss.com Sun Sep 9 17:37:10 2007 From: do-not-reply at jboss.com (gbc@gmx.de) Date: Sun, 9 Sep 2007 17:37:10 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Accessing a Java JBossWS WebService from VBScript not wo Message-ID: <21658665.1189373830418.JavaMail.jboss@colo-br-02.atl.jboss.com> Uh, Trying MSSoapToolkit 3.0 made it even worse... Now, if calling method hello from this class: | @Stateless | @WebService | @WebContext(contextRoot="/SimpleWebServices") | @SOAPBinding(style = SOAPBinding.Style.RPC) | public class SimpleWeb implements SimpleWebInterface { | | @WebMethod | public boolean isAlive() { | System.out.println("SimpleWeb.isAlive()"); | return true; | } | | @WebMethod | public String hello(@WebParam(name="name") String name) { | System.out.println("SimpleWeb.helloWorld(): " + name); | return "Hello " + name + "!"; | } | | } | with this vbscript: | Option Explicit | | Dim wsdl, c, r | | wsdl = "http://localhost:8080/SimpleWebServices/SimpleWeb?wsdl" | | set c = CreateObject("MSSOAP.SoapClient30") | c.mssoapinit(wsdl) | | set r = c.hello("World") | | WScript.Echo r | I get: | C:\Data\Tests>cscript SimpleWebService.vbs | Microsoft (R) Windows Script Host Version 5.6 | Copyright (C) Microsoft Corporation 1996-2001. All rights reserved. | | C:\Data\Tests\SimpleWebService.vbs(10, 1) (null): Cannot find child element: name | With following log entries in Jboss 4.2.0 GA with JBossWS 1.2.1 GA and Seam 2.0 Beta 1: | 2007-09-09 23:11:10,921 TRACE [org.jboss.ws.core.MessageTrace] Incoming Request Message | | | | | World | | | | 2007-09-09 23:11:10,921 TRACE [org.jboss.ws.core.CommonMessageContext] put: APPLICATION:javax.xml.ws.binding.attachments.inbound={} | 2007-09-09 23:11:10,921 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerDelegateJAXWS] callRequestHandlerChain: POST | 2007-09-09 23:11:10,921 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerResolverImpl] initHandlerChain: PRE | 2007-09-09 23:11:10,937 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerResolverImpl] addHandler: | HandlerMetaDataJAXWS: | type=PRE | name=SOAP Request Handler | class=class org.jboss.seam.webservice.SOAPRequestHandler | params=[] | protocols=##SOAP11_HTTP | services=null | ports=null | 2007-09-09 23:11:10,937 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerResolverImpl] initHandlerChain: ENDPOINT | 2007-09-09 23:11:10,937 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerResolverImpl] initHandlerChain: POST | 2007-09-09 23:11:10,937 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerResolverImpl] getHandlerChain: [type=POST,info=[service={http://webservice.simple/}SimpleWebService,port={http://webservice.simple/}SimpleWebPort,binding=http://schemas.xmlsoap.org/wsdl/soap/http]] | 2007-09-09 23:11:10,937 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerChainExecutor] Create a handler executor: [] | 2007-09-09 23:11:10,937 TRACE [org.jboss.ws.core.CommonMessageContext] get(javax.xml.ws.handler.message.outbound): APPLICATION:javax.xml.ws.handler.message.outbound=false | 2007-09-09 23:11:10,953 TRACE [org.jboss.ws.core.CommonMessageContext] get(javax.xml.ws.addressing.context.inbound): null | 2007-09-09 23:11:10,953 DEBUG [org.jboss.ws.core.soap.SOAPMessageDispatcher] getDispatchDestination: {http://webservice.simple/}hello | 2007-09-09 23:11:10,953 DEBUG [org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS] unbindRequestMessage: {http://webservice.simple/}hello | 2007-09-09 23:11:10,953 DEBUG [org.jboss.ws.core.jaxws.handler.MessageContextJAXWS] Begin response processing | 2007-09-09 23:11:10,953 TRACE [org.jboss.ws.core.CommonMessageContext] get(javax.xml.ws.handler.message.outbound): APPLICATION:javax.xml.ws.handler.message.outbound=false | 2007-09-09 23:11:10,953 DEBUG [org.jboss.ws.core.soap.MessageContextAssociation] popMessageContext: org.jboss.ws.core.jaxws.handler.SOAPMessageContextJAXWS at a877c0 (Thread http-0.0.0.0-8080-1) | 2007-09-09 23:11:10,953 TRACE [org.jboss.ws.core.CommonMessageContext] put: APPLICATION:javax.xml.ws.handler.message.outbound=true | 2007-09-09 23:11:10,953 DEBUG [org.jboss.ws.core.soap.MessageContextAssociation] pushMessageContext: org.jboss.ws.core.jaxws.handler.SOAPMessageContextJAXWS at 1ceb670 (Thread http-0.0.0.0-8080-1) | 2007-09-09 23:11:10,968 ERROR [org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS] SOAP request exception | org.jboss.ws.WSException: Cannot find child element: name | at org.jboss.ws.core.CommonSOAPBinding.getParameterFromMessage(CommonSOAPBinding.java:866) | at org.jboss.ws.core.CommonSOAPBinding.unbindRequestMessage(CommonSOAPBinding.java:325) | at org.jboss.ws.core.server.AbstractServiceEndpointInvoker.invoke(AbstractServiceEndpointInvoker.java:187) | at org.jboss.ws.core.server.ServiceEndpoint.processRequest(ServiceEndpoint.java:212) | at org.jboss.ws.core.server.ServiceEndpointManager.processRequest(ServiceEndpointManager.java:448) | at org.jboss.ws.core.server.AbstractServiceEndpointServlet.doPost(AbstractServiceEndpointServlet.java:114) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) | at org.jboss.ws.core.server.AbstractServiceEndpointServlet.service(AbstractServiceEndpointServlet.java:75) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) | at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580) | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) | at java.lang.Thread.run(Thread.java:595) | with Outgoing message: | 2007-09-09 23:11:11,125 TRACE [org.jboss.ws.core.MessageTrace] Outgoing Response Message | | | | | env:Server | Cannot find child element: name | | | | Don't know what else to do... At least, the soap fault is transerred and interpreted by vbscript corrctly ;-) I tried to remove the Annotation: | @SOAPBinding(style = SOAPBinding.Style.RPC) | but then any parameters for the method gave me null result at server with no error thrown, so vbs is not able to post correct value. Even stranger: calling the simple isAlive Method from above gave me errors of an incorrect numbers of parameters. How can no paramters != no parameters when just used: call c.isAlive() What's next. I have no clue... Micros*ft says, Soapkit is deprecated and one should use dotnet to call webservices. but i found no example for vbsscript how to do that. .Net framework 2.0 is already installed, but how to call from vbscript? And with or without RPC styled SoapBinding on ServerSide? Thank you for your time and help, Greetz GHad View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082425#4082425 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082425 From do-not-reply at jboss.com Sun Sep 9 22:23:00 2007 From: do-not-reply at jboss.com (leaderbird) Date: Sun, 9 Sep 2007 22:23:00 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - start JBoss problem Message-ID: <4902853.1189390980784.JavaMail.jboss@colo-br-02.atl.jboss.com> I tried to follow jboss-5.0.0.Beta1 installation intructions to install jboss-5.0.0.Beta1on top of jboss-5.0.0.Beta1. After that, I tried to start JBoss, but I saw a lot of exceptions, and http://localhost:8080/jbossws could not be reached. Am I missing anything in the steps? any comments are appreciated. Part of the exception messages are ------------------------------------------------------------------------- 10:02:24,343 ERROR [BaseModelMBean] Exception invoking method addChild org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100) at org.jboss.web.metamodel.descriptor.WebDDObjectFactory.parse(WebDDObjectFactory.java:82) at org.jboss.web.tomcat.tc6.TomcatInjectionContainer.processMetadata(TomcatInjectionContainer.java:256) at org.jboss.web.tomcat.tc6.WebAppLoader.start(WebAppLoader.java:104) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4198) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) 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 org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) at org.apache.catalina.core.StandardContext.init(StandardContext.java:5285) 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 org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) at org.jboss.web.tomcat.tc6.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:302) at org.jboss.web.tomcat.tc6.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:129) at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:355) at org.jboss.web.deployers.WebModule.startModule(WebModule.java:88) at org.jboss.web.deployers.WebModule.start(WebModule.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 org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) 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:668) at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:184) at $Proxy0.start(Unknown Source) at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42) at org.jboss.system.microcontainer.ServiceControllerContextAction.install(ServiceControllerContextAction.java:46) at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226) at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:198) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:709) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:429) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:538) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:472) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:320) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:190) at org.jboss.system.ServiceController.doChange(ServiceController.java:656) at org.jboss.system.ServiceController.start(ServiceController.java:431) at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:124) at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:85) at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:44) at org.jboss.deployers.plugins.deployers.helpers.AbstractSimpleRealDeployer.deploy(AbstractSimpleRealDeployer.java:53) at org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDeploy(AbstractSimpleDeployer.java:52) at org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(DeployerWrapper.java:145) at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:440) at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:381) at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:366) at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:246) at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89) at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:401) at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:340) at org.jboss.Main.boot(Main.java:210) at org.jboss.Main$1.run(Main.java:508) at java.lang.Thread.run(Thread.java:595) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082435#4082435 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082435 From do-not-reply at jboss.com Sun Sep 9 22:26:26 2007 From: do-not-reply at jboss.com (leaderbird) Date: Sun, 9 Sep 2007 22:26:26 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: start JBoss problem Message-ID: <19635476.1189391186268.JavaMail.jboss@colo-br-02.atl.jboss.com> "leaderbird" wrote : I tried to follow jboss-5.0.0.Beta1 installation intructions to install jboss-5.0.0.Beta1on top of jboss-5.0.0.Beta1. | | After that, I tried to start JBoss, but I saw a lot of exceptions, and http://localhost:8080/appName could not be reached. Am I missing anything in the steps? any comments are appreciated. | | Part of the exception messages are | ------------------------------------------------------------------------- | 10:02:24,343 ERROR [BaseModelMBean] Exception invoking method addChild | org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser | at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100) | at org.jboss.web.metamodel.descriptor.WebDDObjectFactory.parse(WebDDObjectFactory.java:82) | at org.jboss.web.tomcat.tc6.TomcatInjectionContainer.processMetadata(TomcatInjectionContainer.java:256) | at org.jboss.web.tomcat.tc6.WebAppLoader.start(WebAppLoader.java:104) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4198) | at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760) | at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740) | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) | 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 org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.apache.catalina.core.StandardContext.init(StandardContext.java:5285) | 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 org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.web.tomcat.tc6.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:302) | at org.jboss.web.tomcat.tc6.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:129) | at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:355) | at org.jboss.web.deployers.WebModule.startModule(WebModule.java:88) | at org.jboss.web.deployers.WebModule.start(WebModule.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 org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | 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:668) | at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:184) | at $Proxy0.start(Unknown Source) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42) | at org.jboss.system.microcontainer.ServiceControllerContextAction.install(ServiceControllerContextAction.java:46) | at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226) | at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:198) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:709) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:429) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:538) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:472) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:320) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:190) | at org.jboss.system.ServiceController.doChange(ServiceController.java:656) | at org.jboss.system.ServiceController.start(ServiceController.java:431) | at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:124) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:85) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:44) | at org.jboss.deployers.plugins.deployers.helpers.AbstractSimpleRealDeployer.deploy(AbstractSimpleRealDeployer.java:53) | at org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDeploy(AbstractSimpleDeployer.java:52) | at org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(DeployerWrapper.java:145) | at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:440) | at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:381) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:366) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:246) | at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89) | at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:401) | at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:340) | at org.jboss.Main.boot(Main.java:210) | at org.jboss.Main$1.run(Main.java:508) | at java.lang.Thread.run(Thread.java:595) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082437#4082437 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082437 From do-not-reply at jboss.com Sun Sep 9 23:57:05 2007 From: do-not-reply at jboss.com (PeterJ) Date: Sun, 9 Sep 2007 23:57:05 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Mapping problem Message-ID: <18100618.1189396625203.JavaMail.jboss@colo-br-02.atl.jboss.com> leaderbird, please do not append unrelated questions to the end of someone else's post. I you repeat your question in a new post, I will offer some suggestions. (When you repost, reread your first sentence...) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082449#4082449 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082449 From do-not-reply at jboss.com Mon Sep 10 04:19:09 2007 From: do-not-reply at jboss.com (poyge394) Date: Mon, 10 Sep 2007 04:19:09 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - HTTP HEAD Request Support WSDL Message-ID: <13427705.1189412349670.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Is thair any easy way to add HTTP HEAD Request Support to an WSDL file. Any samples ? I have only SOAP support right now. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082489#4082489 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082489 From do-not-reply at jboss.com Mon Sep 10 06:01:01 2007 From: do-not-reply at jboss.com (gbc@gmx.de) Date: Mon, 10 Sep 2007 06:01:01 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Accessing a Java JBossWS WebService from VBScript not wo Message-ID: <16529788.1189418461936.JavaMail.jboss@colo-br-02.atl.jboss.com> Yeah, got it done! 1. .Net doesn't have VBA or VBScript support as I read somewhere 2. MS Soap Toolkit is crap, at least in my opinion 3. I discovered a little (even for commercial concerns) usefull library for SoapIssues with VBScript, VB6.0, C++, eVB, eVC and C#: PocketSoap (See http://www.pocketsoap.com/pocketsoap/) 4. I needed to play around awhile, but finaly: My WebService class: | @Stateless | @WebService | @WebContext(contextRoot="/SimpleWebServices") | public class SimpleWeb implements SimpleWebInterface { | | @WebMethod | public boolean isAlive() { | System.out.println("SimpleWeb.isAlive()"); | return true; | } | | @WebMethod | public String hello(@WebParam(name="name") String name) { | System.out.println("SimpleWeb.helloWorld(): " + name); | return "Hello " + name + "!"; | } | | } | Called by a Testscript PocketSimpleWeb.vbs: | Option Explicit | | Dim service, ns | | service = "http://localhost:8080/SimpleWebServices/SimpleWeb?wsdl" | ns = "http://webservice.simple/" | | WScript.Echo "isAlive(): " & isAlive(service, ns) | WScript.Echo "hello('World'): " & hello("World", service, ns) | | ' Should return true | function isAlive(wsdl, namespace) | Dim f, p | Set f = CreateObject("pocketsoap.Factory") | Set p = f.CreateProxy(wsdl, namespace) | isAlive = p.isAlive | end function | | ' should return "Hello " & name & "!" | function hello(name, wsdl, namespace) | dim e, t | set e = CreateObject("PocketSOAP.Envelope.2") | | e.setMethod "hello", namespace | e.parameters.create "name", name | | set t = CreateObject("PocketSOAP.HTTPTransport.2") | t.SOAPAction = "" | t.Send wsdl, e.serialize | | e.parse t | hello = e.parameters.item(0).value | end function | Gives me what I want, even without @SOAPBinding(style = SOAPBinding.Style.RPC): | C:\Data\Tests>cscript PocketWebService.vbs | Microsoft (R) Windows Script Host Version 5.6 | Copyright (C) Microsoft Corporation 1996-2001. All rights reserved. | | isAlive(): true | hello('World'): Hello World! | Thanks for your help, the pieces of infos really helped me getting along. I hope this example is usefull for others around here, Greetz GHad[/url] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082524#4082524 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082524 From do-not-reply at jboss.com Mon Sep 10 06:01:16 2007 From: do-not-reply at jboss.com (francesco.zen) Date: Mon, 10 Sep 2007 06:01:16 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: JBossWS Tools Overview (wstools, wsprovide, wsconsume) Message-ID: <9548586.1189418476795.JavaMail.jboss@colo-br-02.atl.jboss.com> None of these links work! Please, where can I find some documentation for wstools? At least a dtd for the wstools configuration file, which points to http://www.jboss.org/jbossws-tools but is missing at that url. How can I generate artifacts for more than one SEI at a time? It was said to be fixed in the JIRA... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082525#4082525 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082525 From do-not-reply at jboss.com Mon Sep 10 06:15:04 2007 From: do-not-reply at jboss.com (richard_opalka) Date: Mon, 10 Sep 2007 06:15:04 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: HTTP HEAD Request Support WSDL Message-ID: <10744746.1189419304469.JavaMail.jboss@colo-br-02.atl.jboss.com> Well, what about JBossWS only POST and GET HTTP methods are supported. Richard Opalka View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082532#4082532 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082532 From do-not-reply at jboss.com Mon Sep 10 06:22:42 2007 From: do-not-reply at jboss.com (richard_opalka) Date: Mon, 10 Sep 2007 06:22:42 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: JBossWS Tools Overview (wstools, wsprovide, wsconsume) Message-ID: <6071212.1189419762725.JavaMail.jboss@colo-br-02.atl.jboss.com> Take a look here: http://labs.jboss.com/jbossws/docs/jaxws_userguide-2.0/index.html PS: Next time create a new post, please. Richard Opalka View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082537#4082537 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082537 From do-not-reply at jboss.com Mon Sep 10 07:03:38 2007 From: do-not-reply at jboss.com (richard_opalka) Date: Mon, 10 Sep 2007 07:03:38 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: How di I get detail in SOAPFault Message-ID: <4908917.1189422218538.JavaMail.jboss@colo-br-02.atl.jboss.com> try myMessageElement.setValue("This is a faked error"); instead of myMessageElement.setNodeValue("This is a faked error"); Richard Opalka View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082557#4082557 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082557 From do-not-reply at jboss.com Mon Sep 10 08:52:09 2007 From: do-not-reply at jboss.com (jaboj) Date: Mon, 10 Sep 2007 08:52:09 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - How to make a web service with XML input? Message-ID: <15448112.1189428729300.JavaMail.jboss@colo-br-02.atl.jboss.com> I'll like to create some web services on JBoss 4.2 which accepts a XML document/node as input for the web method. Is it possible and can anyone describe how to do it? One way of doing could be to create a web method which just accept a string like anonymous wrote : | @Stateless | public class MyWS { | | @WebMethod() | public void acceptXml(String xml) throws WSException{ | ... | } | This approach required that the method converts the String to a XML Node and then do some validation against a XSD. But, is it possible to pass a XML strukture to the method instead, like: anonymous wrote : | @WebMethod() | public void acceptXml(Node xml) throws WSException{ | ... | } | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082588#4082588 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082588 From do-not-reply at jboss.com Mon Sep 10 09:27:50 2007 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Mon, 10 Sep 2007 09:27:50 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: How to make a web service with XML input? Message-ID: <2234292.1189430870772.JavaMail.jboss@colo-br-02.atl.jboss.com> Take a look at the JAX-WS Provider examples. The Provider API allows raw xml exchange. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082610#4082610 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082610 From do-not-reply at jboss.com Mon Sep 10 09:34:29 2007 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Mon, 10 Sep 2007 09:34:29 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Problem with inheritance and JBossWS Message-ID: <14826880.1189431269130.JavaMail.jboss@colo-br-02.atl.jboss.com> Are you using the same playoad beans on the client side? How does SOAP Message look like? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082614#4082614 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082614 From do-not-reply at jboss.com Mon Sep 10 09:43:12 2007 From: do-not-reply at jboss.com (bblasko) Date: Mon, 10 Sep 2007 09:43:12 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: EndpointRegistry JMX Bean in 2.0 NOT in 2.0.1 Message-ID: <18098155.1189431792639.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, that is what we used the MBean for. We have automated monitors that periodically check the state of the services by calling the MBean, iterating throught the endpoints and checking their state. Having a standard interface for accessing the WebService registry would be useful. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082618#4082618 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082618 From do-not-reply at jboss.com Mon Sep 10 10:06:13 2007 From: do-not-reply at jboss.com (mendaye) Date: Mon, 10 Sep 2007 10:06:13 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: JBoss wstool generate incorrect WSDL file Message-ID: <32259454.1189433173688.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks Alessio for responding to my question. Before I upgrade to the latest version of JBoss Web stack, Can some one answers the following questions. 1. How can I upgrade the latest JBoss web service stack? 2. Remember we are using JBoss 4.0.4 GA version, does jaxws stack (2.0.x) works with JBoss 4.04 version? 3. Does jaxws stack support EJB 2.1 as service end point? 3. Can you point me a tutorial on how to use wsconsume/wsprovide tools? Regards, Surafel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082627#4082627 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082627 From do-not-reply at jboss.com Mon Sep 10 10:13:40 2007 From: do-not-reply at jboss.com (mendaye) Date: Mon, 10 Sep 2007 10:13:40 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Upgrading to JbossWs 2.0.1 GA Message-ID: <10551106.1189433620195.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for responding. I wanted to upgrade to JbossWs 2.0.1 GA. 1. Can you point me the document I need to follow to do lates version of web service stuck on JBoss 4.0.4 version? 2. Do you know JbossWs 2.0.1 GA works with JBoss 4.0.4 version? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082630#4082630 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082630 From do-not-reply at jboss.com Mon Sep 10 10:25:45 2007 From: do-not-reply at jboss.com (DeanoUK) Date: Mon, 10 Sep 2007 10:25:45 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - http://jbws.dyndns.org When is it back up? Message-ID: <1542976.1189434345608.JavaMail.jboss@colo-br-02.atl.jboss.com> http://jbws.dyndns.org is down, and I hear its up and down like a yo yo constantly. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082637#4082637 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082637 From do-not-reply at jboss.com Mon Sep 10 10:31:45 2007 From: do-not-reply at jboss.com (DeanoUK) Date: Mon, 10 Sep 2007 10:31:45 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: wsconsume - Problems regarding http://www.w3.org/2001/XM Message-ID: <23797435.1189434705643.JavaMail.jboss@colo-br-02.atl.jboss.com> Did u get this issue resolved, I'm seeing a similar thing. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082644#4082644 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082644 From do-not-reply at jboss.com Mon Sep 10 11:29:54 2007 From: do-not-reply at jboss.com (sselvia) Date: Mon, 10 Sep 2007 11:29:54 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - jbossws-2.0.1.GA Install Problem Message-ID: <10403217.1189438194057.JavaMail.jboss@colo-br-02.atl.jboss.com> I am getting the following when installing jboss ws with jboss as 42: ant deploy-jboss42 Buildfile: build.xml prepare: undeploy-jboss42-endorsed: undeploy-jboss42: deploy-jboss42-endorsed: BUILD FAILED E:\download1\jboss\jbossws-native-2.0.1.GA\build\build-deploy.xml:53: required attribute stacklibs not set My ant.properties file: # Optional JBoss Home jboss50.home=/home/tdiesler/svn/jbossas/trunk/build/output/jboss-5.0.0.Beta3 jboss42.home=E:/jboss-4.2.1.GA jboss40.home=/home/tdiesler/svn/jbossas/tags/JBoss_4_0_5_GA/build/output/jboss-4.0.5.GA-ejb3 # The JBoss server under test. This can be [jboss50|jboss42|jboss40] jbossws.integration.target=jboss42 # The JBoss settings jboss.server.instance=default jboss.bind.address=localhost # JBoss Repository #jboss.repository=file:/home/tdiesler/svn/jboss.local.repository jboss.repository=http://repository.jboss.org # JBoss JMX invoker authentication #jmx.authentication.username=admin #jmx.authentication.password=admin # Java Compiler options javac.debug=yes javac.deprecation=no javac.fail.onerror=yes javac.verbose=no Any clues????? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082678#4082678 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082678 From do-not-reply at jboss.com Mon Sep 10 11:40:35 2007 From: do-not-reply at jboss.com (sselvia) Date: Mon, 10 Sep 2007 11:40:35 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: jbossws-2.0.1.GA Install Problem Message-ID: <7660773.1189438835812.JavaMail.jboss@colo-br-02.atl.jboss.com> Works with JAVA_HOME set to jdk 1.5, does not work with JAVA_HOME set to jdk 1.6 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082682#4082682 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082682 From do-not-reply at jboss.com Mon Sep 10 11:50:04 2007 From: do-not-reply at jboss.com (richard_opalka) Date: Mon, 10 Sep 2007 11:50:04 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Upgrading to JbossWs 2.0.1 GA Message-ID: <19614666.1189439404965.JavaMail.jboss@colo-br-02.atl.jboss.com> Download JBossWS 2.0.1, modify ant.properties file that ship with the distribution and run 'ant deploy-jboss40' It was well tested on JBoss 4.0.5_GA but should work with JBoss 4.0.4 as well Richard Opalka View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082688#4082688 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082688 From do-not-reply at jboss.com Mon Sep 10 11:54:56 2007 From: do-not-reply at jboss.com (richard_opalka) Date: Mon, 10 Sep 2007 11:54:56 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: jbossws-2.0.1.GA Install Problem Message-ID: <12351739.1189439696966.JavaMail.jboss@colo-br-02.atl.jboss.com> Take a look to the last post at http://jboss.com/index.html?module=bb&op=viewtopic&t=116889 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082689#4082689 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082689 From do-not-reply at jboss.com Mon Sep 10 12:01:23 2007 From: do-not-reply at jboss.com (richard_opalka) Date: Mon, 10 Sep 2007 12:01:23 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: JBoss wstool generate incorrect WSDL file Message-ID: <32259500.1189440083309.JavaMail.jboss@colo-br-02.atl.jboss.com> "mendaye" wrote : Thanks Alessio for responding to my question. Before I upgrade to the latest version of JBoss Web stack, Can some one answers the following questions. | | 1. How can I upgrade the latest JBoss web service stack? | 2. Remember we are using JBoss 4.0.4 GA version, does jaxws stack (2.0.x) works with JBoss 4.04 version? | 3. Does jaxws stack support EJB 2.1 as service end point? | 3. Can you point me a tutorial on how to use wsconsume/wsprovide tools? | | Regards, | Surafel Answers: 1. Just download JBoss 2.0.1, modify ant properties that are there and fire `ant deploy-jboss40` from commandline 2. JBossWS 2.01. is well tested on JBoss 4.0.5 GA but should work well with JBoss 4.0.4 GA too 3. Yes 4. http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082256#4082256 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082693#4082693 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082693 From do-not-reply at jboss.com Mon Sep 10 13:21:04 2007 From: do-not-reply at jboss.com (sselvia) Date: Mon, 10 Sep 2007 13:21:04 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: jbossws-2.0.1.GA Install Problem Message-ID: <25081292.1189444864971.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks...It worked View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082717#4082717 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082717 From do-not-reply at jboss.com Mon Sep 10 14:24:37 2007 From: do-not-reply at jboss.com (koganty) Date: Mon, 10 Sep 2007 14:24:37 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Problem with inheritance and JBossWS Message-ID: <4581989.1189448677404.JavaMail.jboss@colo-br-02.atl.jboss.com> Client is using the beans generated from the WSDL. Looks like after some minor changes on the server finally, the SOAP response looks right..but is not being materialized into the right type of object : | | | | | | A | B | | | | | The object still shows up as of type A and not Aa. The generated beans look like this : | @XmlAccessorType(XmlAccessType.FIELD) | @XmlType(name = "a", propOrder = { | "a" | }) | @XmlSeeAlso({ | Aa.class | }) | public class A { | | protected String a; | .. | | | @XmlAccessorType(XmlAccessType.FIELD) | @XmlType(name = "aa", propOrder = { | "b" | }) | @XmlSeeAlso({ | Aaa.class | }) | public class Aa | extends A | { | | protected String b; | .... | | | @XmlAccessorType(XmlAccessType.FIELD) | @XmlType(name = "aaa", propOrder = { | "c" | }) | public class Aaa | extends Aa | { | | protected String c; | ..... | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082736#4082736 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082736 From do-not-reply at jboss.com Mon Sep 10 15:00:18 2007 From: do-not-reply at jboss.com (palin) Date: Mon, 10 Sep 2007 15:00:18 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: EndpointRegistry JMX Bean in 2.0 NOT in 2.0.1 Message-ID: <11487361.1189450818912.JavaMail.jboss@colo-br-02.atl.jboss.com> Issue created on jira: http://jira.jboss.com/jira/browse/JBWS-1806 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082741#4082741 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082741 From do-not-reply at jboss.com Mon Sep 10 15:20:38 2007 From: do-not-reply at jboss.com (ebonnett) Date: Mon, 10 Sep 2007 15:20:38 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: http://jbws.dyndns.org When is it back up? Message-ID: <8319888.1189452038617.JavaMail.jboss@colo-br-02.atl.jboss.com> I can't get to it either. I'm just getting started with JBossWS but I can't get to the documentation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082746#4082746 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082746 From do-not-reply at jboss.com Tue Sep 11 02:35:11 2007 From: do-not-reply at jboss.com (jaboj) Date: Tue, 11 Sep 2007 02:35:11 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: How to make a web service with XML input? Message-ID: <1132376.1189492511052.JavaMail.jboss@colo-br-02.atl.jboss.com> Thank you. Then it is possible to deploy JAX-WS style web services to JBoss? Do I need the same deployment descriptors as in the Provider sample or some specific JBoss deployment descriptors? My sample web service signature looks like this: anonymous wrote : | @ServiceMode(value=Service.Mode.PAYLOAD) | @WebServiceProvider(wsdlLocation="WEB-INF/wsdl/ProcessXml.wsdl") | public class ProcessXmlImpl implements Provider { | public Source invoke(Source arg0) { | // do something and return XML Source | } | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082841#4082841 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082841 From do-not-reply at jboss.com Tue Sep 11 02:52:51 2007 From: do-not-reply at jboss.com (richard_opalka) Date: Tue, 11 Sep 2007 02:52:51 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: http://jbws.dyndns.org When is it back up? Message-ID: <14740872.1189493571637.JavaMail.jboss@colo-br-02.atl.jboss.com> Guys, next time try to read the forum first and maybe you will find the answers to your questions without posting them ;-) http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082256#4082256 Richard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082848#4082848 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082848 From do-not-reply at jboss.com Tue Sep 11 03:24:50 2007 From: do-not-reply at jboss.com (vashistvishal) Date: Tue, 11 Sep 2007 03:24:50 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: wsconsume - Problems regarding http://www.w3.org/2001/XM Message-ID: <30838604.1189495490721.JavaMail.jboss@colo-br-02.atl.jboss.com> Have a look at this... what i have posted http://www.jboss.com/index.html?module=bb&op=viewtopic&t=118062 I have also experienced issues like this when generating stubs for clients. To resolve issues like this even with the newer stack i had to modify wsdl by hand for interoperability. The way i did is first i created a service and client within Jboss and see how it work and what SOAP packet goes on wire... Then do a same sort of thing on .NEt side and capture SOAP packet. Now try to send the SOAP packet what .NET expects, for that you will have to modify your wsdl by hand. Once you know the difference between .NET side generated WSDL and required by Jboss ws client stack you cam modify other WSDLs. Some heavy lifting required to grasp the differences Mos of the issues i have come across is Because JAX-WS is pretty strict where as older stacks were not that strict in some conventions. All SOAP toolkit work fine within same envioronment but when used with other you normally have to fiddle with WSDL to make them work. Interoperability is their but with some modifications not just out of box yet. I hope this helps.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082859#4082859 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082859 From do-not-reply at jboss.com Tue Sep 11 03:34:42 2007 From: do-not-reply at jboss.com (DeanoUK) Date: Tue, 11 Sep 2007 03:34:42 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: When JbossWS Wiki will be online Message-ID: <934555.1189496082358.JavaMail.jboss@colo-br-02.atl.jboss.com> Thats the Wiki contents. What about the FAQ, the tutorials and the mass of links all around JBoss WS that point to the dyndns entry. Not good enough, I'm going back to Apache Axis. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082860#4082860 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082860 From do-not-reply at jboss.com Tue Sep 11 06:13:00 2007 From: do-not-reply at jboss.com (richard_opalka) Date: Tue, 11 Sep 2007 06:13:00 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: When JbossWS Wiki will be online Message-ID: <14393636.1189505580525.JavaMail.jboss@colo-br-02.atl.jboss.com> We're looking for the proper machine to be used for our Wiki hostage because old machine is broken. Wait few hours/days and all you want will be up and running again. Richard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082927#4082927 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082927 From do-not-reply at jboss.com Tue Sep 11 09:26:56 2007 From: do-not-reply at jboss.com (Maffewl) Date: Tue, 11 Sep 2007 09:26:56 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: wsconsume schema type reference problem Message-ID: <16539450.1189517216840.JavaMail.jboss@colo-br-02.atl.jboss.com> R2203 of the Basic Profile standard (http://www.ws-i.org/Profiles/BasicProfile-1.2.html) states: 'An rpc-literal binding in a DESCRIPTION MUST refer, in its soapbind:body element(s), only to wsdl:part element(s) that have been defined using the type attribute' where you say: | | in rpc-literal it should be | | Axis I noticed is lenient on this rule, but JBossWS seems pretty strict about it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083011#4083011 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083011 From do-not-reply at jboss.com Tue Sep 11 09:41:11 2007 From: do-not-reply at jboss.com (mendaye) Date: Tue, 11 Sep 2007 09:41:11 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: JBoss wstool generate incorrect WSDL file Message-ID: <23467574.1189518071206.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks Richard for your answers. It is very helpful. I wanted to make sure I am not running into any interoperablility isse using jaxws stack (2.0.x) with java collecion class. Can someone answer my question below. 1. If I use Java Collections object in my web service that will be JBoss jaxws stack (2.0.x) compliant, am I running to any interoperability issue for .NET consumer. I wanted to make sure these web services can be consumed by .NET client. I am exposing existing Stateless EJB as service end-point and it is not easy to replace Java Collections object. 2. I have requirement - only authorized users can consume these web services. Does JBossWS 2.0.x provide user authentication mechanism to do this? If so how? 3. If #2 (Web service consumer authentication) is possible, can you point me document that has examples on this. Thanks, Surafel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083018#4083018 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083018 From do-not-reply at jboss.com Tue Sep 11 14:05:03 2007 From: do-not-reply at jboss.com (ZazzaZ) Date: Tue, 11 Sep 2007 14:05:03 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: NullPointerException in WSDL11Reader Message-ID: <17526679.1189533903877.JavaMail.jboss@colo-br-02.atl.jboss.com> Yeah, Even if it raised a new error in my project,really thank you for help in my deploy-fixing operation! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083140#4083140 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083140 From do-not-reply at jboss.com Tue Sep 11 15:06:00 2007 From: do-not-reply at jboss.com (palin) Date: Tue, 11 Sep 2007 15:06:00 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: JBoss wstool generate incorrect WSDL file Message-ID: <7626431.1189537560174.JavaMail.jboss@colo-br-02.atl.jboss.com> "mendaye" wrote : 1. If I use Java Collections object in my web service that will be JBoss jaxws stack (2.0.x) compliant, am I running to any interoperability issue for .NET consumer. I wanted to make sure these web services can be consumed by .NET client. I am exposing existing Stateless EJB as service end-point and it is not easy to replace Java Collections object. I don't think you'll have .NET compatibility issues with collections, however if Richard perfomed some tests on this please add your opinion. Anyway, generally speaking, jbossws compliance with standards should offer high compatibility with other stacks. anonymous wrote : | 2. I have requirement - only authorized users can consume these web services. Does JBossWS 2.0.x provide user authentication mechanism to do this? If so how? Yes, it does. See @WebContext and its property 'authMethod'. anonymous wrote : | 3. If #2 (Web service consumer authentication) is possible, can you point me document that has examples on this. I would take a look at the samples that ship with jbossws sources. For example, see org.jboss.test.ws.jaxws.samples.context.WebServiceContextEJBTestCase. Alessio Soldano View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083154#4083154 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083154 From do-not-reply at jboss.com Tue Sep 11 16:47:17 2007 From: do-not-reply at jboss.com (mendaye) Date: Tue, 11 Sep 2007 16:47:17 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: JBoss wstool generate incorrect WSDL file Message-ID: <12407251.1189543637080.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for Alessio Soldano responding quickly. It is very helpful! One last question... Richard Opalka in this forum pointedout to me jbossws-2.0.x work with JBoss 4.0.4 but that is not mentioned in release note of jbossws-2.0.1.GA. Look below.. http://www.jboss.com/index.html?module=bb&op=viewtopic&t=116889 Based on this link, jbossws-2.0.1.GA supports only jboss-5.0.x, jboss-4.2.x, jboss-4.0.5. As I said before, we have JBoss-4.0.4, before I start coding I wanted to make sure jbossws-2.0.1.GA runs on JBoss-4.0.4. Please if you know for sure 4.0.4 supports jbossws-2.0.1.GA, respond back to me so that I can start my coding work Thanks, Surafel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083171#4083171 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083171 From do-not-reply at jboss.com Tue Sep 11 17:40:28 2007 From: do-not-reply at jboss.com (klease) Date: Tue, 11 Sep 2007 17:40:28 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Jaxrpc service with parameter Type[] fails if array contains Message-ID: <30816631.1189546828812.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a jaxrpc endpoint which has methods like these: public interface TrivialService extends Remote | { | int purchase (String person, Product[] products) throws RemoteException; | int purchaseA (String person, ProductA[] products) throws RemoteException; | } I used wstools (java-wsdl) to generate deployment artifacts and deployed on a 4.2.1.GA jboss with 2.0.1.GA jbossws. Class ProductA is a subclass of Product. If I call purchase like this: public void testPurchase() throws Exception | { | String person = "Karen"; | ProductA bike = new ProductA(); | bike.setName("cyfac"); | bike.setPrice(3000); | ProductA bike2 = new ProductA(); | bike2.setName("look"); | bike2.setPrice(5000); | ProductA bike3 = new ProductA(); | bike3.setName("GOSPORT"); | bike3.setPrice(1000); | Product[] bikes = new Product[] {bike, bike2, bike3}; | int price = port.purchase(person, bikes); | assertEquals(9000, price); | } the test case fails because it returns only the price of the last element in the list. In the service it only sees one element. If I call it like this (with same actual objects), ProductA[] bikes = new ProductA[] {bike, bike2, bike3}; | int price = port.purchaseA(person, bikes); the service receives all 3 elements and returns the correct response. The incoming soap message on the server is correct in both cases. In the first case, the elements all have the type attribute set, like so: | Karen | | cyfac | 3000 | | | look | 5000 | | ..... | This happens with both a jaxrpc style client and a jaxws client generated with wsconsume (-t 2.1). However it works correctly with jaxrpc client if I deploy into a jbossws 1.2.1GA server. I don't see anything in Jira which is quite like this, shall I file a new bug? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083193#4083193 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083193 From do-not-reply at jboss.com Tue Sep 11 17:50:49 2007 From: do-not-reply at jboss.com (klease) Date: Tue, 11 Sep 2007 17:50:49 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Type Substitution doesn't work with Schema2Java Client a Message-ID: <27402027.1189547449263.JavaMail.jboss@colo-br-02.atl.jboss.com> This seemed similar to some problems I had so I ran your test case and looked at the soap messages which were generated. The handcoded case which works has this in the message. The generated case which fails has this: The namespace prefix ns1 is defined on the parent, so it looks like it should be fine. But when it gets decoded in the service, it loses the type information and only gets objects of your base class. When there is no namespace prefix, it works fine and gets objects of the subclass (the cabin type). Maybe this helps someone to locate the bug. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083197#4083197 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083197 From do-not-reply at jboss.com Tue Sep 11 20:00:42 2007 From: do-not-reply at jboss.com (vashistvishal) Date: Tue, 11 Sep 2007 20:00:42 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: JBoss wstool generate incorrect WSDL file Message-ID: <311192.1189555242812.JavaMail.jboss@colo-br-02.atl.jboss.com> For option 2 use this ... if it is just a basic authentication which i have been using on client side. Their are examples in JbossWS stack examples | | MattHelloWorld3Service service = new MattHelloWorld3Service(); | | MattHelloWorld3PortType port = service.getPort(MattHelloWorld3PortType.class) ; | | // Get the port and use binding provider for authentication | | BindingProvider bp = (BindingProvider) port; | | bp.getRequestContext().put(BindingProvider.USERNAME_PROPERTY, "test"); | | bp.getRequestContext().put(BindingProvider.PASSWORD_PROPERTY, "test"); | | | HelloWorld memreq = new HelloWorld(); | | memreq.setId("Hellow Mathew"); | | I hope this helps View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083221#4083221 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083221 From do-not-reply at jboss.com Wed Sep 12 01:54:02 2007 From: do-not-reply at jboss.com (ambika) Date: Wed, 12 Sep 2007 01:54:02 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Sample application Message-ID: <2398043.1189576442072.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Are there any opensource sample application which demonstrate the jboss web services? Regards, Ambika View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083273#4083273 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083273 From do-not-reply at jboss.com Wed Sep 12 02:13:56 2007 From: do-not-reply at jboss.com (oskar.carlstedt) Date: Wed, 12 Sep 2007 02:13:56 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Sample application Message-ID: <2069730.1189577636341.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello! There are several examples in the JBossWS-distribution. Just download the normal distribution (src distribution is not required). The distribution zip file contains another zip file with lots of examples about how to do what in what situation. Build the examples, deploy them into JBoss and you have something to test/look at. Kind regards Oskar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083277#4083277 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083277 From do-not-reply at jboss.com Wed Sep 12 05:17:34 2007 From: do-not-reply at jboss.com (ZazzaZ) Date: Wed, 12 Sep 2007 05:17:34 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Cannot find port type for binding Message-ID: <23881884.1189588654589.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm having this problem deploying a web service under jboss 4.0.5 11:04:21,749 ERROR [MainDeployer] Could not create deployment: file:/home/zazzaz/Tesi_Workflow/jboss-4.0.5.GA/server/default/deploy/processo.war org.jboss.ws.WSException: Cannot find port type for binding: ClientPortTypeBinding at org.jboss.ws.metadata.wsdl.WSDL11Reader.processBinding(WSDL11Reader.java:726) at org.jboss.ws.metadata.wsdl.WSDL11Reader.processPort(WSDL11Reader.java:1071) at org.jboss.ws.metadata.wsdl.WSDL11Reader.processPorts(WSDL11Reader.java:1054) at org.jboss.ws.metadata.wsdl.WSDL11Reader.processServices(WSDL11Reader.java:1027) at org.jboss.ws.metadata.wsdl.WSDL11Reader.processDefinition(WSDL11Reader.java:119) at org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:145) at org.jboss.ws.metadata.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:273) at org.jboss.ws.deployment.JSR109ServerMetaDataBuilder.buildMetaData(JSR109ServerMetaDataBuilder.java:94) at org.jboss.ws.deployment.ServiceEndpointDeployer.create(ServiceEndpointDeployer.java:78) at org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInterceptor.java:80) at org.jboss.ws.integration.jboss.DeployerInterceptorJSE.create(DeployerInterceptorJSE.java:74) 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 $Proxy39.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.GeneratedMethodAccessor55.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.startService(AbstractDeploymentScanner.java:336) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor2.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.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at sun.reflect.GeneratedMethodAccessor9.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.server.Invocation.invoke(Invocation.java:86) 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 $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766) 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 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 $Proxy5.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) at org.jboss.Main.boot(Main.java:200) at org.jboss.Main$1.run(Main.java:490) at java.lang.Thread.run(Thread.java:595) It is something with the namespace, but i don't know what it is. Here's the binding. The portType is defined in the file Client.wsdl. The namespace is http://jbpm.org/examples/Client Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083342#4083342 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083342 From do-not-reply at jboss.com Wed Sep 12 06:57:22 2007 From: do-not-reply at jboss.com (ZazzaZ) Date: Wed, 12 Sep 2007 06:57:22 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Cannot find port in wsdl (need help) Message-ID: <28979735.1189594642067.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm having the same problem and I've just found out that a solution is in thw webservices.xml file. But I'm sorry to say that I don't know how to make it works. I hope I was helpful. Bye View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083368#4083368 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083368 From do-not-reply at jboss.com Wed Sep 12 08:04:18 2007 From: do-not-reply at jboss.com (vashistvishal) Date: Wed, 12 Sep 2007 08:04:18 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Ant task for wsconume, wsprovide ?? Message-ID: <22807034.1189598658267.JavaMail.jboss@colo-br-02.atl.jboss.com> Since new wiki is not up and running. Would someone please tell me what is the ant task for wsconsume and wsprovide commands for Jbosws2.0.1 GA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083389#4083389 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083389 From do-not-reply at jboss.com Wed Sep 12 09:52:32 2007 From: do-not-reply at jboss.com (richard_opalka) Date: Wed, 12 Sep 2007 09:52:32 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Ant task for wsconume, wsprovide ?? Message-ID: <24219401.1189605152322.JavaMail.jboss@colo-br-02.atl.jboss.com> org/jboss/wsf/spi/tools/ant/WSConsumeTask.java org/jboss/wsf/spi/tools/ant/WSProvideTask.java View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083451#4083451 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083451 From do-not-reply at jboss.com Wed Sep 12 10:00:27 2007 From: do-not-reply at jboss.com (rukus) Date: Wed, 12 Sep 2007 10:00:27 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Sample application Message-ID: <10894243.1189605627294.JavaMail.jboss@colo-br-02.atl.jboss.com> i have the same question, but i still can't find this .zip file :( i've tried in jbossws-native-2.0.0.GA and jbossws-native-2.0.1.GA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083459#4083459 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083459 From do-not-reply at jboss.com Wed Sep 12 16:01:15 2007 From: do-not-reply at jboss.com (clatasa) Date: Wed, 12 Sep 2007 16:01:15 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: New Wiki has been down for at least a day and a half.... Message-ID: <3302303.1189627275918.JavaMail.jboss@colo-br-02.atl.jboss.com> Thank you for the link however this still does not answer my question. Once again, I'm looking for documentation that explains where the name of the exception wrapper is being set by wsconsume. The default is to take your exception and wrap it with a class named the same with "_Exception" appended. I've looked a bit at the jboss_wsconsume-impl.jar and noticed there are several properties files however none seem to set this name or pattern. Any help would be greatly appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083643#4083643 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083643 From do-not-reply at jboss.com Wed Sep 12 18:46:07 2007 From: do-not-reply at jboss.com (palin) Date: Wed, 12 Sep 2007 18:46:07 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Sample application Message-ID: <13787942.1189637167972.JavaMail.jboss@colo-br-02.atl.jboss.com> "rukus" wrote : i have the same question, but i still can't find this .zip file :( | | i've tried in jbossws-native-2.0.0.GA and jbossws-native-2.0.1.GA You have to download the src zip or checkout the src from svn. Alessio Soldano View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083697#4083697 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083697 From do-not-reply at jboss.com Wed Sep 12 18:46:48 2007 From: do-not-reply at jboss.com (mendaye) Date: Wed, 12 Sep 2007 18:46:48 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Does jbossws-2.0.1 runs on JBoss-4.04-GA Message-ID: <454699.1189637208057.JavaMail.jboss@colo-br-02.atl.jboss.com> I would like to use jbossws-2.0.1 but I am not sure if it runs on JBoss-4.04-GA. Based on the release note of jbossws-2.0.1, it supports only jboss-5.0.x, jboss-4.2.x, jboss-4.0.5. Look below... http://www.jboss.com/index.html?module=bb&op=viewtopic&t=116889 Does anyone know for sure if jbossws-2.0.1 runs on JBoss-4.04-GA? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083699#4083699 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083699 From do-not-reply at jboss.com Wed Sep 12 20:09:30 2007 From: do-not-reply at jboss.com (vashistvishal) Date: Wed, 12 Sep 2007 20:09:30 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Ant task for wsconume, wsprovide ?? Message-ID: <29289729.1189642170558.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks Richard, I was looking for this file in jbossws-src-2.0.1.GA which i downloaded to see the options which are required by ant task. I couldnt find the source code in this bundle. Is their any other src code bundle i should be looking at to see where these task file lives. The bundle i downloaded is uploaded on Aug 17 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083722#4083722 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083722 From do-not-reply at jboss.com Wed Sep 12 22:24:59 2007 From: do-not-reply at jboss.com (vashistvishal) Date: Wed, 12 Sep 2007 22:24:59 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Ant task for wsconume, wsprovide ?? Message-ID: <11876862.1189650299067.JavaMail.jboss@colo-br-02.atl.jboss.com> Okiee its not in src code native bundle 92.0.1) some how but, looked at repository. http://anonsvn.jboss.org/repos/jbossws/spi/trunk/src/main/java/org/jboss/wsf/spi/tools/ant/WSConsumeTask.java My next question is whet is the diffrence between option "sourcedestdir" and option "destdir" because when i make both of them point to same place it generates stubs, with same structure at two diferent places and and it looks they are linked because if you delete one structure other goes as well. How do i make it that, both are same at same place without duplication | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083743#4083743 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083743 From do-not-reply at jboss.com Thu Sep 13 05:55:21 2007 From: do-not-reply at jboss.com (richard_opalka) Date: Thu, 13 Sep 2007 05:55:21 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Ant task for wsconume, wsprovide ?? Message-ID: <15639465.1189677321895.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, WSConsume uses com.sun.tools.ws.wscompile.WsimportTool, internally so you can find the answer by analyzing this Sun WSDL compiler. I took a short look into it and the difference is that WsimportTool during the compiling phase generates both *.java and *class files. At the end of compilation phase if -keep option is set, the generated *.java files will be removed. (-keep option is automatically set by WSConsume tool if you'll specify sourcedestdir attribute in your ant task). Thus if you will specify sourcedestdir, the generated *.java files will not be deleted after the compilation phase. To answer your question: sourcedestdir points to the directory, where WsimportTool will generated *.java files, while destdir points to directory where these *.java files will be compiled to *.class files. RIchard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083840#4083840 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083840 From do-not-reply at jboss.com Thu Sep 13 07:53:48 2007 From: do-not-reply at jboss.com (mleite) Date: Thu, 13 Sep 2007 07:53:48 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Help with development environment Message-ID: <31064469.1189684428693.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, i need help with a development environment. I need to use JAX-WS to develop some Web Services, but i need to prepare a productive environment to do this. I have some doubts on what tools to use to do this. Can i mix JBossIDE + ANT and use JBossAS 4.2.1 + JBossWS as JAX-WS implementation? Can someone help me with this? Thanks in advance! Marcelo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083890#4083890 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083890 From do-not-reply at jboss.com Thu Sep 13 08:36:29 2007 From: do-not-reply at jboss.com (rukus) Date: Thu, 13 Sep 2007 08:36:29 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - web service url Message-ID: <8914263.1189686989175.JavaMail.jboss@colo-br-02.atl.jboss.com> Good day to all There is WS from JBossESB quickstarts (nativeclient) for example Is there any way to determine what url has this web service from sayHello @WebMethod?? /* | * JBoss, Home of Professional Open Source | * Copyright 2006, JBoss Inc., and others contributors as indicated | * by the @authors tag. All rights reserved. | * See the copyright.txt in the distribution for a | * full listing of individual contributors. | * This copyrighted material is made available to anyone wishing to use, | * modify, copy, or redistribute it subject to the terms and conditions | * of the GNU Lesser General Public License, v. 2.1. | * This program is distributed in the hope that it will be useful, but WITHOUT A | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. | * You should have received a copy of the GNU Lesser General Public License, | * v.2.1 along with this distribution; if not, write to the Free Software | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, | * MA 02110-1301, USA. | * | * (C) 2005-2006, | * @author JBoss Inc. | */ | package org.jboss.soa.esb.samples.quickstart.nativeclient.webservice; | | // For setting up the basic WS | | import javax.jws.WebMethod; | import javax.jws.WebService; | import javax.jws.soap.SOAPBinding; | | // For ESB Interaction | import org.jboss.soa.esb.message.Message; // jbossesb-rosetta.jar | import org.jboss.soa.esb.message.format.MessageFactory; // jbossesb-rosetta.jar | import org.jboss.soa.esb.message.format.MessageType; // jbossesb-rosetta.jar | import org.jboss.soa.esb.client.ServiceInvoker; // jbossesb-rosetta.jar | | @WebService(name = "HelloWorld", targetNamespace = "http://nativeclient/helloworld") | @SOAPBinding(style = SOAPBinding.Style.RPC) | public class HelloWorldWS { | @WebMethod | public String sayHello(String toWhom) { | System.out.println("HelloWorld Hit! " + toWhom); | String results = ""; | try { | ServiceInvoker deliveryAdapter; | Message requestMessage; | Message replyMessage = null; | | // Create the delivery adapter for the target service (you'd normally cache this!!)... | deliveryAdapter = new org.jboss.soa.esb.client.ServiceInvoker("MyServiceCategory", "MyNativeClientService"); | // Create and populate the request message... | requestMessage = MessageFactory.getInstance().getMessage(MessageType.JBOSS_XML); | requestMessage.getBody().setByteArray(toWhom.getBytes()); // inject the value from the WS client | // Deliver the request message synchronously - timeout after 20 seconds... | replyMessage = deliveryAdapter.deliverSync(requestMessage, 20000); | | if (replyMessage != null) { | results = new String(replyMessage.getBody().getContents()); | } else { | results = "Hello World: " + toWhom + " on " + new java.util.Date(); | } | } catch (Exception e) { | System.out.println(e + "\n"); | e.printStackTrace(System.out); | } | return results; | } | } | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083918#4083918 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083918 From do-not-reply at jboss.com Thu Sep 13 10:15:09 2007 From: do-not-reply at jboss.com (vashistvishal) Date: Thu, 13 Sep 2007 10:15:09 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Ant task for wsconume, wsprovide ?? Message-ID: <20960397.1189692909530.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks a lot Richard for clearing the air, this will be helpful to others as well. I will try tomorrow and see how i go with it. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083975#4083975 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083975 From do-not-reply at jboss.com Thu Sep 13 10:19:12 2007 From: do-not-reply at jboss.com (vashistvishal) Date: Thu, 13 Sep 2007 10:19:12 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Help with development environment Message-ID: <18751496.1189693152930.JavaMail.jboss@colo-br-02.atl.jboss.com> I wills say use ant, jboss 4.2.1 and jboss-ws 2.0.1.GA. If you use this in Eclipse or netbeans you should be fine Jboss-IDE - i'm not sure if they have anything for Jax-ws in it yet. I hope this helps. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083979#4083979 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083979 From do-not-reply at jboss.com Thu Sep 13 13:49:57 2007 From: do-not-reply at jboss.com (mleite) Date: Thu, 13 Sep 2007 13:49:57 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Help with development environment Message-ID: <25941099.1189705797200.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, thanks for your help, but i really need some more help. Could you give some tips on how to create this environment? For instance, what JARs from JBossWS should i use in my project, should i use EJB or POJO as Web Services... Is you have any link with this information... Best Regards Marcelo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084120#4084120 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084120 From do-not-reply at jboss.com Thu Sep 13 14:24:39 2007 From: do-not-reply at jboss.com (fabiopmiranda) Date: Thu, 13 Sep 2007 14:24:39 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: NoSuchMethodError in remote client WS call Message-ID: <13213758.1189707879412.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm getting the same error... I used the wsdl4j.jar in the client dir but still not working. I'm using JDK 5 and I think this is a problem with a wrong of some jar... Exception in thread "main" java.lang.NoSuchMethodError: com.ibm.wsdl.xml.WSDLReaderImpl.setEntityResolver(Lorg/xml/sax/EntityResolver;)V at org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:142) at org.jboss.ws.metadata.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:273) at org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:110) at org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:82) at org.jboss.ws.jaxrpc.ServiceImpl.(ServiceImpl.java:96) any help would be appreciated. Fabio Miranda View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084137#4084137 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084137 From do-not-reply at jboss.com Thu Sep 13 15:13:41 2007 From: do-not-reply at jboss.com (bernhard_pauler) Date: Thu, 13 Sep 2007 15:13:41 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Custom exception/fault with JBoss & JWSDP Message-ID: <22369166.1189710821974.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm struggling with this issue for a good while now - I hope somebody can help me... I want to develop a web service interface with methods that throw a custom exception. I have been using the developerWorks article on exception handling (http://www.ibm.com/developerworks/webservices/library/ws-tip-jaxrpc.html) and samples provided by web service toolkits like Axis as guides for my own implementation. But JBoss (4.2.1.GA) keeps printing the following messages while deploying my WAR file: anonymous wrote : 19:25:26,031 WARN [JAXRPCMetaDataBuilder] Cannot obtain java type mapping for: {http://www.mycompany/MyService}>MyServiceFault | 19:25:26,109 WARN [SchemaBindingBuilder] Type definition not found in schema: {http://www.mycompany.com/MyService}MyServiceFault | 19:25:26,109 WARN [SchemaBindingBuilder] Cannot obtain type binding for: {http://www.mycompany.com/MyService}MyServiceFault I start with a handwritten WSDL file (see below) and use the JWSDP tools (2.0) to generate the server-side artifacts and the JAX-RPC mapping file (as outlined in the book "JBoss at Work"). I tried the WSDL file of the faulthandling sample that comes with Apache Axis2 (1.3, bank.wsdl) and get the same messages. Any ideas? Do I have to use the wstools that come with JBossWS to get this thing working? Here is my WSDL file: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084171#4084171 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084171 From do-not-reply at jboss.com Thu Sep 13 15:16:39 2007 From: do-not-reply at jboss.com (drblmb) Date: Thu, 13 Sep 2007 15:16:39 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - How do you override soap:address location from WSDL at run t Message-ID: <15234588.1189710999994.JavaMail.jboss@colo-br-02.atl.jboss.com> Let's suppose you are running in production, and have a web service running at 1,000 different locations (IP Addresses). You don't want the overhead of having to go pull down the WSDL everytime you get the port, so you statically link with a .WSDL file stored locally. The problem, however, is that the soap:address location is statically defined in the WSDL. So - how does your JBossWS client change the endpoint address (NOT THE WSDL LOCATION) after getting the web service port? Example: I have the same web service running at x.x.x.A and at x.x.x.B. So I get the port, and I want to send the same SOAP Request to both servers - why even get the port twice? Just send it to x.x.x.A (assuming that is where the WSDL is pointing to), and then change the endpoint address to x.x.x.B, and using the same port, call the same method again and it should go to x.x.x.B. This is what we need to do - does anyone know how to do this? And yes, I know that you can override the WSDL location in the constructor - that isn't what I need to do here. I have been working on this for several days without success. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084173#4084173 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084173 From do-not-reply at jboss.com Thu Sep 13 15:20:39 2007 From: do-not-reply at jboss.com (drblmb) Date: Thu, 13 Sep 2007 15:20:39 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Client Discovery of Service Endpoint in Production Envir Message-ID: <13735593.1189711239807.JavaMail.jboss@colo-br-02.atl.jboss.com> I do understand the question. My question is pretty much the same: Let's suppose you are running in production, and have a web service running at 1,000 different locations (IP Addresses). You don't want the overhead of having to go pull down the WSDL everytime you get the port, so you statically link with a .WSDL file stored locally. The problem, however, is that the soap:address location is statically defined in the WSDL. So - how does your JBossWS client change the endpoint address (NOT THE WSDL LOCATION) after getting the web service port? Example: I have the same web service running at x.x.x.A and at x.x.x.B. So I get the port, and I want to send the same SOAP Request to both servers - why even get the port twice? Just send it to x.x.x.A (assuming that is where the WSDL is pointing to), and then change the endpoint address to x.x.x.B, and using the same port, call the same method again and it should go to x.x.x.B. This is what we need to do - does anyone know how to do this? And yes, I know that you can override the WSDL location in the constructor - that isn't what I need to do here. I have been working on this for several days without success. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084179#4084179 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084179 From do-not-reply at jboss.com Thu Sep 13 15:23:33 2007 From: do-not-reply at jboss.com (drblmb) Date: Thu, 13 Sep 2007 15:23:33 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: change in run-time the soap:address location of wsdl. Message-ID: <23213378.1189711413911.JavaMail.jboss@colo-br-02.atl.jboss.com> I don't understand how to do this. Using JBossWS 2.0.1GA - and still can't figure out how to override the end point address. What Stub? Let's suppose you are running in production, and have a web service running at 1,000 different locations (IP Addresses). You don't want the overhead of having to go pull down the WSDL everytime you get the port, so you statically link with a .WSDL file stored locally. The problem, however, is that the soap:address location is statically defined in the WSDL. So - how does your JBossWS client change the endpoint address (NOT THE WSDL LOCATION) after getting the web service port? Example: I have the same web service running at x.x.x.A and at x.x.x.B. So I get the port, and I want to send the same SOAP Request to both servers - why even get the port twice? Just send it to x.x.x.A (assuming that is where the WSDL is pointing to), and then change the endpoint address to x.x.x.B, and using the same port, call the same method again and it should go to x.x.x.B. This is what we need to do - does anyone know how to do this? And yes, I know that you can override the WSDL location in the constructor - that isn't what I need to do here. I have been working on this for several days without success. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084183#4084183 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084183 From do-not-reply at jboss.com Thu Sep 13 15:39:26 2007 From: do-not-reply at jboss.com (sselvia) Date: Thu, 13 Sep 2007 15:39:26 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Unable to load Provider: Failed to load javax.xml.ws.spi.Pro Message-ID: <17783878.1189712366128.JavaMail.jboss@colo-br-02.atl.jboss.com> Using the wsrunclient and I'm having the following problem: wsrunclient com.datamentors.web.DMWebClient javax.xml.ws.WebServiceException: Unable to load Provider: Failed to load javax.xml.ws.spi.Provider: org.jboss.ws.core.jaxws.spi.ProviderImpl at javax.xml.ws.spi.Provider.provider(Provider.java:98) at javax.xml.ws.Service.(Service.java:83) at com.datamentors.web.jboss.DMWebService.(DMWebService.java:40) at com.datamentors.web.DMWebClient.processJBoss421JAXWSRequest(DMWebClient.java:103) at com.datamentors.web.DMWebClient.main(DMWebClient.java:131) Caused by: java.lang.IllegalStateException: Failed to load javax.xml.ws.spi.Provider: org.jboss.ws.core.jaxws.spi.ProviderImpl at javax.xml.ws.spi.ProviderLoader.loadProvider(ProviderLoader.java:96) at javax.xml.ws.spi.Provider.provider(Provider.java:90) ... 4 more Caused by: java.lang.NoClassDefFoundError: org/jboss/util/NotImplementedException at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357) at java.lang.Class.getConstructor0(Class.java:2671) at java.lang.Class.newInstance0(Class.java:321) at java.lang.Class.newInstance(Class.java:303) at javax.xml.ws.spi.ProviderLoader.loadProvider(ProviderLoader.java:91) ... 5 more What jar is missing from the wsrunclient classpath??? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084194#4084194 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084194 From do-not-reply at jboss.com Thu Sep 13 15:45:38 2007 From: do-not-reply at jboss.com (fonseca) Date: Thu, 13 Sep 2007 15:45:38 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Dispatch + wssecurity Message-ID: <20929747.1189712738307.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm having a bit of trouble figuring this out - I'm trying to create a simple standalone dispatch for communication with an already set up webservice. I got everything working as expected if I use no security system - the problem arises when trying to invoke a request message involving an WSSecurityHandlerClient, resulting in a: | javax.xml.ws.soap.SOAPFaultException: org.jboss.ws.core.CommonSOAPFaultException: This service requires , which is missing. | at org.jboss.ws.core.jaxws.client.DispatchSOAPBinding.getReturnObject(DispatchSOAPBinding.java:165) | at org.jboss.ws.core.jaxws.client.DispatchImpl.getReturnObject(DispatchImpl.java:290) | at org.jboss.ws.core.jaxws.client.DispatchImpl.invokeInternal(DispatchImpl.java:141) | at org.jboss.ws.core.jaxws.client.DispatchImpl.invoke(DispatchImpl.java:102) | The server looks all good, and is expecting security information (encryption) which for some reason the client isn't sending. In my client, I have: | ... | System.setProperty("org.jboss.ws.wsse.keyStore", [...]); | System.setProperty("org.jboss.ws.wsse.keyStorePassword", [...]); | System.setProperty("org.jboss.ws.wsse.trustStore", [...]); | System.setProperty("org.jboss.ws.wsse.trustStorePassword", [...]); | | URL serverURL = new URL(store.getString(PreferenceConstants.SERVER_URL)); | URL serviceURL = new URL(serverURL, "services/testService"); | | service = new TestService(TestClient.class.getClassLoader().getResource("META-INF/TestService.wsdl"), new QName(namespace, "TestService")); | port = service.getTestPort(); | | BindingProvider bindingProvider = (BindingProvider) port; | List handlerChain = new ArrayList(); | handlerChain.add(new WSSecurityHandlerClient()); | bindingProvider.getBinding().setHandlerChain(handlerChain); | | Map reqContext = bindingProvider.getRequestContext(); | reqContext.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, serviceURL.toString()); | reqContext.put(BindingProvider.USERNAME_PROPERTY, SecurityService.instance().getID()); | reqContext.put(BindingProvider.PASSWORD_PROPERTY, ""); | | | dispatch = service.createDispatch(new QName(namespace, "TestPort"), StreamSource.class, Mode.PAYLOAD); | dispatch.getBinding().setHandlerChain(handlerChain); | | StreamSource response = dispatch.invoke(new StreamSource(new StringReader(request))); //request is a simple payload string | META-INF/jboss-wsse-client.xml | | | | | | | | | | | META-INF/standard-jaxws-client-config.xml | | | | Standard WSSecurity Client | | | ##SOAP11_HTTP | | WSSecurityHandlerOutbound | org.jboss.ws.extensions.security.jaxws.WSSecurityHandlerClient | | | | | | | Am I wrong to assume dispatch.invoke is responsible for appending the security tags in my message? Any help is appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084199#4084199 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084199 From do-not-reply at jboss.com Thu Sep 13 15:57:25 2007 From: do-not-reply at jboss.com (drblmb) Date: Thu, 13 Sep 2007 15:57:25 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: How do you override soap:address location from WSDL at r Message-ID: <4230758.1189713445367.JavaMail.jboss@colo-br-02.atl.jboss.com> ...And I don't want 1,000 copies of the WSDL on my client, either - one for each service location... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084206#4084206 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084206 From do-not-reply at jboss.com Thu Sep 13 17:04:30 2007 From: do-not-reply at jboss.com (Maffewl) Date: Thu, 13 Sep 2007 17:04:30 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: How do you override soap:address location from WSDL at r Message-ID: <12912474.1189717470901.JavaMail.jboss@colo-br-02.atl.jboss.com> i think its something like this: ((BindingProvider) service.getPort()).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, serviceURL) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084236#4084236 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084236 From do-not-reply at jboss.com Thu Sep 13 18:14:29 2007 From: do-not-reply at jboss.com (jaguaraci) Date: Thu, 13 Sep 2007 18:14:29 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Cannot obtain java type mapping for {http://business/jaws}Li Message-ID: <27731777.1189721669204.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I'm using Jboss 4.0.5G, JbossWS 1.0.3, SDK 1.5.0_9 and Windows XP_SP2. I have created theses classes using EJB3 annotation: package business; import java.rmi.Remote; import javax.jws.WebService; import javax.jws.soap.SOAPBinding; import javax.jws.soap.SOAPBinding.Style; @WebService @SOAPBinding(style = Style.RPC) public interface SelecionarMusicas extends Remote{ public java.util.List selecionarMusicas() ; } package business; import java.util.ArrayList; import java.util.List; import javax.ejb.Remote; import javax.ejb.Stateless; import javax.jws.WebService; import transfer.MusicaTO; import delegate.ManterMusicaDelegate; import exceptions.MusicaException; @Stateless @WebService(endpointInterface="business.SelecionarMusicas") @Remote(SelecionarMusicas.class) public class SelecionarMusicasWS { public java.util.List selecionarMusicas() throws MusicaException{ List musicas = new ArrayList(); ManterMusicaDelegate delegate; delegate = new ManterMusicaDelegate(); musicas = delegate.selecionarMusicas(); return musicas; } } package client; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import javax.xml.namespace.QName; import javax.xml.rpc.ServiceException; import javax.xml.rpc.ServiceFactory; import javax.xml.rpc.Service; import transfer.MusicaTO; import business.SelecionarMusicas; public class WebserviceClient { private static final String nameSpace="http://business/jaws"; private static final String service="SelecionarMusicasService"; private static final String wsdl="http://localhost:8080/easd2007/SelecionarMusicasWS?wsdl"; public static void main(String[] args) { try { System.out.println("Starting Test Client"); URL url = new URL(wsdl); QName qname = new QName(nameSpace,service); System.out.println("Creating a service"); ServiceFactory factory = ServiceFactory.newInstance(); Service remote = factory.createService(url, qname); System.out.println("Obtaining reference to a proxy object"); SelecionarMusicas proxy = (SelecionarMusicas) remote.getPort(SelecionarMusicas.class); System.out.println("Accessed local proxy: " + proxy); System.out.println("Receiving data: "); List musicas = new ArrayList(); musicas = proxy.selecionarMusicas(); for (Iterator iter = musicas.iterator() ; iter.hasNext();){ System.out.print("Nome: "+ iter.next().getNome()); System.out.print("Tom: "+ iter.next().getNome()); System.out.print("Dominante Prim?rio: "+ iter.next().getNome()); System.out.print("Dominante Secund?rio: "+ iter.next().getNome()); System.out.print("Diminuto Ascendente: "+ iter.next().getNome()); System.out.print("Diminuto Descendente: "+ iter.next().getNome()); System.out.print("Diminuto Alternativo: "+ iter.next().getNome()); System.out.print("Clich? Harm?nico: "+ iter.next().getNome()); } } catch (MalformedURLException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (ServiceException e) { // TODO Auto-generated catch block e.printStackTrace(); } } } When I try to use a webservice client happens it: Exception in thread "main" org.jboss.ws.WSException: Cannot obtain java type mapping for: {http://business/jaws}List at org.jboss.ws.deployment.JSR109MetaDataBuilder.buildParameterMetaDataRpc(JSR109MetaDataBuilder.java:321) at org.jboss.ws.deployment.JSR109MetaDataBuilder.setupOperationsFromWSDL(JSR109MetaDataBuilder.java:196) at org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaDataInternal(JSR109ClientMetaDataBuilder.java:208) at org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:126) 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.WebserviceClient.main(Unknown Source) Somebody know why ? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084262#4084262 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084262 From do-not-reply at jboss.com Fri Sep 14 02:49:19 2007 From: do-not-reply at jboss.com (richard_opalka) Date: Fri, 14 Sep 2007 02:49:19 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Unable to load Provider: Failed to load javax.xml.ws.spi Message-ID: <15857312.1189752559759.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, you are missing: jboss-common-client.jar for JBoss AS 4.x jboss-common-core.jar for JBoss AS 5.x Cheers, Richard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084310#4084310 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084310 From do-not-reply at jboss.com Fri Sep 14 03:04:27 2007 From: do-not-reply at jboss.com (richard_opalka) Date: Fri, 14 Sep 2007 03:04:27 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Help with development environment Message-ID: <3547548.1189753467041.JavaMail.jboss@colo-br-02.atl.jboss.com> OK, here's my .classpath (Eclipse project file) I'm using (note, this classpath includes almost all jars even those you will not need at all) | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I suggest you to use POJOs as WebServices ;-) Richard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084312#4084312 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084312 From do-not-reply at jboss.com Fri Sep 14 03:06:47 2007 From: do-not-reply at jboss.com (richard_opalka) Date: Fri, 14 Sep 2007 03:06:47 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: change in run-time the soap:address location of wsdl. Message-ID: <9504255.1189753607151.JavaMail.jboss@colo-br-02.atl.jboss.com> Take a look to addressing JBossWS samples and read WS-Addressing spec. It might help you;-) Cheers, Richard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084314#4084314 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084314 From do-not-reply at jboss.com Fri Sep 14 03:13:02 2007 From: do-not-reply at jboss.com (richard_opalka) Date: Fri, 14 Sep 2007 03:13:02 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: NoSuchMethodError in remote client WS call Message-ID: <27630882.1189753982837.JavaMail.jboss@colo-br-02.atl.jboss.com> OK, ensure the followings: * wsdl4j.jar from jboss client dir must be the first one on the classpath * if this will not help, ensure IBM WSDL reader/writer implementation is not part of Java you're using. If it is apply the Java Endorsed Mechanism Cheers, Richard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084316#4084316 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084316 From do-not-reply at jboss.com Fri Sep 14 03:48:18 2007 From: do-not-reply at jboss.com (richard_opalka) Date: Fri, 14 Sep 2007 03:48:18 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Custom exception/fault with JBoss & JWSDP Message-ID: <19093393.1189756098139.JavaMail.jboss@colo-br-02.atl.jboss.com> I think you should use wstools that ships with JBoss AS you're using View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084324#4084324 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084324 From do-not-reply at jboss.com Fri Sep 14 04:07:59 2007 From: do-not-reply at jboss.com (bernhard_pauler) Date: Fri, 14 Sep 2007 04:07:59 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Custom exception/fault with JBoss & JWSDP Message-ID: <10372577.1189757279298.JavaMail.jboss@colo-br-02.atl.jboss.com> I will try that and post my results later. Thank you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084329#4084329 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084329 From do-not-reply at jboss.com Fri Sep 14 10:10:39 2007 From: do-not-reply at jboss.com (itrahulsoni) Date: Fri, 14 Sep 2007 10:10:39 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Port does not contain operation meta data for: operationName Message-ID: <2549750.1189779039210.JavaMail.jboss@colo-br-02.atl.jboss.com> I have created One webservice using the JBossws tool Tools I am using : JBoss 4.0.5 GA Application Server JBossws Class and Ant to build and deploy the webservice on the AppServer Interface is: import java.rmi.Remote; import java.rmi.RemoteException; public interface math extends Remote { public int add(int a,int b) throws RemoteException; } And My Class is import java.rmi.RemoteException; public class mathClass implements math{ public int add(int a, int b) throws RemoteException { return a+b; } } and I have created config.xml as well as web.xml and uploaded the webservice on the JBoss Appplication server. It will also displays the service when I am tying that using http://localhost:8080/jbossws/services but when I am creating a client using ther org.apache.axis api My Client code is : import javax.xml.rpc.ParameterMode; import org.apache.axis.client.Service; import org.apache.axis.client.Call; import org.apache.axis.encoding.XMLType; public class MathClientAxis { public MathClientAxis() { getData(); } public void getData() { try { Service service = new Service(); Call call = (Call) service.createCall(); String endpoint = "http://localhost:8080/mathservice/MathWs?WSDL"; call.setTargetEndpointAddress(endpoint); call.setOperationName("add"); call.setEncodingStyle(org.apache.axis.Constants.URI_SOAP11_ENC); call.setUseSOAPAction(false); System.out.println(org.apache.axis.Constants.URI_SOAP11_ENC); call.addParameter("int_1",XMLType.XSD_INT, ParameterMode.IN); call.addParameter("int_2",XMLType.XSD_INT, ParameterMode.IN); call.setReturnType(XMLType.XSD_INT); Object temp; temp = call.invoke(new Object[] {new Integer(4),new Integer(5)}); System.out.println("output"+temp); } catch(Exception e) { e.printStackTrace(); } } public static void main(String args[]) { new MathClientAxis(); } } When I invoke the client it will display the following error: faultDetail: {http://xml.apache.org/axis/}stackTrace:Endpoint {http://math.ws.jboss.org/}mathPort does not contain operation meta data for: add at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222) at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129) at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087) at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403) at org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:1480) at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1149) at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381) at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081) at javax.xml.parsers.SAXParser.parse(SAXParser.java:345) at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084468#4084468 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084468 From do-not-reply at jboss.com Fri Sep 14 11:22:36 2007 From: do-not-reply at jboss.com (ansantharam) Date: Fri, 14 Sep 2007 11:22:36 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - JBossWS 2.1 not installed properly on JBoss 4.05.GA Message-ID: <20743062.1189783356063.JavaMail.jboss@colo-br-02.atl.jboss.com> Our app is built using JDK 1.4, during the installation of JBossWS on 4.05GA version using the script ant deploy-jboss40 prepare: undeploy-jboss40: [delete] Deleting directory C:\jboss-4.0.5.GA\server\default\deploy\jbossws14.sar deploy-jboss40-ejb3: [unzip] Expanding: C:\jbossws-native-2.0.1.GA\lib\jbossws-core-scripts.zip into C:\jboss-4.0.5.GA\bin [copy] Copying 17 files to C:\jboss-4.0.5.GA\client [copy] Copying 1 file to C:\jboss-4.0.5.GA\lib [copy] Copying 5 files to C:\jboss-4.0.5.GA\server\default\lib [mkdir] Created dir: C:\jboss-4.0.5.GA\server\default\deploy\jbossws.sar [unjar] Expanding: C:\jbossws-native-2.0.1.GA\lib\jbossws-native40.sar into C:\jboss-4.0.5.GA\server\default\deploy\jbossws.sa r [mkdir] Created dir: C:\jboss-4.0.5.GA\server\default\deploy\juddi-service.sar [unzip] Expanding: C:\jbossws-native-2.0.1.GA\lib\juddi-service.sar into C:\jboss-4.0.5.GA\server\default\deploy\juddi-service .sar [unzip] Expanding: C:\jbossws-native-2.0.1.GA\lib\jbossws-framework-scripts.zip into C:\jboss-4.0.5.GA\bin [copy] Copying 3 files to C:\jboss-4.0.5.GA\client [copy] Copying 3 files to C:\jboss-4.0.5.GA\server\default\lib deploy-jboss40-no-ejb3: [move] Moving 1 file to C:\jboss-4.0.5.GA\server\default\deploy\jbossws.sar\META-INF BUILD FAILED C:\jbossws-native-2.0.1.GA\build\build-deploy.xml:79: The following error occurred while executing this line: C:\jbossws-native-2.0.1.GA\build\macros-deploy-native.xml:298: Warning: Could not find file C:\jboss-4.0.5.GA\server\default\deploy\jbossws.sar\META-INF\jboss-service-no-ejb3.xml to copy. Appreciate any help on this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084524#4084524 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084524 From do-not-reply at jboss.com Fri Sep 14 14:57:09 2007 From: do-not-reply at jboss.com (fabiopmiranda) Date: Fri, 14 Sep 2007 14:57:09 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: NoSuchMethodError in remote client WS call Message-ID: <24520379.1189796229632.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks Richard ... it seems that worked ... now I got a new one Excetion: Exception in thread "main" org.jboss.ws.WSException: Cannot obtain java type mapping for: {...} View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084609#4084609 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084609 From do-not-reply at jboss.com Fri Sep 14 15:46:02 2007 From: do-not-reply at jboss.com (fabiopmiranda) Date: Fri, 14 Sep 2007 15:46:02 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: NoSuchMethodError in remote client WS call Message-ID: <13232476.1189799162401.JavaMail.jboss@colo-br-02.atl.jboss.com> I've fixed that problem ... now I have this: javax.xml.rpc.ServiceException: SEI does not implement java.rmi.Remote: I have an EJB with @Remote annotation. any help would be appreciated. Fabio Miranda View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084621#4084621 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084621 From do-not-reply at jboss.com Fri Sep 14 16:17:11 2007 From: do-not-reply at jboss.com (mstine) Date: Fri, 14 Sep 2007 16:17:11 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Type Substitution doesn't work with Schema2Java Client a Message-ID: <4733230.1189801031252.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm having the exact same problem. The WSDL is correct, the generated classes look correct, but I'm only getting instances of the parent class. No type substitution. I'd send code and test cases but I'm working w/ a large enterprise system that would take you forever to get setup just to test with. Please help with this one. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084631#4084631 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084631 From do-not-reply at jboss.com Fri Sep 14 17:10:32 2007 From: do-not-reply at jboss.com (drblmb) Date: Fri, 14 Sep 2007 17:10:32 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: How do you override soap:address location from WSDL at r Message-ID: <17191023.1189804232208.JavaMail.jboss@colo-br-02.atl.jboss.com> Thank you - that was it and it worked! This is something that should be specified in the user documentation...it was a major headache. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084650#4084650 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084650 From do-not-reply at jboss.com Fri Sep 14 23:08:27 2007 From: do-not-reply at jboss.com (juanm_med) Date: Fri, 14 Sep 2007 23:08:27 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: 404 error when WS deployed in EAR Message-ID: <19519211.1189825707406.JavaMail.jboss@colo-br-02.atl.jboss.com> If you have your application in production, and so you cannot change its context-root, you can also change the name of the jar file where the Web Service is located. Rememeber to update your application.xml with the new name. This way, you can use your Web Service with the name of the jar file instead of the context of the web application. For example, if you have an application with a context root "myApp", which coincides with the name of the jar file "myApp.jar", you can change the jar file to "myAppServices.jar" and see your WSDL as: http://localhost:8080/myAppServices/MyService?wsdl as your application can still be accessed as: http://localhost:8080/myApp Hope it helps View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084701#4084701 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084701 From do-not-reply at jboss.com Sat Sep 15 06:18:36 2007 From: do-not-reply at jboss.com (bernhard_pauler) Date: Sat, 15 Sep 2007 06:18:36 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Necessary artifacts/descriptors for JAX-WS web service Message-ID: <16131168.1189851516163.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm somewhat lost. I don't know what artifacts/descriptors are needed for a >JAX-WS< web service... I start with a handwritten WSDL file and use the wsconsume tool to generate the annotated Java source code. I know I have to put the classes in the 'classes' directory and the WSDL file in the 'wsdl' directory under WEB-INF. What descriptors need to go into the WAR file for deployment, which can be generated and how do they need to look like? I couldn't find any thorough/step-by-step tutorial on this topic (the "JBossWS 2.0.GA - JAX-WS User Guide" is fairly incomplete in my opinion). jaxrpc-mapping.xml, jboss-web.xml, web.xml, webservices.xml? Any help greatly appreciated, Bernhard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084724#4084724 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084724 From do-not-reply at jboss.com Sat Sep 15 06:36:08 2007 From: do-not-reply at jboss.com (palin) Date: Sat, 15 Sep 2007 06:36:08 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Necessary artifacts/descriptors for JAX-WS web service Message-ID: <9171816.1189852568682.JavaMail.jboss@colo-br-02.atl.jboss.com> "bernhard_pauler" wrote : I'm somewhat lost. I don't know what artifacts/descriptors are needed for a >JAX-WS< web service... | | I start with a handwritten WSDL file and use the wsconsume tool to generate the annotated Java source code. I know I have to put the classes in the 'classes' directory and the WSDL file in the 'wsdl' directory under WEB-INF. What descriptors need to go into the WAR file for deployment, which can be generated and how do they need to look like? | | I couldn't find any thorough/step-by-step tutorial on this topic (the "JBossWS 2.0.GA - JAX-WS User Guide" is fairly incomplete in my opinion). See section 2.1 (POJO endpoints) and 2.2 (SLSB endpoints); anyway the full documentation is coming back soon on the wiki (as soon as the its host is fixed or replaced). anonymous wrote : jaxrpc-mapping.xml, jboss-web.xml, web.xml, webservices.xml? You only need web.xml if using pojo endpoints, none of them is using ejb3 slsb endpoints. Bye Alessio Soldano View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084726#4084726 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084726 From do-not-reply at jboss.com Sat Sep 15 06:51:12 2007 From: do-not-reply at jboss.com (palin) Date: Sat, 15 Sep 2007 06:51:12 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: JBossWS 2.0.1 not installed properly on JBoss 4.05.GA Message-ID: <9372834.1189853472349.JavaMail.jboss@colo-br-02.atl.jboss.com> On jira you'll find an issue for this (it should be fixed in the next release) and a workaround to be used with jbws 2.0.1.GA. http://jira.jboss.org/jira/browse/JBWS-1796 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084728#4084728 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084728 From do-not-reply at jboss.com Sat Sep 15 08:57:38 2007 From: do-not-reply at jboss.com (palin) Date: Sat, 15 Sep 2007 08:57:38 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: NoSuchMethodError in remote client WS call Message-ID: <2212312.1189861058106.JavaMail.jboss@colo-br-02.atl.jboss.com> I guess you're using JAX-RPC, am I right? I think you need to either provide a service endpoint interface implementing java.rmi.Remote or switch to JAX-WS (you're using ejb3...) Alessio Soldano View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084734#4084734 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084734 From do-not-reply at jboss.com Sat Sep 15 11:54:23 2007 From: do-not-reply at jboss.com (bernhard_pauler) Date: Sat, 15 Sep 2007 11:54:23 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Necessary artifacts/descriptors for JAX-WS web service Message-ID: <32559469.1189871663155.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm not really happy with that - but thanks anyway. I think I will go back to JAX-RPC... Bernhard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084752#4084752 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084752 From do-not-reply at jboss.com Sat Sep 15 13:00:41 2007 From: do-not-reply at jboss.com (palin) Date: Sat, 15 Sep 2007 13:00:41 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Necessary artifacts/descriptors for JAX-WS web service Message-ID: <23996592.1189875641538.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi "bernhard_pauler" wrote : I'm not really happy with that - but thanks anyway. | | I think I will go back to JAX-RPC... honestly, I can't understand why. JAX-WS definitely simplifies development; moreover you don't need a lot of artifacts as jbossws generates what it needs once you deploy your application. May be I'm missing something... Bye Alessio Soldano View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084760#4084760 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084760 From va.planat at gmail.com Mon Sep 17 06:07:12 2007 From: va.planat at gmail.com (hpvpl) Date: Mon, 17 Sep 2007 12:07:12 +0200 Subject: [jbossws-users] multiples POJOs questions Message-ID: <8b350cf00709170307l781f3e3fk965cb5f9e25071bb@mail.gmail.com> Hi, I have currently a java API (class, inheritance etc ?) that I would like to expose through Web-Services using the latest Jboss-Ws I would like to create a unique Web-Service which would provide access to the API. I'm wondering if, through this unique Web-Service, the Client will access the different Object of my API. Example In my java API, I have 2 Objects. In Object1, I have a method (method1) which returns Object2. Object2 Object1.method1(); I'm wondering if Jboss-WS supports WS client for such case ? Thanks for your support Cheers vpl -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/jbossws-users/attachments/20070917/db6f8cba/attachment.html From do-not-reply at jboss.com Mon Sep 17 08:43:11 2007 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Mon, 17 Sep 2007 08:43:11 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: How do you override soap:address location from WSDL at r Message-ID: <16326026.1190032991633.JavaMail.jboss@colo-br-02.atl.jboss.com> Please go ahead and contribute it to the WIKI: http://jbws.dyndns.org/mediawiki/index.php?title=JAX-WS_User_Guide That's why we chose a WIKI in the first place. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085022#4085022 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085022 From do-not-reply at jboss.com Mon Sep 17 10:48:05 2007 From: do-not-reply at jboss.com (drblmb) Date: Mon, 17 Sep 2007 10:48:05 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: How do you override soap:address location from WSDL at r Message-ID: <32406525.1190040485263.JavaMail.jboss@colo-br-02.atl.jboss.com> Done! The Wiki had been down for some time, so it is great that it is now back up. I added to the Client_Side section 5.3: http://jbws.dyndns.org/mediawiki/index.php?title=User_Guide#Client_Side View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085090#4085090 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085090 From va.planat at gmail.com Mon Sep 17 11:01:59 2007 From: va.planat at gmail.com (hpvpl) Date: Mon, 17 Sep 2007 17:01:59 +0200 Subject: [jbossws-users] WS-eventing sample Message-ID: <8b350cf00709170801p19313d7bh3b759d8b3f3ed02e@mail.gmail.com> Hi, I'm looking for an example of WS-eventing to implement Event (Subscribe/Notification) mechanism in jboss-WS. I've downloaded the latest GA 2.0.1 but can't find any example. Examples presents in previous versions (SysmonTestCase) Seems to have disappeared A task [JBWS-798 ] of the Jbossws 2.1.1 seems to address this issue (sample). But where can I get this sample and the 2.1.1 early access ? Thanks for your help Cheers -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/jbossws-users/attachments/20070917/2c09ea63/attachment.html From do-not-reply at jboss.com Tue Sep 18 00:27:58 2007 From: do-not-reply at jboss.com (vashistvishal) Date: Tue, 18 Sep 2007 00:27:58 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Necessary artifacts/descriptors for JAX-WS web service Message-ID: <12447806.1190089678076.JavaMail.jboss@colo-br-02.atl.jboss.com> Dont make a mistake of going back to JAX-RPC :-), embrace the change as it is for good. Documentation will be avialable their in future, have a look in examples bundled jboss-ws src 2.0.1 ga distribution yyou might find one. Any way thats my view,, if you still can get joy than post back and some one will be able to help you or use Jboss consulting servives View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085317#4085317 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085317 From do-not-reply at jboss.com Tue Sep 18 03:30:11 2007 From: do-not-reply at jboss.com (palin) Date: Tue, 18 Sep 2007 03:30:11 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Necessary artifacts/descriptors for JAX-WS web service Message-ID: <3556297.1190100611564.JavaMail.jboss@colo-br-02.atl.jboss.com> Yeah, exactly. Btw full documentation is now available at http://jbws.dyndns.org/mediawiki/index.php?title=JBossWS Alessio Soldano View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085343#4085343 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085343 From do-not-reply at jboss.com Tue Sep 18 03:37:52 2007 From: do-not-reply at jboss.com (itrahulsoni) Date: Tue, 18 Sep 2007 03:37:52 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: please help; could not find deserializer Message-ID: <16201291.1190101072593.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi I have the same problem I have done that using the wstools ant task and not able to foung how to add this mapping and package up it in the war file so my deserialize error is removed. so what to do please help me out. Tools I am using : JBoss 4.0.5 GA and wstools for the same version JDK1.5.06 Ant 1.6.5 My Ant file is following : when i supplied the needed wstools-config.xml and web.xml the Ant task will generate the needed jax-rpc_mapping.xml and webservices.xml and wsdl file for the service When I run the client it will work fine for the operaion that not returns the value means void and If i use the operation that will return value means String than it will give no deserializer found error so likely the same problem you have. So please help me to come out of that spend several days to for the solution. Regards, Rahul View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085345#4085345 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085345 From do-not-reply at jboss.com Tue Sep 18 04:11:02 2007 From: do-not-reply at jboss.com (linksman) Date: Tue, 18 Sep 2007 04:11:02 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - handleFault() is never called when chaning a handler Message-ID: <7740253.1190103062553.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello. My problem is as follows: The WS endpoint is annotated with @HandlerChain(file = "jaxws-server-handlers.xml") which references a class that extends GenericSOAPHandler The handleInboud(), handleOutbound() methods do get called, but the handleFault() does not, no matter the error thrown. Are there any suggestions? Thanks, Guy. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085350#4085350 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085350 From do-not-reply at jboss.com Tue Sep 18 04:18:03 2007 From: do-not-reply at jboss.com (AnisBM) Date: Tue, 18 Sep 2007 04:18:03 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Cannot find port in wsdl (need help) Message-ID: <21160794.1190103483354.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all, I have the same problem but I didn't found how to resolve it. Could someone help me ???? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085352#4085352 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085352 From do-not-reply at jboss.com Tue Sep 18 05:33:07 2007 From: do-not-reply at jboss.com (axismundi) Date: Tue, 18 Sep 2007 05:33:07 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - 2.0 whitepaper - DIGEST authentication Message-ID: <33427457.1190107987044.JavaMail.jboss@colo-br-02.atl.jboss.com> I could not find any architecture whitepaper explaining how JBossWS 2.0 is built. Anybody has a link? I am trying to figure out whether HTTP 1.1 DIGEST authentication is supported by JBossWS 2.0 on the client side. I could not find any hint in the user manual nor in the Wiki. The FAQ has one link to JBoss Remoting project, but does not explain how this integrates with JBoss WS. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085379#4085379 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085379 From do-not-reply at jboss.com Tue Sep 18 10:21:38 2007 From: do-not-reply at jboss.com (francis1970) Date: Tue, 18 Sep 2007 10:21:38 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Which IDE for Jboss WS ? Message-ID: <12137555.1190125298761.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all, I'd like to turn some Java classes into Web Services. I'm using MyEclipse (Eclipse + plugins) IDE. Unfortunately when I try to build a deploy a Web Service with this IDE then I cannot find anything in the UDDI Registry :-( Which IDE are you using for building web services with JBoss ?? Thanks Francesco View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085536#4085536 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085536 From do-not-reply at jboss.com Tue Sep 18 12:36:31 2007 From: do-not-reply at jboss.com (fabiopmiranda) Date: Tue, 18 Sep 2007 12:36:31 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: NoSuchMethodError in remote client WS call Message-ID: <10656498.1190133391869.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes ... I'm using EJB 3 with JAX-RPC. I dont know what to do, do you have an example of a JAX-RPC client? To switch to JAX-WS, what do I have to do in the EJB? Just take out the @SOAPBinding? Follow my EJB class: @Stateless @WebService(name="FabioSession") @SOAPBinding(style= SOAPBinding.Style.RPC) public class FabioSessionBean implements FabioSession, FabioSessionWS { @WebMethod public String hello() { return "Hello"; } } and the client: ServiceFactory factory = erviceFactory.newInstance(); Service remote = factory.createService(url, qname); FabioSession fabio = (FabioSession) remote.getPort(FabioSession.class); System.out.println("Accessed local proxy: " + fabio); System.out.println("Receiving: " + fabio.hello()); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085602#4085602 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085602 From do-not-reply at jboss.com Tue Sep 18 13:37:38 2007 From: do-not-reply at jboss.com (fabiopmiranda) Date: Tue, 18 Sep 2007 13:37:38 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: NoSuchMethodError in remote client WS call Message-ID: <20925136.1190137058601.JavaMail.jboss@colo-br-02.atl.jboss.com> I've solved that problem ... I've just extends java.rmi.Remote and add this @WebService(endpointInterface="com.fabio.teste.ejb.FabioSessionWS") in the EJB impl class. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085651#4085651 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085651 From do-not-reply at jboss.com Tue Sep 18 13:47:08 2007 From: do-not-reply at jboss.com (cffranco) Date: Tue, 18 Sep 2007 13:47:08 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Forbidden AxisFault.. Message-ID: <15721348.1190137628047.JavaMail.jboss@colo-br-02.atl.jboss.com> I resolved my problem. I used Dproxy=xxxx for connection internet in my squid.conf is was not permited my machine. After to correct the configuration. Works fine. Claudemir. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085658#4085658 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085658 From do-not-reply at jboss.com Tue Sep 18 16:01:59 2007 From: do-not-reply at jboss.com (bernhard_pauler) Date: Tue, 18 Sep 2007 16:01:59 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Problem with methods returning an attachment Message-ID: <13777515.1190145719148.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a nasty problem. Some methods of my web service should return an attachment. I start with a handwritten WSDL file and generate the necessary artifacts and descriptors using JAX-RPC tools. There are no warning or error messages at deploy time. An error occurs after invoking the method: 16:27:34,485 ERROR [SOAPFaultHelperJAXRPC] SOAP request exception org.jboss.ws.WSException: Operation does not have a return value: {http://myservice.mycompany.com/myservice}getTemplate I can't figure out why JBoss behaves that way - can somebody help me with this? Thanks, Bernhard Here are of the relevant files: MyService.wsdl: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | jaxrpc-mapping.xml: | | | com.mycompany.myservice | http://myservice.mycompany.com/myservice | | | com.mycompany.myservice.MyServiceFault | typeNS:>MyServiceFault | complexType | | errorCode | errorCode | | | errorMessage | errorMessage | | | | com.mycompany.myservice.GetTemplate | http://myservice.mycompany.com/myservice:>getTemplate | complexType | | templateId | templateId | | | | com.mycompany.myservice.MyServiceFault | exMsgNS:MyServiceFaultMessage | | errorCode | errorMessage | | | | com.mycompany.myservice.MyService | serviceNS:MyService | | MyServiceEndpointPort | MyServiceEndpointPort | | | | com.mycompany.myservice.MyServiceEndpoint | portTypeNS:MyServiceEndpoint | bindingNS:MyServiceEndpointBinding | | getTemplate | getTemplate | | | 0 | int | | wsdlMsgNS:getTemplateRequest | templateId | IN | | | | javax.activation.DataHandler | wsdlMsgNS:getTemplateResponse | template | | | | MyServiceEndpoint.java:package com.mycompany.myservice; | | public interface MyServiceEndpoint extends java.rmi.Remote { | public javax.activation.DataHandler getTemplate(int templateId) throws | com.mycompany.myservice.MyServiceFault, java.rmi.RemoteException; | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085734#4085734 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085734 From do-not-reply at jboss.com Tue Sep 18 16:14:01 2007 From: do-not-reply at jboss.com (bernhard_pauler) Date: Tue, 18 Sep 2007 16:14:01 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Necessary artifacts/descriptors for JAX-WS web service Message-ID: <24455594.1190146441240.JavaMail.jboss@colo-br-02.atl.jboss.com> It's too late. ;) I haven't looked into the documentation yet, but the link is finally working. But seriously - web services is the most frustrating topic I have ever worked on. I understand that it's not a trivial topic but why does it have to be so hard? Sorry, this is probably not the right place for my comment. A good documentation would definitely help people. But perhaps it's already there, hidden behind that link ... ;) Thanks, Bernhard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085737#4085737 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085737 From do-not-reply at jboss.com Tue Sep 18 16:44:16 2007 From: do-not-reply at jboss.com (bernhard_pauler) Date: Tue, 18 Sep 2007 16:44:16 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Custom exception/fault with JBoss & JWSDP Message-ID: <12838503.1190148256998.JavaMail.jboss@colo-br-02.atl.jboss.com> I tried it - and it worked with the wstools. BUT ... Besides the custom exception I have to work with attachments. With the definition of attachments in place I really had a hard time with the wstools. I tried really hard - but I had to step back to the wscompile tool of the JWSDP which just worked without fiddling. I wanted to solve the custom exception issue though so I investigated once more and compared the generated artifacts/descriptors of the two tools. And I finally found the difference - it was in the jaxrpc-mapping.xml: JWSDP - wscompiletypeNS:MyServiceFault JBoss - wstoolstypeNS:>MyServiceFault I don't know who to blame. The generated "root-type-qname" tag of the wscompile tool looks fishy if you compare it to the other tags in the same mapping file - and in fact JBoss can't seem to deal with it. Replace that line with the line the wstools generate and the warnings are gone and the custom exception mechanism is working. :) That's the solution to my problem now. Not a beautiful solution - but it works and I can't invest more time at the moment. Hope this helps somebody ... Bernhard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085744#4085744 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085744 From do-not-reply at jboss.com Tue Sep 18 19:08:47 2007 From: do-not-reply at jboss.com (javafreak) Date: Tue, 18 Sep 2007 19:08:47 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - ServletFilter/Proxy Per SOAP Request Message-ID: <22542321.1190156927572.JavaMail.jboss@colo-br-02.atl.jboss.com> Is it possible to implement something similar to a javax.servlet.Filter for web services? A ServletFilter for servlets allows me to capture the HTTP request, introspect and add to the request, and then forward the request to the target servlet. I need a similar capability for SOAP. Per each SOAP request, I need to capture the domain name used (i.e. abc.mywebsite.com) and then forward it to my web service API's. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085793#4085793 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085793 From do-not-reply at jboss.com Tue Sep 18 23:56:17 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Tue, 18 Sep 2007 23:56:17 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: jbossws-2.0.1 released Message-ID: <19113566.1190174177932.JavaMail.jboss@colo-br-02.atl.jboss.com> I am sorry about the temporary media wiki outage - we had a hardware problem when folks were on holiday View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085830#4085830 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085830 From do-not-reply at jboss.com Wed Sep 19 00:05:36 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 19 Sep 2007 00:05:36 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Two webservice classes define method with same name (bug Message-ID: <23355043.1190174736512.JavaMail.jboss@colo-br-02.atl.jboss.com> Private emails are useless. Please created an issue in jira and attach the relevant files to it. The jira issue and this forum thread should be cross referenced. cheers View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085833#4085833 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085833 From do-not-reply at jboss.com Wed Sep 19 00:14:41 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 19 Sep 2007 00:14:41 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: context-root in jboss.xml Message-ID: <27714304.1190175281248.JavaMail.jboss@colo-br-02.atl.jboss.com> http://jira.jboss.com/jira/browse/JBWS-1813 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085835#4085835 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085835 From do-not-reply at jboss.com Wed Sep 19 00:15:52 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 19 Sep 2007 00:15:52 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Wsconsume generated Stubs failing with JBoss-4.2.0 Message-ID: <544588.1190175352828.JavaMail.jboss@colo-br-02.atl.jboss.com> http://jira.jboss.org/jira/browse/JBWS-1812 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085836#4085836 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085836 From do-not-reply at jboss.com Wed Sep 19 00:19:48 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 19 Sep 2007 00:19:48 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Secure Webservice Message-ID: <17879122.1190175588059.JavaMail.jboss@colo-br-02.atl.jboss.com> Please start from a working sample that we distribute and tell us what modification stopped things working View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085837#4085837 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085837 From do-not-reply at jboss.com Wed Sep 19 03:35:32 2007 From: do-not-reply at jboss.com (richard_opalka) Date: Wed, 19 Sep 2007 03:35:32 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: ServletFilter/Proxy Per SOAP Request Message-ID: <7314674.1190187332050.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, you can use JAXWS handlers. There's a lot of tutorials on internet about it. Richard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085885#4085885 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085885 From do-not-reply at jboss.com Wed Sep 19 04:34:57 2007 From: do-not-reply at jboss.com (mageshbk@jboss.com) Date: Wed, 19 Sep 2007 04:34:57 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: WS-Security: keystores and truststores Message-ID: <22345574.1190190897811.JavaMail.jboss@colo-br-02.atl.jboss.com> I have created a JIRA request here http://jira.jboss.com/jira/browse/JBWS-1814 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085909#4085909 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085909 From do-not-reply at jboss.com Wed Sep 19 06:59:07 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 19 Sep 2007 06:59:07 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: New user needs help Message-ID: <30933479.1190199547850.JavaMail.jboss@colo-br-02.atl.jboss.com> This is not normal. You could start here http://jbws.dyndns.org/mediawiki/index.php?title=Quick_Start View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085970#4085970 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085970 From do-not-reply at jboss.com Wed Sep 19 07:16:23 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 19 Sep 2007 07:16:23 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Strange - Entry Point not receive WS Message data Message-ID: <15876937.1190200583289.JavaMail.jboss@colo-br-02.atl.jboss.com> The wsdl that is specified in wsdlLocation is published without further processing by the stack (except url rewriting) Please check if your message conforms to the wsdl that is generated by the endpoint. i.e. remove the wsdlLocation attribute View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085986#4085986 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085986 From do-not-reply at jboss.com Wed Sep 19 07:18:53 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 19 Sep 2007 07:18:53 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Error: Unable to createEndpointReference Provider Message-ID: <32044800.1190200733371.JavaMail.jboss@colo-br-02.atl.jboss.com> This looks like a classpath problem to me View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085988#4085988 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085988 From do-not-reply at jboss.com Wed Sep 19 07:23:11 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 19 Sep 2007 07:23:11 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: How di I get detail in SOAPFault Message-ID: <16418013.1190200991289.JavaMail.jboss@colo-br-02.atl.jboss.com> http://jira.jboss.org/jira/browse/JBWS-1815 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085994#4085994 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085994 From do-not-reply at jboss.com Wed Sep 19 08:16:07 2007 From: do-not-reply at jboss.com (iorlas) Date: Wed, 19 Sep 2007 08:16:07 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Secure Webservice Message-ID: <25838115.1190204167619.JavaMail.jboss@colo-br-02.atl.jboss.com> This was some time ago, so where I started is not a little bit foggy. But everything worked fine for me up to the point where I protected the webservice with a SecurityDomain. Sadly I cannot post the example code that I started with. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086036#4086036 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086036 From do-not-reply at jboss.com Wed Sep 19 08:44:07 2007 From: do-not-reply at jboss.com (palin) Date: Wed, 19 Sep 2007 08:44:07 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: handleFault() is never called when chaning a handler Message-ID: <9964301.1190205847586.JavaMail.jboss@colo-br-02.atl.jboss.com> "linksman" wrote : Hello. My problem is as follows: | | The WS endpoint is annotated with | @HandlerChain(file = "jaxws-server-handlers.xml") | which references a class that extends | GenericSOAPHandler | | The handleInboud(), handleOutbound() methods do get called, but the | handleFault() does not, no matter the error thrown. | | Are there any suggestions? | Thanks, | Guy. | | Could you please give us more informations or eventually create a jira issue attaching a simple test case showing this? Thank you Alessio Soldano View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086065#4086065 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086065 From do-not-reply at jboss.com Wed Sep 19 08:54:58 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 19 Sep 2007 08:54:58 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: How to get Exception inheritance in my WSDL.... Message-ID: <31055326.1190206498256.JavaMail.jboss@colo-br-02.atl.jboss.com> http://jira.jboss.com/jira/browse/JBWS-1816 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086079#4086079 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086079 From do-not-reply at jboss.com Wed Sep 19 08:58:03 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 19 Sep 2007 08:58:03 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: how to return an empty http response instead of soapmess Message-ID: <21487450.1190206683163.JavaMail.jboss@colo-br-02.atl.jboss.com> How about a using oneway endpoint View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086082#4086082 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086082 From do-not-reply at jboss.com Wed Sep 19 09:07:35 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 19 Sep 2007 09:07:35 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Sample application Message-ID: <2004.1190207255366.JavaMail.jboss@colo-br-02.atl.jboss.com> The samples are included in the binary distribution | ant deploy-jboss42 | ant tests | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086091#4086091 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086091 From do-not-reply at jboss.com Wed Sep 19 09:09:49 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 19 Sep 2007 09:09:49 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Cannot find port type for binding Message-ID: <5592041.1190207389387.JavaMail.jboss@colo-br-02.atl.jboss.com> If this is relevant for the latest release, we'd need a jira issue created with some test artifacts attached to it View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086093#4086093 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086093 From do-not-reply at jboss.com Wed Sep 19 09:12:18 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 19 Sep 2007 09:12:18 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: web service url Message-ID: <8921248.1190207538797.JavaMail.jboss@colo-br-02.atl.jboss.com> Its an FAQ How do I know what endpoint address is being used? http://jbws.dyndns.org/mediawiki/index.php?title=FAQ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086096#4086096 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086096 From do-not-reply at jboss.com Wed Sep 19 09:15:19 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 19 Sep 2007 09:15:19 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Client Discovery of Service Endpoint in Production Envir Message-ID: <28711542.1190207719406.JavaMail.jboss@colo-br-02.atl.jboss.com> http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084173#4084173 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086098#4086098 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086098 From do-not-reply at jboss.com Wed Sep 19 09:19:36 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 19 Sep 2007 09:19:36 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Unable to load Provider: Failed to load javax.xml.ws.spi Message-ID: <20918582.1190207976363.JavaMail.jboss@colo-br-02.atl.jboss.com> http://jira.jboss.org/jira/browse/JBWS-1793 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086102#4086102 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086102 From do-not-reply at jboss.com Wed Sep 19 09:22:47 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 19 Sep 2007 09:22:47 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Dispatch + wssecurity Message-ID: <6291970.1190208167948.JavaMail.jboss@colo-br-02.atl.jboss.com> http://jira.jboss.org/jira/browse/JBWS-1817 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086103#4086103 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086103 From do-not-reply at jboss.com Wed Sep 19 09:30:45 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 19 Sep 2007 09:30:45 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: 2.0 whitepaper - DIGEST authentication Message-ID: <6077390.1190208645504.JavaMail.jboss@colo-br-02.atl.jboss.com> Its not supported. You could create a jira feature request that folks can vote on. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086106#4086106 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086106 From do-not-reply at jboss.com Wed Sep 19 10:34:29 2007 From: do-not-reply at jboss.com (richard_opalka) Date: Wed, 19 Sep 2007 10:34:29 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Secure Webservice Message-ID: <13897982.1190212469363.JavaMail.jboss@colo-br-02.atl.jboss.com> If you have turned on the SecurityDomain then you must investigate what SecurityManager prohibits you to do and set up the rights correctly so JBossWS stack can work properly. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086152#4086152 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086152 From do-not-reply at jboss.com Wed Sep 19 10:51:53 2007 From: do-not-reply at jboss.com (richard_opalka) Date: Wed, 19 Sep 2007 10:51:53 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Which IDE for Jboss WS ? Message-ID: <18614125.1190213513289.JavaMail.jboss@colo-br-02.atl.jboss.com> You can use the IDE of your choice. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086165#4086165 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086165 From do-not-reply at jboss.com Wed Sep 19 10:53:53 2007 From: do-not-reply at jboss.com (richard_opalka) Date: Wed, 19 Sep 2007 10:53:53 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Problem with methods returning an attachment Message-ID: <7297310.1190213633747.JavaMail.jboss@colo-br-02.atl.jboss.com> Your WSDL seems correct to me, can you create a JIRA issue on this and attach minimized test sources to reproduce the problem? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086169#4086169 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086169 From do-not-reply at jboss.com Wed Sep 19 11:27:15 2007 From: do-not-reply at jboss.com (bernhard_pauler) Date: Wed, 19 Sep 2007 11:27:15 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Problem with methods returning an attachment Message-ID: <13990165.1190215635442.JavaMail.jboss@colo-br-02.atl.jboss.com> Hmmm, I will look into it. But do you any ideas how to circumvent this problem? Like adding a dummy return value of a different type - or using SAAJ on the server side? Thanks for your reply, Bernhard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086195#4086195 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086195 From do-not-reply at jboss.com Wed Sep 19 16:08:49 2007 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Wed, 19 Sep 2007 16:08:49 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: How do you override soap:address location from WSDL at r Message-ID: <21600507.1190232529137.JavaMail.jboss@colo-br-02.atl.jboss.com> cool. thanks for the WIKI update View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086313#4086313 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086313 From do-not-reply at jboss.com Thu Sep 20 01:54:23 2007 From: do-not-reply at jboss.com (itrahulsoni) Date: Thu, 20 Sep 2007 01:54:23 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - could not find deserializer Message-ID: <12513710.1190267663195.JavaMail.jboss@colo-br-02.atl.jboss.com> HI, All Tools I have used: JBoss 4.0.5GA wstools shiped with this server Ant 1.6.5 I am developing webservice using the wstools that is shiped with the {JBoss_home}/bin directory I have created simple service that will make addition of two numbers I have created wstools-config.xml file and web.xml file and rest of the files are generated by wstools like jax-rpc_mapping.xml and webservices.xml and the .wsdl file now when I am developing method that return void that works fine for me and when I am developing the method that return any type means String or Int it will throw the error could not find deserializer for the resule where encoding type = null when I am trying to invoke service using client. Please help me to come out of the Problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086444#4086444 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086444 From do-not-reply at jboss.com Thu Sep 20 04:59:20 2007 From: do-not-reply at jboss.com (timeagentess) Date: Thu, 20 Sep 2007 04:59:20 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - IllegalStateException: Cannot load SecurityAdaptor while run Message-ID: <58675.1190278760305.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello all, I am trying to run the SwaRef test sample from JBossWS 2.0 (working under JBoss 4.0.5). After building the tests, I execute ant -Dtest=jaxws/samples/swaref and I get this exception: java.lang.IllegalStateException: Cannot load SecurityAdaptor | at org.jboss.wsf.spi.invocation.SecurityAdaptorFactory.getSecurityAdaptor(SecurityAdaptorFactory.java:40) | at org.jboss.wsf.spi.test.TestDeployerJBoss.invokeMainDeployer(TestDeployerJBoss.java:81) | at org.jboss.wsf.spi.test.TestDeployerJBoss.deploy(TestDeployerJBoss.java:68) | at org.jboss.wsf.spi.test.JBossWSTestHelper.deploy(JBossWSTestHelper.java:58) | at org.jboss.wsf.spi.test.JBossWSTestSetup.setUp(JBossWSTestSetup.java:94) | at junit.extensions.TestSetup$1.protect(TestSetup.java:22) | at junit.framework.TestResult.runProtected(TestResult.java:128) | at junit.extensions.TestSetup.run(TestSetup.java:27) | at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421) | at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912) | at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:766) | Same exception is thrown for every other test sample in the suite. Can someone please offer some insight as to why this might be happening? Thank you! --Chris. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086502#4086502 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086502 From do-not-reply at jboss.com Thu Sep 20 05:37:01 2007 From: do-not-reply at jboss.com (richard_opalka) Date: Thu, 20 Sep 2007 05:37:01 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: IllegalStateException: Cannot load SecurityAdaptor while Message-ID: <32641832.1190281021087.JavaMail.jboss@colo-br-02.atl.jboss.com> For JBossWS 2.0.1 do the following: * Modify ant.properties accordingly (copy them from ant.propeties.example) * cd $JBOSSWS201_HOME * cp -f ant.properties.example ant.properties * emacs ant.properties // and to your configuration staff * Build JBossWS 2.0.1 * ./build.sh clean main * ./build.sh deploy-jboss40 * start JBoss AS * pushd $JBOSS405_HOME/bin * ./run.sh & * popd * execute test: * ./build.sh -Dtest=... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086511#4086511 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086511 From do-not-reply at jboss.com Thu Sep 20 07:09:41 2007 From: do-not-reply at jboss.com (richard_opalka) Date: Thu, 20 Sep 2007 07:09:41 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Problem with methods returning an attachment Message-ID: <29948.1190286581698.JavaMail.jboss@colo-br-02.atl.jboss.com> "bernhard_pauler" wrote : But do you any ideas how to circumvent this problem? Like adding a dummy return value of a different type - or using SAAJ on the server side? | I would start with functional JBossWS JAX-RPC samples (that comes with distribution) in your situation and customize them step by step :-) Richard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086571#4086571 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086571 From do-not-reply at jboss.com Thu Sep 20 07:11:37 2007 From: do-not-reply at jboss.com (richard_opalka) Date: Thu, 20 Sep 2007 07:11:37 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: could not find deserializer Message-ID: <18102317.1190286697874.JavaMail.jboss@colo-br-02.atl.jboss.com> Did you regenerate all the generated staff? Richard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086572#4086572 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086572 From do-not-reply at jboss.com Thu Sep 20 07:35:15 2007 From: do-not-reply at jboss.com (bernhard_pauler) Date: Thu, 20 Sep 2007 07:35:15 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Problem with methods returning an attachment Message-ID: <9787031.1190288115680.JavaMail.jboss@colo-br-02.atl.jboss.com> I see. Thanks. :-) Bernhard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086596#4086596 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086596 From do-not-reply at jboss.com Thu Sep 20 08:56:01 2007 From: do-not-reply at jboss.com (timeagentess) Date: Thu, 20 Sep 2007 08:56:01 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: IllegalStateException: Cannot load SecurityAdaptor while Message-ID: <33072677.1190292961847.JavaMail.jboss@colo-br-02.atl.jboss.com> Thank you, got them running in JBossWS 2.0.1. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086661#4086661 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086661 From do-not-reply at jboss.com Thu Sep 20 12:48:58 2007 From: do-not-reply at jboss.com (javafreak) Date: Thu, 20 Sep 2007 12:48:58 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: ServletFilter/Proxy Per SOAP Request Message-ID: <16647066.1190306938411.JavaMail.jboss@colo-br-02.atl.jboss.com> I created a JAXWS handler (Thanks Richard for the advice) but now I can't seem to locate any JBOSSWS-specific documentation on how to configure JBoss to us my JAXWS handler. I've seen many examples for other application servers and I've tried them on JBoss without success. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086806#4086806 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086806 From do-not-reply at jboss.com Thu Sep 20 17:19:25 2007 From: do-not-reply at jboss.com (sujatha9964) Date: Thu, 20 Sep 2007 17:19:25 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - question on SerializerFactory and DeSerializerFactory in JBo Message-ID: <653152.1190323165724.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi I have RPC/literal style APIs that are defined to support parameters and return argument of type JAVA Object. I want provide my own serializer and deserializer to handle the conversion back and forth and am looking for hooks in JBossWS 2.0. Any help is appreciated. ravi n View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086929#4086929 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086929 From do-not-reply at jboss.com Thu Sep 20 17:32:58 2007 From: do-not-reply at jboss.com (sujatha9964) Date: Thu, 20 Sep 2007 17:32:58 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Stack Overflow while deploing JBossWS 2.0 web services [ on Message-ID: <17106174.1190323978125.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi I have RPC/literal style APIs that access data model that has more than 500 classes. I generated the wsdl that imported types from multiple XSDs. These XSDs itself imported from other XSDs [ a complex graph of interdependencies]. When I deploy the war file with this, i get the stack overflow. Any insight or help is appreciated. thnks ravi n 13:33:38,990 INFO [TomcatDeployer] deploy, ctxPath=/jaxws-samples-webservice02-jse, warUrl=.../tmp/deploy/tmp37729jaxws-samples-webservice0 2-jse-exp.war/ 13:33:40,011 INFO [WSDLFilePublisher] WSDL published to: file:/C:/Project/JBoss/jboss-4.2.0.GA/server/default/data/wsdl/jaxws-samples-webse rvice02-jse.war/TestService.wsdl 13:34:03,949 ERROR [MainDeployer] Could not start deployment: file:/C:/Project/JBoss/jboss-4.2.0.GA/server/default/deploy/jaxws-samples-webs ervice02-jse.war java.lang.StackOverflowError at java.lang.String.indexOf(String.java:1352) at java.net.URLStreamHandler.parseURL(URLStreamHandler.java:127) at org.jboss.net.protocol.file.Handler.parseURL(Handler.java:47) at java.net.URL.(URL.java:596) at java.net.URL.(URL.java:464) at sun.misc.URLClassPath$FileLoader.getResource(URLClassPath.java:881) at sun.misc.URLClassPath$FileLoader.findResource(URLClassPath.java:871) at sun.misc.URLClassPath.findResource(URLClassPath.java:142) at java.net.URLClassLoader$2.run(URLClassLoader.java:362) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findResource(URLClassLoader.java:359) at java.lang.ClassLoader.getResource(ClassLoader.java:977) at org.jboss.ws.integration.ResourceLoaderAdapter.findChild(ResourceLoaderAdapter.java:97) at org.jboss.wsf.spi.deployment.UnifiedDeploymentInfo.getMetaDataFileURL(UnifiedDeploymentInfo.java:98) at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:210) at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:225) at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:225) at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:225) at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:225) at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:225) at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:225) at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:225) at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:225) at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:225) at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:225) at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:225) at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:225) at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:225) at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:225) at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:225) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086935#4086935 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086935 From do-not-reply at jboss.com Fri Sep 21 00:29:31 2007 From: do-not-reply at jboss.com (mrokka123) Date: Fri, 21 Sep 2007 00:29:31 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - JBossWS 2.0.1 Inheritance problem Message-ID: <14888040.1190348971461.JavaMail.jboss@colo-br-02.atl.jboss.com> I have tried @XmlSeeAlso on jbossWS2.0.1 to solved the type substitution problem[inheritance problem]. But it does not solved my problem. I have the following situation: My Pojo classes @XmlSeeAlso({B.class,C.class}) public class A extends java.io.Serializable{ } public class B extends A{ } public class C extends A{ } Now webservice @WebService(name = "MyWebServicePortType", serviceName = "MyWebService", portName = "MyWebServicePort",targetNamespace = "http://mywebservice.com") @SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED) public class MyWebService{ @WebMethod public String getClassName(A obj){ String className=obj.getClass().getName(); return className; //it always returns ?A? on jbossWS2.0.1 even if I pass the reference of B while calling this function from client } } Does anybody knows the solution? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087014#4087014 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087014 From do-not-reply at jboss.com Fri Sep 21 01:02:09 2007 From: do-not-reply at jboss.com (mrokka123) Date: Fri, 21 Sep 2007 01:02:09 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Problem with inheritance and JBossWS Message-ID: <27739799.1190350929273.JavaMail.jboss@colo-br-02.atl.jboss.com> I also have the same problem. I have used jboss4.2.0+jbossws2.0.1+jdk 1.5. I tried using @XmlSeeAlso on base class but it also can't solved my porblem. I have the following situation: My Pojo classes @XmlSeeAlso({B.class,C.class}) public class A extends java.io.Serializable{ } public class B extends A{ } public class C extends A{ } Now webservice @WebService(name = "MyWebServicePortType", serviceName = "MyWebService", portName = "MyWebServicePort",targetNamespace = "http://mywebservice.com") @SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED) public class MyWebService{ @WebMethod public String getClassName(A obj){ String className=obj.getClass().getName(); return className; //it always returns ?A? on jbossWS2.0.1 even if I pass the reference of B while calling this function from client } } Does anybody knows the solution? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087022#4087022 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087022 From do-not-reply at jboss.com Fri Sep 21 02:12:37 2007 From: do-not-reply at jboss.com (richard_opalka) Date: Fri, 21 Sep 2007 02:12:37 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: ServletFilter/Proxy Per SOAP Request Message-ID: <9961750.1190355157381.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, you can do it in the following way: @WebService | @EndpointConfig(configName = "My Custom Config", configFile = "META-INF/jaxws-client-config.xml") | public interface MyServiceIface{...} | where you use MyServiceIface in client code. In the case you want to deploy your custom handlers to server side, then do also: @WebService | @EndpointConfig(configName = "Custom Server Config", configFile = "WEB-INF/jaxws-endpoint-config.xml") | public class MyServiceImpl{...} | Remember, you must have META-INF/jaxws-client-config.xml on client classpath and WEB-INF/jaxws-endpoint-config.xml on server classpath. If you want to see some example, take a look to e.g. org.jboss.test.ws.jaxws.handlerlifecycle test in JBossWS distribution. Richard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087036#4087036 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087036 From do-not-reply at jboss.com Fri Sep 21 02:23:47 2007 From: do-not-reply at jboss.com (richard_opalka) Date: Fri, 21 Sep 2007 02:23:47 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Stack Overflow while deploing JBossWS 2.0 web services Message-ID: <12350647.1190355827824.JavaMail.jboss@colo-br-02.atl.jboss.com> The following link might help you to solve the problem: http://publib.boulder.ibm.com/infocenter/wasinfo/v4r0/index.jsp?topic=/com.ibm.support.was.doc/html/Java_SDK/1162896.html Richard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087037#4087037 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087037 From do-not-reply at jboss.com Fri Sep 21 02:58:10 2007 From: do-not-reply at jboss.com (itrahulsoni) Date: Fri, 21 Sep 2007 02:58:10 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: could not find deserializer Message-ID: <213364.1190357890602.JavaMail.jboss@colo-br-02.atl.jboss.com> sorry, I didn't get what you mean to say??????? how can we regenerate the stuffs. what can i do for that ??????? I am a new bie for the webservice. so can you please tell me how to do that regenerate the stuffs????????? what can i do for that?????? as i have said I am using Ant to use the wstools and package the war using the ant war task and deploy it on the server. Regards, Rahul. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087050#4087050 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087050 From do-not-reply at jboss.com Fri Sep 21 03:19:51 2007 From: do-not-reply at jboss.com (richard_opalka) Date: Fri, 21 Sep 2007 03:19:51 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: could not find deserializer Message-ID: <18687391.1190359191569.JavaMail.jboss@colo-br-02.atl.jboss.com> OK, I suggest you to follow the following link: http://jbws.dyndns.org/mediawiki/index.php?title=JAX-RPC_User_Guide If you're a newbie to webservices try to consider using JAXWS based Webservices instead of JAX-RPC ones. JAXWS is the future, JAX-RPC is just a backward compatibility stuff. Here's the link to other usefull information: http://jbws.dyndns.org/mediawiki/index.php?title=JBossWS Richard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087061#4087061 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087061 From do-not-reply at jboss.com Fri Sep 21 08:30:09 2007 From: do-not-reply at jboss.com (birke) Date: Fri, 21 Sep 2007 08:30:09 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - jbossWS - "Cannot find service endpoint target" Message-ID: <30266417.1190377809626.JavaMail.jboss@colo-br-02.atl.jboss.com> hi @ all i am developing in JBOSS a webservice. but for this i need java 1.6 (no other possible because of company internals) an jboss 4.0.5GA with EJB3. in order to make the jbossWS running with java 1.6 i followed the rules as described in: http://www.bhaskarvk.info/content/jboss/jbossws_2_0_1.html so i updated jbossWS to 2.0.1GA and endored the thre jars (jboss-saaj, jboss-jaxws and jaxb-api). so far so nice ... i don't get the errors of the java 5 / 6 problem nomore. the webservice is fully detected and deployed (i can generate with studio .NET 2005 stubs against WSDL and can connect to server (jboss). also http://localhost:8080/jbossws/ tells my webservice is deployed ... it shows: ServiceEndpointID: jboss.ws:context=wfm-server,endpoint=WebServiceNotificationBean | ServiceEndpointAddress: http://xxx.xxx.xxx.xxx:8080/wfm-server/WebServiceNotificationBean?wsdl but when i try to run my webservice call in the jboss i got an exception: javax.xml.rpc.ServiceException: Cannot find service endpoint target: jboss.j2ee:name=WebServiceNotificationBean,service=EJB3,jar=wfm-server.jar,ear=sanssouci-application.jar this exception is also deliverd to the .NET client. so the SOAP mechanism seems to work fine. the complete log informations for this opperation is: 2007-09-21 13:41:52,999 DEBUG [org.jboss.ws.server.StandardEndpointServlet] (http-195.127.121.193-8080-1:)doPost: /wfm-server/WebServiceNotificationBean | 2007-09-21 13:41:52,999 DEBUG [org.jboss.ws.soap.MessageContextAssociation] (http-195.127.121.193-8080-1:)pushMessageContext: org.jboss.ws.soap.SOAPMessageContextImpl at 1936199 | 2007-09-21 13:41:53,030 DEBUG [org.jboss.ws.server.ServiceEndpoint] (http-195.127.121.193-8080-1:)BEGIN handleRequest: jboss.ws:context=wfm-server,endpoint=WebServiceNotificationBean | 2007-09-21 13:41:53,030 DEBUG [org.jboss.ws.server.ServiceEndpoint] (http-195.127.121.193-8080-1:)Init handler chain with [0] handlers | 2007-09-21 13:41:53,030 DEBUG [org.jboss.ws.handler.HandlerChainBaseImpl] (http-195.127.121.193-8080-1:)Create a handler chain for roles: [] | 2007-09-21 13:41:53,030 DEBUG [org.jboss.ws.handler.HandlerChainBaseImpl] (http-195.127.121.193-8080-1:)init: [config=null] | 2007-09-21 13:41:53,030 DEBUG [org.jboss.ws.server.ServiceEndpoint] (http-195.127.121.193-8080-1:)Init handler chain with [0] handlers | 2007-09-21 13:41:53,030 DEBUG [org.jboss.ws.handler.HandlerChainBaseImpl] (http-195.127.121.193-8080-1:)Create a handler chain for roles: [] | 2007-09-21 13:41:53,030 DEBUG [org.jboss.ws.handler.HandlerChainBaseImpl] (http-195.127.121.193-8080-1:)init: [config=null] | 2007-09-21 13:41:53,030 DEBUG [org.jboss.ws.server.ServiceEndpoint] (http-195.127.121.193-8080-1:)Init handler chain with [0] handlers | 2007-09-21 13:41:53,030 DEBUG [org.jboss.ws.handler.HandlerChainBaseImpl] (http-195.127.121.193-8080-1:)Create a handler chain for roles: [] | 2007-09-21 13:41:53,030 DEBUG [org.jboss.ws.handler.HandlerChainBaseImpl] (http-195.127.121.193-8080-1:)init: [config=null] | 2007-09-21 13:41:53,077 DEBUG [org.jboss.ws.soap.MessageFactoryImpl] (http-195.127.121.193-8080-1:)createMessage: [contentType=text/xml; charset=utf-8] | 2007-09-21 13:41:53,124 DEBUG [jbossws.SOAPMessage] (http-195.127.121.193-8080-1:)Incomming SOAPMessage | | | | | | 2007-09-21 13:41:53,124 DEBUG [javax.xml.rpc.soap.SOAPFaultException] (http-195.127.121.193-8080-1:)new SOAPFaultException [code={http://schemas.xmlsoap.org/soap/envelope/}Client,string=Cannot find service endpoint target: jboss.j2ee:name=WebServiceNotificationBean,service=EJB3,jar=wfm-server.jar,ear=sanssouci-application.jar,actor=null,detail=null] | 2007-09-21 13:41:53,124 ERROR [org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper] (http-195.127.121.193-8080-1:)SOAP request exception | javax.xml.rpc.ServiceException: Cannot find service endpoint target: jboss.j2ee:name=WebServiceNotificationBean,service=EJB3,jar=wfm-server.jar,ear=sanssouci-application.jar | at org.jboss.ws.integration.jboss.ServiceEndpointInvokerEJB3.loadServiceEndpoint(ServiceEndpointInvokerEJB3.java:80) | at org.jboss.ws.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:87) | 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:619) | 2007-09-21 13:41:53,139 DEBUG [org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper] (http-195.127.121.193-8080-1:)Cannot obtain fault meta data for: class javax.xml.rpc.ServiceException | 2007-09-21 13:41:53,139 DEBUG [jbossws.SOAPMessage] (http-195.127.121.193-8080-1:)Outgoing SOAPMessage | | | | | env:Client | Cannot find service endpoint target: jboss.j2ee:name=WebServiceNotificationBean,service=EJB3,jar=wfm-server.jar,ear=sanssouci-application.jar | | 2007-09-21 13:41:53,139 DEBUG [org.jboss.ws.server.ServiceEndpoint] (http-195.127.121.193-8080-1:)END handleRequest: jboss.ws:context=wfm-server,endpoint=WebServiceNotificationBean | 2007-09-21 13:41:53,139 DEBUG [org.jboss.ws.soap.MessageContextAssociation] (http-195.127.121.193-8080-1:)popMessageContext: org.jboss.ws.soap.SOAPMessageContextImpl at 1936199 i don't know what to do ... my webservice as ejb3.0 looks quite simple and plain: the class: package com.os.ecm.workflow.remote.notifications; | | import javax.ejb.Stateless; | import javax.jws.WebMethod; | import javax.jws.WebService; | import javax.jws.soap.SOAPBinding; | | import org.apache.commons.logging.Log; | | import com.os.common.logging.logger.OsLogFactory; | | @Stateless | @WebService(targetNamespace="http://www.wf.org") | @SOAPBinding(style = SOAPBinding.Style.RPC) | public class WebServiceNotificationBean implements WebServiceNotification | { | private static final Log logger = OsLogFactory.getLog(WebServiceNotificationBean.class); | | @WebMethod | public String sayHello() | { | logger.warn("Vika ist die LIEBSTE !"); | return "Vika hat ein Visum!"; | } | } | and the corresponding remote interface (for ejb mechanism's): package com.os.ecm.workflow.remote.notifications; | | import javax.ejb.Remote; | | @Remote | public interface WebServiceNotification | { | public String sayHello(); | } | if anyone can help me ... please do ... going crasy with this stuff PS: using jboss 5 is not possible (beta status and not supported by application). but no matter. has anyone an information when will be official release date? thx a lot your birke View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087204#4087204 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087204 From do-not-reply at jboss.com Fri Sep 21 09:04:38 2007 From: do-not-reply at jboss.com (prasad4jboss) Date: Fri, 21 Sep 2007 09:04:38 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: WS Clinet working as a standalone but not when I deploye Message-ID: <84474.1190379878038.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am also facing the same problem, did you solve this problem. Please help me in getting rid of this exception. 18:02:58,224 ERROR [SOAPFaultExceptionHelper] SOAP request exception javax.xml.soap.SOAPException: Unsupported content type: text/html; charset=ISO-8859-1 at org.jboss.ws.soap.MessageFactoryImpl.createMessageInternal(MessageFactoryImpl.java:217) 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(Unknown Source) Regards, Prasad G View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087220#4087220 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087220 From do-not-reply at jboss.com Fri Sep 21 09:30:50 2007 From: do-not-reply at jboss.com (swapnil_jboss) Date: Fri, 21 Sep 2007 09:30:50 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Salesforce client stub generation fails Message-ID: <26335288.1190381450131.JavaMail.jboss@colo-br-02.atl.jboss.com> I am also facing the same problem. Anybody successful in finding out the solution for this problem? - Swapnil View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087228#4087228 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087228 From do-not-reply at jboss.com Fri Sep 21 11:19:41 2007 From: do-not-reply at jboss.com (PatrickMadden) Date: Fri, 21 Sep 2007 11:19:41 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: web.xml modified to web.xml.org - Subsequent runs fail Message-ID: <10915870.1190387981160.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I noticed that this was fixed in JBossWS 2.0.1.GA but then recently re-opened. I'm using JBossAS 4.2.1.GA and JBossWS 2.0.1.GA plus JBoss Seam 2.0.CR1 and RichRaces 3.1.1.SNAPSHOT, with exploded/unpacked EAR. I'm still seeing some strange behavior here. Of course its possible I'm doing something wrong. First time I run, everything is OK (I think). I have two web services defined and when I look at http://localhost:8080/jbossws/services I see 4 Registered Service Endpoints. For simplicity, I'll only describe one of the service definitiions. | @WebService(name = "FlashServiceEndpointInterface", targetNamespace = "http://clooster.com/web/services/flash", serviceName = "FlashService") | @SOAPBinding(style = SOAPBinding.Style.RPC) | @Remote(EJB3RemoteFlashService.class) | @RemoteBinding(jndiBinding = "/ejb3/EJB3FlashService") | @Stateless | @WebContext(transportGuarantee = "NONE", contextRoot = "/Clooster", urlPattern = "/common/services/FlashService") | public class EJB3RemoteFlashServiceBean implements | EJB3RemoteFlashService | { | ... | } | First time I run I see endpoints as follows: | http://MillGatewayFX:8080/Clooster/common/services/FlashService?wsdl | | AND | | http://MillGatewayFX:8080/CloosterRichWeb2-CloosterRichWeb2/EJB3RemoteFlashServiceBean?wsdl | | This works and in my client code I access using the first one defined as it is in my EJB mentioned above. However the second time I run I only see: | http://MillGatewayFX:8080/CloosterRichWeb2-CloosterRichWeb2/EJB3RemoteFlashServiceBean?wsdl | and my client side code fails. So I'm back to square one and am forced to modify the run.bat to replace web.xml with web.xml.org for it to work correctly. Its not a major deal but for me I still consider it a bug. Just giving you a heads up and thanks for all your hard work! PVM View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087300#4087300 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087300 From do-not-reply at jboss.com Fri Sep 21 11:50:52 2007 From: do-not-reply at jboss.com (ansantharam) Date: Fri, 21 Sep 2007 11:50:52 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Running jbossws-native-2.0.0.GA with JDK1.4.13 Message-ID: <2671108.1190389852638.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm using JDK 1.4 with jbossws-native-2.0.0.GA, during the execution of the build.xml getting the following message: C:\jbossws-native-2.0.0.GA\build.xml:67: JDK1.5 or above is required. Any help is greatly appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087315#4087315 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087315 From do-not-reply at jboss.com Fri Sep 21 11:54:22 2007 From: do-not-reply at jboss.com (richard_opalka) Date: Fri, 21 Sep 2007 11:54:22 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Running jbossws-native-2.0.0.GA with JDK1.4.13 Message-ID: <28822285.1190390062213.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, to build JBossWS 2.0.1 you need JDK 1.5, 1.6 or above Richard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087317#4087317 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087317 From do-not-reply at jboss.com Fri Sep 21 12:00:20 2007 From: do-not-reply at jboss.com (ansantharam) Date: Fri, 21 Sep 2007 12:00:20 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Running jbossws-native-2.0.0.GA with JDK1.4.13 Message-ID: <12473828.1190390420976.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm using jbossws-native-2.0.0.GA. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087319#4087319 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087319 From do-not-reply at jboss.com Fri Sep 21 12:05:17 2007 From: do-not-reply at jboss.com (richard_opalka) Date: Fri, 21 Sep 2007 12:05:17 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Running jbossws-native-2.0.0.GA with JDK1.4.13 Message-ID: <17157004.1190390717327.JavaMail.jboss@colo-br-02.atl.jboss.com> The same applies to JBossWS 2.0.0 GA too. You have to use JDK 1.5 or above View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087324#4087324 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087324 From do-not-reply at jboss.com Fri Sep 21 12:06:44 2007 From: do-not-reply at jboss.com (ansantharam) Date: Fri, 21 Sep 2007 12:06:44 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Running jbossws-native-2.0.0.GA with JDK1.4.13 Message-ID: <23397396.1190390804039.JavaMail.jboss@colo-br-02.atl.jboss.com> Thank You, appreciate for your prompt response. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087325#4087325 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087325 From do-not-reply at jboss.com Mon Sep 24 01:50:25 2007 From: do-not-reply at jboss.com (mrokka123) Date: Mon, 24 Sep 2007 01:50:25 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Type Substitution doesn't work with Schema2Java Client a Message-ID: <45162.1190613025175.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm also having the same problem. I'm using jboss4.2.0+jbossWS2.0.1+jdk1.5 everything is fine,WSDL is ok & client is also calling the service but instead of returning the subclass reference it always returns base class object. I also have tried using @XmlSeeAlso but same problem. Any Suggestion to solve my problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087725#4087725 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087725 From do-not-reply at jboss.com Mon Sep 24 08:27:38 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Mon, 24 Sep 2007 08:27:38 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: JBossWS supports pluggable Web Service stacks Message-ID: <33514068.1190636858505.JavaMail.jboss@colo-br-02.atl.jboss.com> Currently, we are working on CXF integration issues, which unfortunately are still delaying the release. Native and Metro integration is completed already. You can try the latest from trunk. http://jbws.dyndns.org:8180/hudson/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087870#4087870 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087870 From do-not-reply at jboss.com Mon Sep 24 08:41:03 2007 From: do-not-reply at jboss.com (viniciuscarvalho) Date: Mon, 24 Sep 2007 08:41:03 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Using inheiritance with WSDL Message-ID: <14274825.1190637663276.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello there! Although this is not related specific to JBossWS, since I'm using it as my Webservice stack, I was wondering if I could get some assistance here. I'd like to know if I can get inheritance using WSDL, let me try to explain: Suppose I have a complexType of Command: | | | | | | Well, that would be my base entry point for my WSLD operation: executeCommand. Now, application should be enabled to grow by having new types of commands: | | | | ... | | | | Since, the message sent from the client will be different than the one expected by the broker (even they share same ancestor). I'm wondering if this strategy will work. My main concern is if the client use some kind of wsld2java generation tool, he will have a simple command that do not represent the real command needed to be executed. One approach I found is to declare the command as an element type, so It could receive any XML, but this loose coupled message is not what I'd like to have. Any ideas? Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087880#4087880 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087880 From do-not-reply at jboss.com Mon Sep 24 09:59:00 2007 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Mon, 24 Sep 2007 09:59:00 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: WS Clinet working as a standalone but not when I deploye Message-ID: <27510003.1190642340141.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : Unsupported content type: text/html; Looks like the remote side returns the wrong content-type header. It should be text/xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087923#4087923 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087923 From do-not-reply at jboss.com Mon Sep 24 10:00:49 2007 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Mon, 24 Sep 2007 10:00:49 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: ServletFilter/Proxy Per SOAP Request Message-ID: <9769786.1190642449339.JavaMail.jboss@colo-br-02.atl.jboss.com> http://jbws.dyndns.org/mediawiki/index.php?title=JAX-WS_User_Guide#Handler_Framework View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087926#4087926 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087926 From do-not-reply at jboss.com Mon Sep 24 14:05:36 2007 From: do-not-reply at jboss.com (gogoasa) Date: Mon, 24 Sep 2007 14:05:36 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - mapping java.net.URL Message-ID: <21941798.1190657136647.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, On JBoss 4.0.5, I want to expose a webservice that returns objects containing fields of type java.net.URL (note : NOT java.net.URI). I see in the documentation that java.net.URI is mapped by default to xsd:anyURI, not so with java.net.URL. I have used wstools.sh to generate jaxrpc-mapping.xml. java.net.URL is mapped there as a complex type : | java.net.URL | typeNS:URL | complexType | | authority | authority | | | content | content | | | defaultPort | defaultPort | | | file | file | | | host | host | | | path | path | | | port | port | | | protocol | protocol | | | query | query | | | ref | ref | | | userInfo | userInfo | | The generated mapping file is huge, describing object mappings down to java.lang.Object. I would of course like to have java.net.URL transparently mapped to either xsd:anyURI or xsd:string. As an example, when calling an endpoint that contains the method : java.net.URL getWorkArea(); I get the stacktrace at the end. I obviously serialize things that are not really serializable, despite the fact that it's only a URL. I am a bit lost in documentation. Could anybody kindly show me a way of mapping java.net.URL to some simple type ? Thank you. 2007-09-24 16:04:44,944 ERROR doc_ http-0.0.0.0-8080-2 [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/entrychain-services-ejb-NUM_07].[ConfigurationService]] Servlet.service() for servlet ConfigurationService threw exception | javax.xml.rpc.JAXRPCException: org.jboss.xb.binding.JBossXBRuntimeException: Failed to get value of the property 'classes' defined in class java.io.FileInputStream from instance class java.io.FileInputStream | at org.jboss.ws.soap.SOAPContentElement.write(SOAPContentElement.java:986) | at org.jboss.ws.soap.SAAJElementWriter.writeElement(SAAJElementWriter.java:171) | at org.jboss.ws.soap.SAAJElementWriter.writeElement(SAAJElementWriter.java:184) | at org.jboss.ws.soap.SAAJElementWriter.writeElement(SAAJElementWriter.java:184) | at org.jboss.ws.soap.SAAJElementWriter.writeElement(SAAJElementWriter.java:184) | at org.jboss.ws.soap.SAAJElementWriter.printInternal(SAAJElementWriter.java:163) | at org.jboss.ws.soap.SAAJElementWriter.print(SAAJElementWriter.java:142) | at org.jboss.ws.soap.SOAPMessageImpl.writeTo(SOAPMessageImpl.java:266) | at org.jboss.ws.server.ServiceEndpointManager.sendResponse(ServiceEndpointManager.java:409) | at org.jboss.ws.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:372) | 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) | Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Failed to get value of the property 'classes' defined in class java.io.FileInputStream from instance class java.io.FileInputStream | at org.jboss.xb.binding.introspection.FieldInfo.getValue(FieldInfo.java:200) | at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.getJavaValue(MarshallerImpl.java:1220) | at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.getChildren(MarshallerImpl.java:1206) | | ... | | | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Failed to get value of the property 'content' defined in file:/d:/tmp/work from instance file:/d:/tmp/work | at org.jboss.xb.binding.introspection.FieldInfo.getValue(FieldInfo.java:200) | at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.getJavaValue(MarshallerImpl.java:1220) | at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.getChildren(MarshallerImpl.java:1206) | at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.getElementValue(MarshallerImpl.java:1136) | at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalParticle(MarshallerImpl.java:716) | at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalModelGroupSequence(MarshallerImpl.java:920) | at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalModelGroup(MarshallerImpl.java:860) | at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalParticle(MarshallerImpl.java:641) | at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalComplexType(MarshallerImpl.java:608) | at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalElementType(MarshallerImpl.java:419) | at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalElement(MarshallerImpl.java:331) | at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalElementOccurence(MarshallerImpl.java:311) | at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshallInternal(MarshallerImpl.java:210) | at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshal(MarshallerImpl.java:168) | at org.jboss.ws.jaxb.JBossXBMarshallerImpl.marshal(JBossXBMarshallerImpl.java:146) | at org.jboss.ws.jaxrpc.encoding.JAXBSerializer.serialize(JAXBSerializer.java:107) | at org.jboss.ws.soap.SOAPContentElement.getXMLFragment(SOAPContentElement.java:157) | at org.jboss.ws.soap.SOAPContentElement.expandToDOM(SOAPContentElement.java:817) | at org.jboss.ws.soap.SOAPContentElement.handleMTOMTransitions(SOAPContentElement.java:1015) | at org.jboss.ws.soap.SOAPContentElement.write(SOAPContentElement.java:968) | ... 32 more | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088101#4088101 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088101 From do-not-reply at jboss.com Tue Sep 25 00:11:32 2007 From: do-not-reply at jboss.com (apovodyrev) Date: Tue, 25 Sep 2007 00:11:32 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: jbossws-2.0.1 released Message-ID: <12927889.1190693492022.JavaMail.jboss@colo-br-02.atl.jboss.com> Having the same issue: ant deploy-jboss40 breaks on Could not find file ..\server\default\deploy\jbossws.sar\META-INF\jboss-service-no-ejb3.xml and after getting the file (thanks to http://jira.jboss.com/jira/browse/JBWS-1796) breaks on Could not find file ..\server\default\deploy\jbossws.sar\jbossws.beans\META-INF\jboss-beans-no-ejb3.xml Where can I get jboss-beans-no-ejb3.xml? Andrei Povodyrev View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088253#4088253 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088253 From do-not-reply at jboss.com Tue Sep 25 04:15:22 2007 From: do-not-reply at jboss.com (ZazzaZ) Date: Tue, 25 Sep 2007 04:15:22 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Cannot find port in wsdl (need help) Message-ID: <5953090.1190708122275.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, this tool has something wrong. However (notice that I changed project) after running the ant generate-artifacts command I had the same problem. The solution was that wsdl includes are not recursive so if you use some namespace and the WSDL in which that namespace is declared is not EXPLICITLY included, than the information it looks for are not available. I hope it works for you too. Bye View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088293#4088293 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088293 From do-not-reply at jboss.com Tue Sep 25 05:42:28 2007 From: do-not-reply at jboss.com (obrien) Date: Tue, 25 Sep 2007 05:42:28 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - JAXB override by XML configuration Message-ID: <30639093.1190713348560.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I would like to ask if there is any way how to override JABX xml binding by XML configuration file? Same way like you can override hibernate annotations. For limited time, I need to support legacy DotNet solution that is expecting a slightly modified WSDL. To change the code seems to be drastic solution, so I would prefer XML override. I've tried to google it, but I can't find any suitable solution. Any ideas? Cheers Radim View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088312#4088312 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088312 From do-not-reply at jboss.com Tue Sep 25 09:19:16 2007 From: do-not-reply at jboss.com (hansOtto) Date: Tue, 25 Sep 2007 09:19:16 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Cannot find service endpoint target Message-ID: <15705811.1190726356270.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry for my late response, but I was on vacation. Thank you for the ideas. Yes, the Error occur also with JbossWS 2.0.1. I?ve taken the TestSample called 'webservice' of the JbossWS-native-2.0.1GA package and modified it by adding a simple TestBean with the @EJB annotation inside of the 'EJB3Bean01.java'. See the listing below: [EJB3Bean01.java] | ..... | public class EJB3Bean01 implements EJB3RemoteInterface | { | @EJB | private TestBeanIntf testBean; | | @WebMethod | public String echo(String input) | { | return testBean.printString(); | } | } [TestBean.java] @Stateless | @LocalBinding(jndiBinding = "TestBeanIntf") | public class TestBean implements TestBeanIntf { | | public String printString(){ | return "Hello Peter!!"; | } | } This works very well, only if all classes are in the same package, if you move the TestBean in another package, the Error I described in the startposting occur. So, I think this is the problem. Unfortunately, I have more than ten packages with several beans. Should I create a new Jira Issue and add the whole zipped eclipse project as an attachment? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088404#4088404 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088404 From do-not-reply at jboss.com Tue Sep 25 09:34:35 2007 From: do-not-reply at jboss.com (richard_opalka) Date: Tue, 25 Sep 2007 09:34:35 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Cannot find service endpoint target Message-ID: <33485330.1190727275583.JavaMail.jboss@colo-br-02.atl.jboss.com> "hansOtto" wrote : | Should I create a new Jira Issue and add the whole zipped eclipse project as an attachment? | Yes, please ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088410#4088410 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088410 From do-not-reply at jboss.com Tue Sep 25 11:39:02 2007 From: do-not-reply at jboss.com (hansOtto) Date: Tue, 25 Sep 2007 11:39:02 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Cannot find service endpoint target Message-ID: <13869570.1190734742512.JavaMail.jboss@colo-br-02.atl.jboss.com> "richard_opalka" wrote : "hansOtto" wrote : | | Should I create a new Jira Issue and add the whole zipped eclipse project as an attachment? | | | | Yes, please ;-) done! http://jira.jboss.com/jira/browse/JBWS-1822 Thanks a lot! Harry. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088486#4088486 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088486 From do-not-reply at jboss.com Tue Sep 25 11:43:15 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Tue, 25 Sep 2007 11:43:15 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: question on SerializerFactory and DeSerializerFactory in Message-ID: <17391112.1190734995843.JavaMail.jboss@colo-br-02.atl.jboss.com> This is not supported. What is the advantage of using a home brew serializer/deserializer over jaxb? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088487#4088487 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088487 From do-not-reply at jboss.com Tue Sep 25 11:48:08 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Tue, 25 Sep 2007 11:48:08 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Stack Overflow while deploing JBossWS 2.0 web services Message-ID: <2890049.1190735288700.JavaMail.jboss@colo-br-02.atl.jboss.com> Does this still occur with 2.0.1? It seems that WSDLFilePublisher.java:225 is from some older version View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088491#4088491 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088491 From do-not-reply at jboss.com Tue Sep 25 11:52:17 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Tue, 25 Sep 2007 11:52:17 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: JBossWS 2.0.1 Inheritance problem Message-ID: <21663467.1190735537498.JavaMail.jboss@colo-br-02.atl.jboss.com> http://jbws.dyndns.org/mediawiki/index.php?title=FAQ#What_JIRA_issues_are_backed_up_by_tests.3F http://jira.jboss.org/jira/browse/JBWS-1702 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088493#4088493 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088493 From do-not-reply at jboss.com Tue Sep 25 11:53:56 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Tue, 25 Sep 2007 11:53:56 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Problem with inheritance and JBossWS Message-ID: <26342992.1190735636034.JavaMail.jboss@colo-br-02.atl.jboss.com> http://jbws.dyndns.org/mediawiki/index.php?title=FAQ#What_JIRA_issues_are_backed_up_by_tests.3F http://jira.jboss.org/jira/browse/JBWS-1702 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088495#4088495 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088495 From do-not-reply at jboss.com Tue Sep 25 11:58:19 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Tue, 25 Sep 2007 11:58:19 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: jbossWS - Message-ID: <15361600.1190735899122.JavaMail.jboss@colo-br-02.atl.jboss.com> | javax.xml.rpc.ServiceException: Cannot find service endpoint target: jboss.j2ee:name=WebServiceNotif | icationBean,service=EJB3,jar=wfm-server.jar,ear=sanssouci-application.jar | What is the id of the endpoint bean? The jmx-console should tell you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088499#4088499 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088499 From do-not-reply at jboss.com Tue Sep 25 12:07:44 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Tue, 25 Sep 2007 12:07:44 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Cannot find port in wsdl (need help) Message-ID: <12614512.1190736464279.JavaMail.jboss@colo-br-02.atl.jboss.com> Why would you have webservices.xml + jaxrpc-mapping.xml (both of which are JAX-RPC artifacts) if you use a JAX-WS endpoint? http://jbws.dyndns.org/mediawiki/index.php?title=JAX-WS_User_Guide#EJB3_Stateless_Session_Bean_.28SLSB.29 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088503#4088503 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088503 From do-not-reply at jboss.com Tue Sep 25 12:12:32 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Tue, 25 Sep 2007 12:12:32 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: JAXB override by XML configuration Message-ID: <4438647.1190736752551.JavaMail.jboss@colo-br-02.atl.jboss.com> This will be supported in jbossws-2.0.2 http://jira.jboss.org/jira/browse/JBWS-1823 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088506#4088506 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088506 From do-not-reply at jboss.com Tue Sep 25 15:50:19 2007 From: do-not-reply at jboss.com (obrien) Date: Tue, 25 Sep 2007 15:50:19 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: JAXB override by XML configuration Message-ID: <2864589.1190749819586.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for fast reply! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088557#4088557 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088557 From do-not-reply at jboss.com Tue Sep 25 23:53:35 2007 From: do-not-reply at jboss.com (mrokka123) Date: Tue, 25 Sep 2007 23:53:35 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Problem with inheritance and JBossWS Message-ID: <32534695.1190778815508.JavaMail.jboss@colo-br-02.atl.jboss.com> After Using @XmlSeeAlso only difference I found on generated WSDL was There was complextype name b and c which I don?t get without using @XmlSeeAlso. I have used wsconsume to create the web service artifacts of the generated wsdl and my client code looks like this: MyWebService obj=new MyWebService(); MyWebServicePortType obj1=obj.getMyWebServicePort(); B b=new B(); b.setName("SoulFly"); A aobj=b; System.out.println("ClassName:"+obj1.getClassName(aobj)); //return com.d2.client.A One thing is that on generated bean of class A there is no @XmlSeeAlso annotation, Does it makes any different?. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088670#4088670 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088670 From do-not-reply at jboss.com Wed Sep 26 00:15:19 2007 From: do-not-reply at jboss.com (mrokka123) Date: Wed, 26 Sep 2007 00:15:19 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: JBossWS 2.0.1 Inheritance problem Message-ID: <14549544.1190780119101.JavaMail.jboss@colo-br-02.atl.jboss.com> After Using @XmlSeeAlso only difference I found on generated WSDL was There was complextype name b and c which I don?t get without using @XmlSeeAlso. I have used wsconsume to create the web service artifacts of the generated wsdl and my client code looks like this: MyWebService obj=new MyWebService(); MyWebServicePortType obj1=obj.getMyWebServicePort(); B b=new B(); b.setName("SoulFly"); A aobj=b; System.out.println("ClassName:"+obj1.getClassName(aobj)); //return com.d2.client.A One thing is that on generated bean of class A there is no @XmlSeeAlso annotation, Does it makes any different?. Or is there any other way to solve this problem without using @XmlSeeAlso? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088673#4088673 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088673 From do-not-reply at jboss.com Wed Sep 26 01:00:44 2007 From: do-not-reply at jboss.com (ggary) Date: Wed, 26 Sep 2007 01:00:44 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Problem migrating web service from WS4EE to JBOSSWS Message-ID: <7163305.1190782844457.JavaMail.jboss@colo-br-02.atl.jboss.com> I am having the same problem in both 4.0.4 and 4.2.1 The "helloworld' type sample web service works just fine but when I am trying to do a real thing using Spring injected beans then I am getting this exception on deployment: anonymous wrote : ERROR [-::RMI TCP Connection(25)-10.10.10.10] [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/rsystools/ws]] StandardWrapper.Throwable | java.lang.IllegalArgumentException: interface org.jboss.mx.util.ProxyContext is not visible from class loader | at java.lang.reflect.Proxy.getProxyClass(Proxy.java:353) | at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:581) | at org.jboss.mx.util.MBeanProxy.get(MBeanProxy.java:90) | at org.jboss.mx.util.MBeanProxy.get(MBeanProxy.java:78) | at org.jboss.ws.server.AbstractServlet.init(AbstractServlet.java:66) | at org.jboss.ws.server.ServiceEndpointServlet.init(ServiceEndpointServlet.java:72) | If anyone knows the solution, please speak up. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088677#4088677 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088677 From do-not-reply at jboss.com Wed Sep 26 03:15:28 2007 From: do-not-reply at jboss.com (birke) Date: Wed, 26 Sep 2007 03:15:28 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: jbossWS - Message-ID: <24291238.1190790928698.JavaMail.jboss@colo-br-02.atl.jboss.com> I was searching in my jmx-console but i find three entries: | jboss.j2ee: | jar=wfm-server.jar,name=WebServiceNotificationBean,service=EJB3 | | jboss.management.local: | J2EEApplication=null,J2EEServer=Local,WebModule=sanssouci-application.jar-wfm-server.jar-ws58591.war,j2eeType=Servlet,name=WebServiceNotificationBean | | jboss.web: | J2EEApplication=none,J2EEServer=none,WebModule=//localhost/wfm-server,j2eeType=Servlet,name=WebServiceNotificationBean | but in none of these sites behind the link is written something like "id". sorry i am a quite newbee with the inner core of jboss, i use it mostly for hosting just my ejb's. so please tell me where exact i will find the usefull entry in the jmx-console. with great thanks ... your birke View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088689#4088689 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088689 From do-not-reply at jboss.com Wed Sep 26 05:15:45 2007 From: do-not-reply at jboss.com (itrahulsoni) Date: Wed, 26 Sep 2007 05:15:45 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: could not find deserializer Message-ID: <4068835.1190798145071.JavaMail.jboss@colo-br-02.atl.jboss.com> I have refer that and done the simple rpc style endpoint example and i came to the same problem as I have described earlier that when my method in the webservice return any types that means String or Int it will throw me the errors while I am doing same thing with the return type void then everything works fine. So what can i do for that because i have to develop webservice that return the String. Please help me stuck to this problem since long time. Regards, Rahul View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088723#4088723 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088723 From do-not-reply at jboss.com Wed Sep 26 05:38:32 2007 From: do-not-reply at jboss.com (richard_opalka) Date: Wed, 26 Sep 2007 05:38:32 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: could not find deserializer Message-ID: <16074675.1190799512499.JavaMail.jboss@colo-br-02.atl.jboss.com> There's the example in our tests. See: JBOSSWS_SVN_ROOT/stack/native/trunk/src/test/java/org/jboss/test/ws/jaxrpc/samples/rpcstyle/ and JBOSSWS_SVN_ROOT/stack/native/trunk/src/test/resources/jaxrpc/samples/rpcstyle/ It returns String and it works Richard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088736#4088736 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088736 From do-not-reply at jboss.com Wed Sep 26 10:14:02 2007 From: do-not-reply at jboss.com (Fantagir) Date: Wed, 26 Sep 2007 10:14:02 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Problems in the comunication of a WebService and a client Message-ID: <21213753.1190816042899.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi! I'm implementing a webservice using Jbossws and jax-rpc. I develop the next one service: package edu.campus.osid.authentication.client; import java.rmi.Remote; import java.rmi.RemoteException; public interface IAuthenticationComponent extends Remote{ public boolean isUserAuthenticated(org.osid.OsidContext ctx) throws RemoteException; } package edu.campus.osid.authentication.client; import java.rmi.RemoteException; import org.osid.OsidContext; import org.osid.OsidException; public class AuthenticationComponent implements IAuthenticationComponent { public boolean isUserAuthenticated(OsidContext ctx) throws RemoteException{ String str; try { str = (String) ctx.getContext("iduser"); int iId = Integer.parseInt(str); if (iId ==1) return true; else return false; } catch (OsidException e) { // TODO Auto-generated catch block e.printStackTrace(); System.out.println("Error AuthenticationComponentServer/Osid: "+e.getMessage()); throw new RemoteException(); } } } I have the OsidContext class in a .jar that I add in the Java Buid Path of my project. When I build the project no errors appears. But when I want to publish the service (generate the .war of the webservice, generate file .wsdl, mapping.xml) the wstools said that cant find the ?OsidContext? class. If I unzip the .jar in the directory /bin of my project wstools can fing the classes. There is another way of to solve this problem? What I have to do? An other problem is in the client. I develop the client for this webservice and when I execute the next errors appears ?Cannot obtain java type mapping for: {urn:types}OsidContext? My client code is the next one: public class Main { public static void main( String[] args ) throws Exception { if( args.length < 1 ) { System.out.println( "Usage: Id name" ); System.exit( 0 ); } String argument = args[ 0 ]; OsidContext ctx = new OsidContext(); ctx.assignContext("iduser", argument); //CollectionProperties propietats = new CollectionProperties(); String urlstr = CollectionProperties.getPropiedad("service.url"); String nameServiceStr = CollectionProperties.getPropiedad("service.name"); String namespaceServiceStr = CollectionProperties.getPropiedad("service.namespace"); System.out.println( "Contacting webservice at " + urlstr ); URL url = new URL(urlstr); //se indican el namespace en el que se encuentra el servicio y su nombre //(esto se puede ver en el WSDL) QName qname = new QName(namespaceServiceStr, nameServiceStr); ServiceFactory factory = ServiceFactory.newInstance(); Service service = factory.createService( url, qname ); I AuthenticationComponent age = ( I AuthenticationComponent ) service.getPort( IAuthenticationComponent.class ); System.out.println( "age.age(" + id + ")" ); System.out.println( "output:" + age.isUserAuthenticated ( ctx ) ); } } What can I do? I have the .jar that contains the class OsidContext in this project as well in the project of the Webservice View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088870#4088870 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088870 From do-not-reply at jboss.com Wed Sep 26 14:56:17 2007 From: do-not-reply at jboss.com (richard_opalka) Date: Wed, 26 Sep 2007 14:56:17 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: NullPointerException with jbossws 2.0.1 Message-ID: <7703696.1190832977050.JavaMail.jboss@colo-br-02.atl.jboss.com> Follow the following link guys to solve your problem with JMX options turned on: http://jbws.dyndns.org/mediawiki/index.php?title=FAQ#How_to_use_JDK_JMX_JConsole_with_JBossWS.3F Richard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088999#4088999 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088999 From do-not-reply at jboss.com Thu Sep 27 03:45:21 2007 From: do-not-reply at jboss.com (itrahulsoni) Date: Thu, 27 Sep 2007 03:45:21 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: could not find deserializer Message-ID: <28875087.1190879121821.JavaMail.jboss@colo-br-02.atl.jboss.com> hi did not get the location where can i found that i donot get that anywhere. please help me where i can found the example you have stated. Please give me the link. Thanks for yr replies. Rahul View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089184#4089184 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089184 From do-not-reply at jboss.com Thu Sep 27 04:01:21 2007 From: do-not-reply at jboss.com (palin) Date: Thu, 27 Sep 2007 04:01:21 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: could not find deserializer Message-ID: <33544505.1190880081119.JavaMail.jboss@colo-br-02.atl.jboss.com> Richard refers to the sourse code on the SVN repository. Either checkout the sources from the repository http://jbws.dyndns.org/mediawiki/index.php?title=Subversion or download the src binaries. Bye Alessio Soldano View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089188#4089188 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089188 From do-not-reply at jboss.com Thu Sep 27 05:01:07 2007 From: do-not-reply at jboss.com (BCH) Date: Thu, 27 Sep 2007 05:01:07 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - JBossWS and Axis2 Message-ID: <11033644.1190883667710.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, First of all, i would apologize for my bad english. I'm trying to generate a JBossWS client from the sample "Version" service of Axis2 but I have errors. I'm using : - JBoss AS 4.2.1 with jbossws-native-2.0.1.GA - Axis2 1.3 I'm running this command line : | \bin> wsconsume http://localhost:8085/axis2/services/Version?wsdl | And I obtains this error : | parsing WSDL... | | [ERROR] A class/interface with the same name "sample.axisversion.Exception" is a | lready in use. Use a class customization to resolve this conflict. | line 11 of http://localhost:8085/axis2/services/Version?wsdl | | [ERROR] (Relevant to above error) another "Exception" is generated from here. | line 6 of http://localhost:8085/axis2/services/Version?wsdl | | [ERROR] Two declarations cause a collision in the ObjectFactory class. | line 11 of http://localhost:8085/axis2/services/Version?wsdl | | [ERROR] (Related to above error) This is the other declaration. | line 6 of http://localhost:8085/axis2/services/Version?wsdl | | [ERROR] Two declarations cause a collision in the ObjectFactory class. | line 14 of http://localhost:8085/axis2/services/Version?wsdl | | [ERROR] (Related to above error) This is the other declaration. | line 8 of http://localhost:8085/axis2/services/Version?wsdl | This is the Version.wsdl : | | | Version | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Is it possible to use JBossWS to invoke an Axis2 WebService ? If yes, is it possible to use @WebServiceRef to point on a Axis2 WebService ? Example : | @Stateless | @WebService | public class MyService implements IMyService | { | @WebServiceRef(name="Version", wsdlLocation="http://localhost:8085/axis2/services/Version?wsdl") | private Service axisService; | | @WebMethod | public String myMethod() | { | ... | } | ... | } | Any help will be appreciate View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089206#4089206 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089206 From do-not-reply at jboss.com Thu Sep 27 06:02:49 2007 From: do-not-reply at jboss.com (itrahulsoni) Date: Thu, 27 Sep 2007 06:02:49 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: could not find deserializer Message-ID: <12290929.1190887369420.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have developed the same thing for that means I have developed example that you have stated but still get the error that if i am returning the void then it will works fine with my client but when I am developing the service that return the type Int than it will throws the error. I have done some googles on that and found that any kind of mapping is required for that and I have also included one file that is ws4ee-deployment.xml is that any kind of thing we required for the mapping so when it will return the service can use the mapping for the deserialization The Error i got is stated below: localhost invokeMethod >>> org.apache.wsif.WSIFException: SOAPException: SOAP-ENV:ClientNo Deserializer found to deserialize a ':result' using encoding style 'null'.; nested exception is: [SOAPException: faultCode=SOAP-ENV:Client; msg=No Deserializer found to deserialize a ':result' using encoding style 'null'.; targetException=java.lang.IllegalArgumentException: No Deserializer found to deserialize a ':result' using encoding style 'null'.] at org.apache.wsif.providers.soap.apachesoap.WSIFOperation_ApacheSOAP.invokeRequestResponseOperation(WSIFOperation_ApacheSOAP.java:697) at org.apache.wsif.providers.soap.apachesoap.WSIFOperation_ApacheSOAP.executeRequestResponseOperation(WSIFOperation_ApacheSOAP.java:575) and My wsdl file is following: Thank you for your all replies, Rahul View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089235#4089235 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089235 From do-not-reply at jboss.com Thu Sep 27 09:47:17 2007 From: do-not-reply at jboss.com (viniciuscarvalho) Date: Thu, 27 Sep 2007 09:47:17 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Help with WSDL and extensions Message-ID: <3189969.1190900837039.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello there! I'm trying to figure out how one can achieve an way to use inheritance with WSDL. On a previous post url][http://www.jboss.org/index.html?module=bb&op=viewtopic&t=119507[/url] (Still not answered :( ) I've explained that I need to find a way to use the same contract and have different implementations of the messages to be accept. I'm pretty aware that webservices are not RPC (and I really miss CORBA when I get stuck in things like this). But I really would like to find a way to have an extensible WSDL operation: Command : interface DHCPCommand, AsteriskCommand, CMTSCommand are all implementations Any time, a new command may arrive, as long as it implements the command, the endpoint should be able to accept it. So far it has been very disappointing. When the user sends any command, it converts into a Command, missing all extra properties on the subclasses :( So I had the idea to receive an Element, so anything sent should be accept. Did not work since Element is an interface and JAXB can't bind it :( Now I'd like to use the anyElement type, but as it gets converted to Object, I'm gonna miss everything. Summing up : In JBoss WS can I create an endpoint that does not marshall the received xml? Is it possible to have an endpoint that simply forward the xml requests to the SEI? Any help, would be most appreciated Best Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089327#4089327 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089327 From do-not-reply at jboss.com Thu Sep 27 09:53:07 2007 From: do-not-reply at jboss.com (viniciuscarvalho) Date: Thu, 27 Sep 2007 09:53:07 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Help with WSDL and extensions Message-ID: <30449091.1190901187178.JavaMail.jboss@colo-br-02.atl.jboss.com> Just found @WebserviceProvider :D. Well, may not be the best way, but I need the flexibility :) Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089329#4089329 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089329 From do-not-reply at jboss.com Thu Sep 27 13:56:26 2007 From: do-not-reply at jboss.com (ebonnett) Date: Thu, 27 Sep 2007 13:56:26 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Ant doesn 't Recognize WSConsumeTask Message-ID: <2222684.1190915786653.JavaMail.jboss@colo-br-02.atl.jboss.com> I apologize in advance if the answer to this question is obvious and I've just missed it. Seems like it should simple. I've installed JBossWS 2.0.0.GA on JBoss 4.2.1.GA by running the deploy-jboss42 task. I've created a simple web service and have successfully deployed it. Also, I've used the wsconsume.bat file to generate client side code to access the web service. However, I'd like to use the WSConsumeTask Ant task from my project's build script to do this and this is where I'm stuck. What do I need to do to get Ant to recognize this task? I'm running Ant 1.7.0. I haven't found any documentation on this topic. However, I looked in some of the JBossWS jar files and found the WSConsumeTask class in jbossws-spi.jar. So, I copied this file to the %ANT_HOME%/lib directory. But, this didn't help. The error I'm seeing when I run my project's build script is: generateClientFiles: C:\XCAFE\CommonModules\WebServicesTest\build.xml:132: Problem: failed to create task or type WSConsumeTask Cause: The name is undefined. Action: Check the spelling. Action: Check that any custom tasks/types have been declared. Action: Check that any / declarations have taken place. BUILD FAILED (total time: 0 seconds) So, what do I need to do to get Ant to recognize the WSConsumeTask? Thanks in advance for any help! Eric View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089435#4089435 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089435 From do-not-reply at jboss.com Thu Sep 27 14:06:21 2007 From: do-not-reply at jboss.com (PeterJ) Date: Thu, 27 Sep 2007 14:06:21 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Ant doesn 't Recognize WSConsumeTask Message-ID: <21537134.1190916381770.JavaMail.jboss@colo-br-02.atl.jboss.com> Did you include this taskdef: | | | | where "xxx" points to the jbossws-spi.jar file? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089437#4089437 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089437 From do-not-reply at jboss.com Thu Sep 27 14:11:18 2007 From: do-not-reply at jboss.com (viniciuscarvalho) Date: Thu, 27 Sep 2007 14:11:18 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - @WebServiceProvider not being deployed Message-ID: <31937089.1190916678708.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello there! I'm using JBoss 4.2.0 GA, and after deploying my service it deploys the EJB SLSB but not the endpoint. Here's my code: | @Local | @Stateless | @WebServiceProvider(wsdlLocation="META-INF/wsdl/CommandProcessor.wsdl", | targetNamespace="http://www.xxx/xxx/definitions", | serviceName="CommandProcessorService", | portName="CommandProcessorPort") | @ServiceMode(value=Service.Mode.PAYLOAD) | public class CommandProcessor implements Provider { | | public Source invoke(Source source) { | return null; | } | | } | | WSDL: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | XSD: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When I access: http://localhost:8080/jbossws/services, it says there's no service deployed. What else am I missing? Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089438#4089438 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089438 From do-not-reply at jboss.com Fri Sep 28 05:22:34 2007 From: do-not-reply at jboss.com (Fantagir) Date: Fri, 28 Sep 2007 05:22:34 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - difference rpc webservice and ws webservice Message-ID: <18870507.1190971354661.JavaMail.jboss@colo-br-02.atl.jboss.com> Can any of you explain me the difference between rpc webservice and ws webservice? Or tell me any web that I can look up? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089608#4089608 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089608 From do-not-reply at jboss.com Fri Sep 28 09:37:03 2007 From: do-not-reply at jboss.com (Fantagir) Date: Fri, 28 Sep 2007 09:37:03 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Provider com.sun.xml.ws.spi.ProviderImpl not found Message-ID: <30370880.1190986623357.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi! I have a simple client of a web service implemented in java using eclipse with a plugging for JBossWS. In this client I use the library javax.xml.ws.* But when I run it the next problem appears: javax.xml.ws.WebServiceException: Provider com.sun.xml.ws.spi.ProviderImpl not found I put the libraries jaxws-api.jar and jaxb-api.jar in the build path of the project. Can you tell me what can I do? My client code is the next one: import java.net.URL; import javax.xml.namespace.QName; /*import javax.xml.rpc.Service; import javax.xml.rpc.ServiceFactory;*/ import javax.xml.ws.Service; import util.DatePalabra; import com.lasalle.util.resources.CollectionProperties; public class MainDevPalabra { public static void main( String[] args ) throws Exception { if( args.length < 1 ) { System.out.println( "Usage: Palabra name" ); System.exit( 0 ); } String argument = args[ 0 ]; DatePalabra dp = new DatePalabra(); //CollectionProperties propietats = new CollectionProperties(); String urlstr = CollectionProperties.getPropiedad("serviceD.url"); String nameServiceStr = CollectionProperties.getPropiedad("serviceD.name"); String namespaceServiceStr = CollectionProperties.getPropiedad("serviceD.namespace"); System.out.println( "Contacting webservice at " + urlstr ); URL url = new URL(urlstr); //se indican el namespace en el que se encuentra el servicio y su nombre //(esto se puede ver en el WSDL) QName qname = new QName(namespaceServiceStr, nameServiceStr); Service service = Service.create(url, qname); IContar age = ( IContar) service.getPort( IContar.class ); System.out.println( "age.age(" + argument + ")" ); dp = (DatePalabra) age.darCuenta(argument); System.out.println( "output longitud:" + dp.getLongitud() ); System.out.println( "output palabra:" + dp.getPalabra() ); } } Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089696#4089696 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089696 From do-not-reply at jboss.com Fri Sep 28 09:47:49 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Fri, 28 Sep 2007 09:47:49 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Problem with inheritance and JBossWS Message-ID: <32418608.1190987269851.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi mrokka, I encourage you to investigate this further. Please work with our testsuite and bring your usecase into it. If you find a solution that you can contribute - even better. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089701#4089701 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089701 From do-not-reply at jboss.com Fri Sep 28 09:59:10 2007 From: do-not-reply at jboss.com (Fantagir) Date: Fri, 28 Sep 2007 09:59:10 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: consume WS error after update to JBossWS 2.0 Message-ID: <25126488.1190987950850.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi! I have the same problem of M.Schumpa but I don't have the jaxws-rt and jaxws-tools. What can I do? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089704#4089704 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089704 From do-not-reply at jboss.com Fri Sep 28 10:22:02 2007 From: do-not-reply at jboss.com (ebonnett) Date: Fri, 28 Sep 2007 10:22:02 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Ant doesn 't Recognize WSConsumeTask Message-ID: <20338963.1190989322693.JavaMail.jboss@colo-br-02.atl.jboss.com> No, I hadn't included that. Thanks! That definitely got me farther along. But, now I'm seeing a NoClassDefFoundError on WSConsume. It looks like this class is also in jbossws-spi.jar. So, WTF? I tried building a classpath that includes just about everything related to JBoss and JBossWS and got the same result. Any suggestions? I sincerely apologize if this is just my ignorance of Ant. Eric generateClientFiles: Consuming wsdl: WebServicesTestService.wsdl Command invoked: org.jboss.wsf.spi.tools.cmd.WSConsume -k -w handEdited.wsdl -o C:\XCAFE\CommonModules\WebServicesTest\output -s C:\XCAFE\CommonModules\WebServicesTest\gen-src -v WebServicesTestService.wsdl java.lang.NoClassDefFoundError: org/jboss/wsf/spi/tools/cmd/WSConsume Exception in thread "main" C:\XCAFE\CommonModules\WebServicesTest\build.xml:176: Could not invoke WSConsumeTask BUILD FAILED (total time: 0 seconds) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089723#4089723 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089723 From do-not-reply at jboss.com Fri Sep 28 10:25:44 2007 From: do-not-reply at jboss.com (ebonnett) Date: Fri, 28 Sep 2007 10:25:44 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Ant doesn 't Recognize WSConsumeTask Message-ID: <22957957.1190989544128.JavaMail.jboss@colo-br-02.atl.jboss.com> Hmm, looks like my script got stripped from the previous message. Let me try that again... | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089724#4089724 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089724 From do-not-reply at jboss.com Fri Sep 28 12:07:27 2007 From: do-not-reply at jboss.com (PeterJ) Date: Fri, 28 Sep 2007 12:07:27 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Ant doesn 't Recognize WSConsumeTask Message-ID: <23796980.1190995647674.JavaMail.jboss@colo-br-02.atl.jboss.com> That class (org/jboss/wsf/spi/tools/cmd/WSConsume) also appears in jbossws-native-2.0.0.GA/lib/jbossws-spi.jar. I successfully generated the stubs using the path and target you posted, though I only required jboss-4.2.1.GA/client and jbossws-native-2.0.0.GA/lib in the classpath. I would suggest downloading JBossWS 2.0.0GA again, youra might be corrupt. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089778#4089778 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089778 From do-not-reply at jboss.com Fri Sep 28 13:53:41 2007 From: do-not-reply at jboss.com (viniciuscarvalho) Date: Fri, 28 Sep 2007 13:53:41 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: @WebServiceProvider not being deployed Message-ID: <9409757.1191002021456.JavaMail.jboss@colo-br-02.atl.jboss.com> Well, it turns that version 2.0.0 does not support it. When I've upgraded my jbossws to 2.0.1 on my jboss 4.2.0 server. It worked with no problem at all. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089805#4089805 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089805 From do-not-reply at jboss.com Fri Sep 28 13:55:12 2007 From: do-not-reply at jboss.com (ebonnett) Date: Fri, 28 Sep 2007 13:55:12 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Ant doesn 't Recognize WSConsumeTask Message-ID: <18753605.1191002112570.JavaMail.jboss@colo-br-02.atl.jboss.com> I don't know about my original download being corrupt, but I followed your advice and downloaded it again, but I grabbed jbossws-native-2.0.1.GA.zip this time and ran ant deploy-jboss42 and voila! Now, my project's build script that calls the wsconsume works! Thank you!!!!! Eric View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089806#4089806 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089806 From do-not-reply at jboss.com Fri Sep 28 14:09:41 2007 From: do-not-reply at jboss.com (viniciuscarvalho) Date: Fri, 28 Sep 2007 14:09:41 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - SOAPMessage error: setProperty must be overridden by all sub Message-ID: <29329093.1191002981381.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello there! From what I've searched so far, this error happens when I have a sun RI SAAJ in my classloader. I've searched my entire harddisk (literally) for a reference to anothar SAAJ implementation that's not jboss-saaj.jar. And could not find. I've also used some operations on the classloader mbean (output bellow) to find who was loading the other instance. And yet, nothing was found. The error happens when my WebServiceProvider using ServiceMode=Mode.MESSAGE is invoked. Anything else should I be looking for? Regards | getPackage | org.jboss.mx.loading.UnifiedClassLoader3 at 6f9b8e{ url=null ,addedOrder=2}, org.jboss.mx.loading.UnifiedClassLoader3 at 1b70f9e{ url=file:/java/servers/jboss-messaging/server/messaging/deploy/jboss-messaging.sar/ ,addedOrder=12}, | org.jboss.mx.loading.UnifiedClassLoader3 at 1f6d2e3{ url=file:/java/servers/jboss-messaging/server/messaging/deploy/jbossws.sar/ ,addedOrder=13} | | | displayClassInfo | javax.xml.soap.SOAPMessage Information | Repository cache version: | javax.xml.soap.SOAPMessage(8f6d64).ClassLoader=null | ++++Null CodeSource | Implemented Interfaces: | | ### Instance0 found in UCL: org.jboss.mx.loading.UnifiedClassLoader3 at 1f6d2e3{ url=file:/java/servers/jboss-messaging/server/messaging/deploy/jbossws.sar/ ,addedOrder=13} | | | ### Instance1 via UCL: org.jboss.system.server.NoAnnotationURLClassLoader at 13caecd | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089815#4089815 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089815 From do-not-reply at jboss.com Fri Sep 28 14:14:47 2007 From: do-not-reply at jboss.com (ansantharam) Date: Fri, 28 Sep 2007 14:14:47 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Errors compiling jbossws-samples-1.2.0.GA Message-ID: <7313642.1191003287315.JavaMail.jboss@colo-br-02.atl.jboss.com> Using JDK1.4 with JBoss-WS 1.2GA During the compilation of the sample applications getting the following errors: compile14: [javac] Compiling 106 source files to C:\jbossws-1.2.1.GA\jbossws-samples-1.2.0.GA\output\classes [javac] C:\jbossws-1.2.1.GA\jbossws-samples-1.2.0.GA\src\main\java\org\jboss\test\ws\JBossWSTest.java:41: cannot access org.jb oss.ws.core.utils.DOMWriter [javac] bad class file: C:\jbossws-1.2.1.GA\jbossws-samples-1.2.0.GA\lib\jbossws-core.jar(org/jboss/ws/core/utils/DOMWriter.cl ass) [javac] class file has wrong version 49.0, should be 48.0 [javac] Please remove or make sure it appears in the correct subdirectory of the classpath. [javac] import org.jboss.ws.core.utils.DOMWriter; [javac] ^ [javac] 1 error BUILD FAILED C:\jbossws-1.2.1.GA\jbossws-samples-1.2.0.GA\build.xml:361: Compile failed; see the compiler error output for details. Any help is appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089816#4089816 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089816 From do-not-reply at jboss.com Fri Sep 28 14:36:41 2007 From: do-not-reply at jboss.com (trippstowe) Date: Fri, 28 Sep 2007 14:36:41 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - deploying a web service on jboss 4.0.5 Message-ID: <6425446.1191004601473.JavaMail.jboss@colo-br-02.atl.jboss.com> i have an exploded war on jboss and i can deploy fine through eclipse. the wsdl is created for me, but when i try to do it manually by copying the class files and xml files over, the web service doesnt get deployed. can someone help? thanks tripp View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089823#4089823 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089823 From do-not-reply at jboss.com Fri Sep 28 15:13:29 2007 From: do-not-reply at jboss.com (fditolla) Date: Fri, 28 Sep 2007 15:13:29 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Assigning jndi-name to a rpc-client in war Message-ID: <26692664.1191006809815.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm developing a pojo rpc client (JSR-109 style) in a full J2EE aplication, but I don't understand how I should do to assign a to the . My client is very similar to the one shown in the JSR-109 pojo chapter of the RPC user guide http://jbws.dyndns.org/mediawiki/index.php?title=JAX-RPC_User_Guide). The main difference is that this client is part of a larger application that has an application.xml and a web.xml. Hence I placed the in the web.xml and jboss-web.xml, and I have no application-client.xml/jboss-client.xml. The problem comes from the fact that the is expected before the in the jboss-client.xml but not in the jboss-web.xml. How shoul I do to associate a to my service? (The error I get is of course "jbossws-client not bound"). thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089835#4089835 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089835 From do-not-reply at jboss.com Fri Sep 28 15:48:55 2007 From: do-not-reply at jboss.com (oskar.carlstedt) Date: Fri, 28 Sep 2007 15:48:55 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: SOAPMessage error: setProperty must be overridden by all Message-ID: <20081640.1191008935082.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi! This is probably because you are running JBoss with Java SE 1.6. The SOAP implementation is bundled in the std Java 1.6 distribution. That is probably why you can't find the specified jar on your harddrive. Cheers, Oskar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089849#4089849 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089849 From do-not-reply at jboss.com Fri Sep 28 16:47:58 2007 From: do-not-reply at jboss.com (viniciuscarvalho) Date: Fri, 28 Sep 2007 16:47:58 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: SOAPMessage error: setProperty must be overridden by all Message-ID: <237221.1191012478149.JavaMail.jboss@colo-br-02.atl.jboss.com> Yeah, that's correct! But, shouldn't I be able to use the endorsed dirs? my jboss-endorsed has the jboss-saaj.jar and also my JAVA_HOME/jre/lib/endorsed Should I downgrade my JVM? Best regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089863#4089863 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089863 From do-not-reply at jboss.com Fri Sep 28 17:07:49 2007 From: do-not-reply at jboss.com (oskar.carlstedt) Date: Fri, 28 Sep 2007 17:07:49 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: SOAPMessage error: setProperty must be overridden by all Message-ID: <15741740.1191013669236.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi! Everything I know is that the javax.xml.soap... implementations are found in the $JRE_HOME/lib/rt.jar ($JDK_HOME/jre/lib/rt.jar). If you want to override these implementation then you must place the correct jar files in the endorsed folder. You can read more about the Java Endorsed Override Mechanism here http://java.sun.com/javase/6/docs/technotes/guides/standards/. Make sure the system property java.endorsed.dirs property is set. I think JBoss does this by default by adding the folder $JBOSS_HOME/lib/endorsed. So adding the correct jar files to this folder may fix your problem. If that doesn't work, I really don't know. Best Oskar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089873#4089873 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089873 From do-not-reply at jboss.com Fri Sep 28 21:19:55 2007 From: do-not-reply at jboss.com (palin) Date: Fri, 28 Sep 2007 21:19:55 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: difference rpc webservice and ws webservice Message-ID: <6067637.1191028795679.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I've just written something about the differences between JAX-WS and JAX-WS on the wiki; may be this helps you http://jbws.dyndns.org/mediawiki/index.php?title=JAX-WS_vs_JAX-RPC Alessio Soldano View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089908#4089908 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089908 From do-not-reply at jboss.com Fri Sep 28 21:23:09 2007 From: do-not-reply at jboss.com (palin) Date: Fri, 28 Sep 2007 21:23:09 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Necessary artifacts/descriptors for JAX-WS web service Message-ID: <6110032.1191028989519.JavaMail.jboss@colo-br-02.atl.jboss.com> "vashistvishal" wrote : Dont make a mistake of going back to JAX-RPC :-), embrace the change as it is for good. Yep, exactly. http://jbws.dyndns.org/mediawiki/index.php?title=JAX-WS_vs_JAX-RPC View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089909#4089909 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089909 From do-not-reply at jboss.com Sat Sep 29 07:34:01 2007 From: do-not-reply at jboss.com (Juergen.Zimmermann) Date: Sat, 29 Sep 2007 07:34:01 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - 2.0.1SP1: When? Message-ID: <28022835.1191065641281.JavaMail.jboss@colo-br-02.atl.jboss.com> http://repository.jboss.com/jboss/jbossws/2.0.1.SP1 shows some jars for 2.0.1SP1. However, at http://labs.jboss.com/jbossws/downloads there is no distribution, yet. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089952#4089952 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089952 From do-not-reply at jboss.com Sun Sep 30 19:35:16 2007 From: do-not-reply at jboss.com (zebathon) Date: Sun, 30 Sep 2007 19:35:16 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Setting org.jboss.ws.timeout on client Message-ID: <18306834.1191195316206.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I'm trying to set the timeout value on my jax-ws client in Jboss-4.2.1.GA and Jbossws-1.2.1 without success. Any help at all would be much appreciated. I've tried via jboss-client.xml like so | jbossws-client | | Activity Authorized | | com.mycompany.webservices.client.ActivityAuthorizedService | {http://webservices.mycompany.com/}ActivityAuthorized | | org.jboss.ws.timeout | 10 | | | | | Without luck. I've also tried programmatically via info from the wiki | ActivityAuthorized endpoint = service.getActivityAuthorizedPort(); | | Stub stub = (Stub)endpoint; | stub._setProperty(StubExt.PROPERTY_CLIENT_TIMEOUT0, "10"); | But this results in a classcast on the 2nd line. Here is my generated client service @WebServiceClient(name = "ActivityAuthorizedService", targetNamespace = "http://webservices.mycompany.com", wsdlLocation = "http://localhost/services-1.0-SNAPSHOT/ActivityAuthorized?wsdl") | public class ActivityAuthorizedService | extends Service | { | | private final static URL ACTIVITYAUTHORIZEDSERVICE_WSDL_LOCATION; | | static { | URL url = null; | try { | url = new URL("http://localhost/services-1.0-SNAPSHOT/ActivityAuthorized?wsdl"); | } catch (MalformedURLException e) { | e.printStackTrace(); | } | ACTIVITYAUTHORIZEDSERVICE_WSDL_LOCATION = url; | } | | public ActivityAuthorizedService(URL wsdlLocation, QName serviceName) { | super(wsdlLocation, serviceName); | } | | public ActivityAuthorizedService() { | super(ACTIVITYAUTHORIZEDSERVICE_WSDL_LOCATION, new QName("http://webservices.mycompany.com", "ActivityAuthorizedService")); | } | | /** | * | * @return | * returns ActivityAuthorized | */ | @WebEndpoint(name = "ActivityAuthorizedPort") | public ActivityAuthorized getActivityAuthorizedPort() { | return (ActivityAuthorized)super.getPort(new QName("http://webservices.mycompany.com", "ActivityAuthorizedPort"), ActivityAuthorized.class); | }@WebServiceClient(name = "ActivityAuthorizedService", targetNamespace = "http://webservices.mycompany.com", wsdlLocation = "http://localhost/services-1.0-SNAPSHOT/ActivityAuthorized?wsdl") | public class ActivityAuthorizedService | extends Service | { | | private final static URL ACTIVITYAUTHORIZEDSERVICE_WSDL_LOCATION; | | static { | URL url = null; | try { | url = new URL("http://localhost/services-1.0-SNAPSHOT/ActivityAuthorized?wsdl"); | } catch (MalformedURLException e) { | e.printStackTrace(); | } | ACTIVITYAUTHORIZEDSERVICE_WSDL_LOCATION = url; | } | | public ActivityAuthorizedService(URL wsdlLocation, QName serviceName) { | super(wsdlLocation, serviceName); | } | | public ActivityAuthorizedService() { | super(ACTIVITYAUTHORIZEDSERVICE_WSDL_LOCATION, new QName("http://webservices.mycompany.com", "ActivityAuthorizedService")); | } | | /** | * | * @return | * returns ActivityAuthorized | */ | @WebEndpoint(name = "ActivityAuthorizedPort") | public ActivityAuthorized getActivityAuthorizedPort() { | return (ActivityAuthorized)super.getPort(new QNamwebservicese("http://webservices.mycompany.com", "ActivityAuthorizedPort"), ActivityAuthorized.class); | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4090060#4090060 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4090060