I have written two web services that I have tested separately and now I am trying to call
one web service from the other. I have a client that is succesfully calling web service
A, but when A tries to call web service B I get this message:
16:08:03,834 ERROR [SOAPFaultExceptionHelper] SOAP request exception
javax.xml.rpc.soap.SOAPFaultException: Endpoint
{http://acxiom.com/greeting/1.0}GetGreetingEjbInterf
acePort does not contain operation meta data for:
{http://schemas.xmlsoap.org/soap/envelope/}Envelope
This is the SOAP message that is being sent:
<env:Envelope
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:...
xmlns:enc='http://schemas.xmlsoap.org/soap/encoding/'
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'
xmlns:ns0='http://acxiom.com/greeting/1.0'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'><env:...
xmlns:ns0='http://acxiom.com/greeting/1.0'/></env:Body>&...
Note that there are two env:Envelope and two enb:Body tags. I am not sure what I need to
do to get this to work.
I am using JBOSS 4.0.4, jdk 1.5.0.7 and jwsdp 2.0.
I use wstools to generate the server artifacts for web service a using this configuration
file:
<java-wsdl>
<service name="HelloEjbService" style="document"
parameter-style="wrapped"
endpoint="com.acxiom.mypkg.HelloEjbInterface"/>
<namespaces
target-namespace="http://acxiom.com/hello/1.0"
type-namespace="http://acxiom.com/hello/1.0"/>
<webservices ejb-link="HelloService"/>
</java-wsdl>
Web service A is the client to web service B and I use wscompile to generate the artifacts
using this configuration file:
Web service B uses WSTOOLS and this configuration file:
<java-wsdl>
<service name="GreetingEjbService" style="document"
parameter-style="wrapped"
endpoint="com.acxiom.mypkg.GetGreetingEjbInterface"/>
<namespaces
target-namespace="http://acxiom.com/greeting/1.0"
type-namespace="http://acxiom.com/greeting/1.0"/>
<webservices ejb-link="GreetingService"/>
</java-wsdl>
Any help would be appreciated!
John
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051551#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...