[jbossws-issues] [JBoss JIRA] Commented: (JBWS-1759) Investigate CXF samples webservice

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Tue Oct 2 08:01:03 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBWS-1759?page=comments#action_12379861 ] 
            
Thomas Diesler commented on JBWS-1759:
--------------------------------------

<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://schemas.xmlsoap.org/wsdl/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.openuri.org/2004/04/HelloWorld" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="TestService" targetNamespace="http://www.openuri.org/2004/04/HelloWorld">
  <wsdl:message name="echo">
    <wsdl:part name="arg0" type="xsd:string">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="echoResponse">
    <wsdl:part name="return" type="xsd:string">
    </wsdl:part>
  </wsdl:message>

  <wsdl:portType name="EndpointInterface">
    <wsdl:operation name="echo">
      <wsdl:input message="tns:echo" name="echo">
    </wsdl:input>
      <wsdl:output message="tns:echoResponse" name="echoResponse">
    </wsdl:output>
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="TestServiceSoapBinding" type="tns:EndpointInterface">

    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="echo">
      <soap:operation soapAction="" style="rpc"/>
      <wsdl:input name="echo">
        <soap:body namespace="http://www.openuri.org/2004/04/HelloWorld" use="literal"/>
      </wsdl:input>
      <wsdl:output name="echoResponse">
        <soap:body namespace="http://www.openuri.org/2004/04/HelloWorld" use="literal"/>
      </wsdl:output>

    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="TestService">
    <wsdl:port binding="tns:TestServiceSoapBinding" name="EndpointInterfacePort">
      <soap:address location="http://tddell:8080/jaxws-samples-webservice01-jse"/>
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>

java.lang.NullPointerException
        at org.apache.cxf.helpers.ServiceUtils.makeServiceNameFromClassName(ServiceUtils.java:42)
        at org.apache.cxf.service.factory.DefaultServiceConfiguration.getFaultName(DefaultServiceConfiguration.java:59)
        at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.getFaultName(ReflectionServiceFactoryBean.java:1203)
        at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.setFaultClassInfo(JaxWsServiceFactoryBean.java:273)
        at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.initializeClassInfo(JaxWsServiceFactoryBean.java:367)
        at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.initializeWSDLOperation(JaxWsServiceFactoryBean.java:173)
        at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeWSDLOperations(ReflectionServiceFactoryBean.java:327)
        at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.initializeWSDLOperations(JaxWsServiceFactoryBean.java:182)
        at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromWSDL(ReflectionServiceFactoryBean.java:214)
        at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:270)
        at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:146)
        at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:89)
        at org.apache.cxf.jaxws.ServiceImpl.createPort(ServiceImpl.java:334)
        at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:246)
        at javax.xml.ws.Service.getPort(Service.java:161)
        at org.jboss.test.ws.jaxws.samples.webservice.WebServiceBase.getPort(WebServiceBase.java:49)
        at org.jboss.test.ws.jaxws.samples.webservice.WebServiceBase.sayHello(WebServiceBase.java:64)
        at org.jboss.test.ws.jaxws.samples.webservice.WebServiceBase.webServiceTest(WebServiceBase.java:70)
        at org.jboss.test.ws.jaxws.samples.webservice.WebServiceJSETestCase.testWebServiceTest(WebServiceJSETestCase.java:47)


> Investigate CXF samples webservice
> ----------------------------------
>
>                 Key: JBWS-1759
>                 URL: http://jira.jboss.com/jira/browse/JBWS-1759
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: integration-cxf
>         Environment: https://issues.apache.org/jira/browse/CXF-837
>            Reporter: Thomas Diesler
>         Assigned To: Thomas Diesler
>             Fix For: jbossws-2.1.0
>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbossws-issues mailing list