[JBossWS] - Cannot deploy web service
by wero_shinoda
Hi everyone, I have a problem deploying a JAX web service.
I created the web service on my computer using eclipse, I have no problem deploying it to JBoss locally.
But now I need to deploy the same web service on the test server of my company, and I just cannot do it! I changed the wsdlsoap:address location from localhost, to the address of the test server, then I copied the EAR file to the deploy folder of JBoss on the test server, but the service is not available, The tomcat status shows an application with the name of my web service, but when I enter the address of my service, the following shows:
AXIS error
No service is available at this URL
I just don't know what to do, and nobody here seems to know either, can you please help me.
Thanks!
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247360#4247360
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247360
15 years, 7 months
[JBossWS] - Re: String being escaped
by nicksyd
This is my finding so far after debugging through the jboss-xb-binding source code
The class MarshallerImpl() is the core class that does the serialization of the result from the objects to XML. The main method to do the serialization is called marshal(...) [ which have got several method implementation ]. The marshal (..) method calls an internal method (which is a private method) called marshallInternal(..). Basically what the marshallInternal(..) method does is it serialize the created "elements" and "value" to a String representation and it uses a class called ContentWriter (which is an implementation of org.xml.sax.ContentHandler interface), inside ContentWriter the characters(..) method implementation "normalize" all string character, this is where the problem lies as it converts all different character such as <,>,&,\," to it's respective decoded style <,>,&,',"
The question that I'm wondering is this a bug , a feature or it's intentionally put in as a JBoss implementation ?
I tried the same sample in WebSphere and the output inside the element is not being escaped.
Can anybody point me to the right direction ?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247128#4247128
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247128
15 years, 7 months
[JBossWS] - METRO stack fails to map system id to uri from jax-ws-catalo
by bmsantos
Hi all!
We've created an end-point under MS windows. When deploying it on Linux we get the following error:
anonymous wrote :
| Caused by: javax.xml.ws.WebServiceException: Failed to access the WSDL at: file:/C:/path/to/client//META-INF/wsdl/Webservice.wsdl. It failed with:
| /C:/path/to/client//META-INF/wsdl/Webservice.wsdl.
|
The same error appear on MS platform but the addition of the jax-ws-catalog.xml was enough to fix it and everything works just fine under windows.
Here is the META-INF/jax-ws-catalog.xml data:
| <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="system">
| <system systemId="file:/C:/path/to/client//META-INF/wsdl/Webservice.wsdl" uri="wsdl/Webservice.wsdl"/>
| </catalog>
|
We are running JBoss 4.2.3 GA with METRO 3.1.1 GA WS stack.
Is there any work around for this? Am I missing anything?
Thanks,
Bruno
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247106#4247106
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247106
15 years, 7 months