[JBossWS] - Re: NPE deploying web services in service archive in CR1 rel
by adinn
I retried this with AS 5.0.0.CR2 and JBossWS 3.0.4 and it appears to work . . . most of the time.
The NPE is no longer generated if I restart with the war file still deployed However, two other things go wrong:
i) I get the following warnings during booting as end points are published
| . . .
| 15:22:52,332 INFO [DefaultEndpointRegistry] register: jboss.ws:context=ws-c11,endpoint=Activation Service
| 15:22:52,335 INFO [DefaultEndpointRegistry] register: jboss.ws:context=ws-c11,endpoint=Registration Service
| 15:22:52,354 WARN [AbstractServerConfig] Unable to calculate 'WebServicePort', using default '8080'
| 15:22:52,358 WARN [AbstractServerConfig] Unable to calculate 'WebServicePort', using default '8080'
| . . .
|
A block of messages is generated for each war file ans there is one message ffor each end point.
ii) sometimes the server hangs during deployment of the end points and never reaches start up (well,I waited 5 minutes).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184236#4184236
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184236
17 years
[JBossWS] - Exception when I try to deploy a web service
by pkorros
When I try to deploy my web service I get the following error:
| 10:43:01,536 INFO [WSDLFilePublisher] WSDL published to: file:/C:/Projects/jboss-4.2.3.GA/server/default/data/wsdl/ROOT.war/SOAPSearchCustomers57095.wsdl
| 10:43:08,833 ERROR [[SOAPSearchCustomers]] Servlet.service() for servlet SOAPSearchCustomers threw exception
| javax.xml.ws.WebServiceException: Cannot obtain endpoint for: jboss.ws:context=,endpoint=SOAPSearchCustomers
| at org.jboss.wsf.stack.jbws.EndpointServlet.initEndpoint(EndpointServlet.java:137)
| at org.jboss.wsf.stack.jbws.EndpointServlet.initServiceEndpoint(EndpointServlet.java:93)
| at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:74)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
|
any idea on whats wrong? What can I do to debug this?
I am using JBoss 4.2.3 and JBossWS 3.0.3.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184059#4184059
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184059
17 years
[JBossWS] - WS client retrieves WSDL many many times, performance proble
by alllle
During my testing, I used smartsniff to check the HTTP requests / responses between my WS Client and the SOAP server. I was surprised to discover that the dynamic WS client would first download the remote WSDL multiple times to create the service object, which I use to get the port object, then for each operation invocation, it would retrieve the WSDL file again, even the same port object is used.
This is a huge performance slow down for dynamic client, as we all know there is lots of overhead to download something via the network. Plus that I suspect that the WSDL file is parsed again and again with each download (or otherwise why downloading it?), which also slows things down a lot.
Even for static generated client code, it would still download the WSDL again if I use the service constructor that takes the WSDL URL and serviceQName. Not much of difference compare with the dynamic client.
I am not sure if the WSDL file is locally available (via file system), the WS client would still load it / parse it multiple times.
Anyone noticed this? Or have any comments?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4183999#4183999
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4183999
17 years