[JBossWS] - Re: Accessing a Java JBossWS WebService from VBScript not wo
by gbc@gmx.de
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
| <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
| <env:Header>
| <seam:conversationId xmlns:seam='http://www.jboss.org/seam/webservice'>5</seam:conversationId>
| </env:Header>
| <env:Body>
| <m:isAliveResponse xmlns:m='http://webservice.simple/'/>
| </env:Body>
| </env:Envelope>
| 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
| <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
| <env:Header>
| <seam:conversationId xmlns:seam='http://www.jboss.org/seam/webservice'>4</seam:conversationId>
| </env:Header>
| <env:Body>
| <m:helloWorldResponse xmlns:m='http://webservice.simple/'>
| <return>Hello World</return>
| </m:helloWorldResponse>
| </env:Body>
| </env:Envelope>
| 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@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
17 years, 3 months
[JBossWS] - Re: Problem with inheritance and JBossWS
by koganty
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
17 years, 3 months