try changing the endpoint attribute in the http xbean.xml to match the port name of the wsdl

Benamin wrote:
That didn't work either.  Same result.



pgodot wrote:
Try http://localhost:8192/NSRService/?wsdl

-----Original Message-----
From: Benamin [mailto:[EMAIL PROTECTED] Sent: jeudi, 10. mai 2007 17:00
To: [email protected]
Subject: jsr problems


I am trying to expose a web service called NSRService such as in the
wsdl-first example.  When I browse to
http://localhost:8192/NSRService/main.wsdl, it doesn't display the wsdl. Any ideas on why it might not be able to find it? I will list my xbeans
for
jsr and http below:

<beans xmlns:jsr181="http://servicemix.apache.org/jsr181/1.0";>

    <classpath>
        <location>.</location>
    </classpath>
<jsr181:endpoint
pojoClass="org.apache.servicemix.samples.servicemanagerassembly.NSRImpl"
                     wsdlResource="classpath:externalsystem.wsdl"
                     style="document" />

</beans>

<beans xmlns:http="http://servicemix.apache.org/http/1.0";
       xmlns:NSR="http://servicemix.apache.org/servicemanagerassembly";>

  <http:endpoint service="NSR:NSRService"
                 endpoint="soap"
role="consumer" locationURI="http://localhost:8192/NSRService/";
                 defaultMep="http://www.w3.org/2004/08/wsdl/in-out";
                 soap="true"
soapAction="getNSR" />
</beans>




Reply via email to