This is the WSDL returned by JConsole (notice the duplicate <soap:body> and
<soap:address> tags. Why would the CXF BC do this and could this be causing
the problem?

<?xml version="1.0" encoding="UTF-8"?><wsdl:definitions
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
xmlns:ns1="http://domain.services.softechnics.com/";
xmlns:ns2="http://schemas.xmlsoap.org/soap/http";
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:tns="http://domain.services.softechnics.com/Fulfillment/Fulfillment";
xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
name="FulfillmentAndRequesterForPortTypeFulfillmentBusinessProcessPlkService"
targetNamespace="http://domain.services.softechnics.com/Fulfillment/Fulfillment";>
  <wsdl:types>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema";
xmlns:Requester="http://domain.services.softechnics.com/Fulfillment/Requester";
xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable";
xmlns:com="http://domain.services.softechnics.com/";
xmlns:datExt="http://www.softechnics.com/dataExtensions";
xmlns:diag="http://domain.services.softechnics.com/Fulfillment";
xmlns:dom="http://domain.services.softechnics.com/";
xmlns:pnlk="http://docs.oasis-open.org/wsbpel/2.0/plnktype";
xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
attributeFormDefault="unqualified" elementFormDefault="unqualified"
targetNamespace="http://domain.services.softechnics.com/";
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:tns="http://domain.services.softechnics.com/Fulfillment/Fulfillment";
xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl";
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
xmlns:xml="http://www.w3.org/XML/1998/namespace";>
<import xmlns="http://www.w3.org/2001/XMLSchema";
namespace="http://www.w3.org/2001/XMLSchema-instance"/>
<import xmlns="http://www.w3.org/2001/XMLSchema";
namespace="http://docs.oasis-open.org/wsbpel/2.0/plnktype"/>
<import xmlns="http://www.w3.org/2001/XMLSchema";
namespace="http://schemas.xmlsoap.org/wsdl/soap/"/>
<import xmlns="http://www.w3.org/2001/XMLSchema";
namespace="http://www.softechnics.com/dataExtensions"/>
<import xmlns="http://www.w3.org/2001/XMLSchema";
namespace="http://docs.oasis-open.org/wsbpel/2.0/varprop"/>
<import xmlns="http://www.w3.org/2001/XMLSchema";
namespace="http://domain.services.softechnics.com/Fulfillment/Fulfillment"/>
<import xmlns="http://www.w3.org/2001/XMLSchema";
namespace="http://www.w3.org/2006/05/addressing/wsdl"/>
<import xmlns="http://www.w3.org/2001/XMLSchema";
namespace="http://domain.services.softechnics.com/Fulfillment"/>
<import xmlns="http://www.w3.org/2001/XMLSchema";
namespace="http://docs.oasis-open.org/wsbpel/2.0/process/executable"/>
<import xmlns="http://www.w3.org/2001/XMLSchema";
namespace="http://www.w3.org/XML/1998/namespace"/>
<import xmlns="http://www.w3.org/2001/XMLSchema";
namespace="http://schemas.xmlsoap.org/wsdl/"/>
<import xmlns="http://www.w3.org/2001/XMLSchema";
namespace="http://domain.services.softechnics.com/Fulfillment/Requester"/>
                        
                        <xs:include schemaLocation="DomainModel.xsd"/>
                        
                        <xs:element name="initiateFulfillmentBusinessProcess"
type="dom:initiateFulfillmentBusinessProcess"/>
                        <xs:complexType 
name="initiateFulfillmentBusinessProcess">
                                <xs:sequence>
                                        <xs:element minOccurs="0" 
name="TransferDocument"
type="dom:TransferDocument"/>
                                </xs:sequence>
                        </xs:complexType>
                        
                        <xs:element name="initiateFulfillmentWorkflow"
type="dom:initiateFulfillmentWorkflow"/>
                        <xs:complexType name="initiateFulfillmentWorkflow">
                                <xs:sequence>
                                        <xs:element minOccurs="0" 
name="TransferDocument"
type="dom:TransferDocument"/>
                                </xs:sequence>
                        </xs:complexType>
                                
                        <xs:element name="completeFulfillmentWorkflow"
type="dom:completeFulfillmentWorkflow"/>
                        <xs:complexType name="completeFulfillmentWorkflow">
                                <xs:sequence>
                                        <xs:element minOccurs="0" 
name="TransferDocument"
type="dom:TransferDocument"/>
                                </xs:sequence>
                        </xs:complexType>
                        
                </xs:schema>
  </wsdl:types>
  <wsdl:message name="initiateFulfillmentBusinessProcess">
    <wsdl:part element="ns1:TransferDocument" name="TransferDocument">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="initiateFulfillmentWorkflow">
    <wsdl:part element="ns1:TransferDocument" name="TransferDocument">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="completeFulfillmentWorkflow">
    <wsdl:part element="ns1:TransferDocument" name="TransferDocument">
    </wsdl:part>
  </wsdl:message>
  <wsdl:portType name="FulfillmentBusinessProcess">
    <wsdl:operation name="initiateFulfillmentBusinessProcess">
      <wsdl:input message="tns:initiateFulfillmentBusinessProcess"
name="initiateFulfillmentBusinessProcess"
wsaw:action="http://domain.services.softechnics.com/FulfillmentBusinessProcess/initiateFulfillmentBusinessProcess";>
    </wsdl:input>
    </wsdl:operation>
    <wsdl:operation name="initiateFulfillmentWorkflow">
      <wsdl:input message="tns:initiateFulfillmentWorkflow"
name="initiateFulfillmentWorkflow"
wsaw:action="http://domain.services.softechnics.com/FulfillmentBusinessProcess/initiateFulfillmentWorkflow";>
    </wsdl:input>
    </wsdl:operation>
    <wsdl:operation name="completeFulfillmentWorkflow">
      <wsdl:input message="tns:completeFulfillmentWorkflow"
name="completeFulfillmentWorkflow"
wsaw:action="http://domain.services.softechnics.com/FulfillmentBusinessProcess/completeFulfillmentWorkflow";>
    </wsdl:input>
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="FulfillmentBusinessProcessServiceSoapBindingHTTP"
type="tns:FulfillmentBusinessProcess">
    <soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsaw:UsingAddressing wsdl:required="false"/>
    <wsdl:operation name="initiateFulfillmentBusinessProcess">
      <soap:operation
soapAction="http://domain.services.softechnics.com/FulfillmentBusinessProcess/initiateFulfillmentBusinessProcess";
style="document"/>
      <wsdl:input name="initiateFulfillmentBusinessProcess">
        <soap:body use="literal"/>
        <soap:body use="literal"/>
      </wsdl:input>
    </wsdl:operation>
    <wsdl:operation name="initiateFulfillmentWorkflow">
      <soap:operation
soapAction="http://domain.services.softechnics.com/FulfillmentBusinessProcess/initiateFulfillmentWorkflow";
style="document"/>
      <wsdl:input name="initiateFulfillmentWorkflow">
        <soap:body use="literal"/>
        <soap:body use="literal"/>
      </wsdl:input>
    </wsdl:operation>
    <wsdl:operation name="completeFulfillmentWorkflow">
      <soap:operation
soapAction="http://domain.services.softechnics.com/FulfillmentBusinessProcess/completeFulfillmentWorkflow";
style="document"/>
      <wsdl:input name="completeFulfillmentWorkflow">
        <soap:body use="literal"/>
        <soap:body use="literal"/>
      </wsdl:input>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service
name="FulfillmentAndRequesterForPortTypeFulfillmentBusinessProcessPlkService">
    <wsdl:port
binding="tns:FulfillmentBusinessProcessServiceSoapBindingHTTP"
name="Fulfillment_for_RequesterPort">
      <soap:address
location="http://localhost:8086/ode/processes/BusinessProcesses/Fulfillment/Fulfillment/Requester/FulfillmentAndRequesterForPortTypeFulfillmentBusinessProcessPlk"/>
      <soap:address
location="http://localhost:8086/ode/processes/BusinessProcesses/Fulfillment/Fulfillment/Requester/FulfillmentAndRequesterForPortTypeFulfillmentBusinessProcessPlk"/>
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>


Brian Taylor wrote:
> 
> I was able to successfully collapse the two wsdls into one (attached [1]),
> copied the service name and endpoint to the xbean.xml (attached [2]), and
> tried again with the same NPE on line 199 as the result.
> 
> [1] 
> http://www.nabble.com/file/p25278637/FulfillmentBusinessProcessService.wsdl
> FulfillmentBusinessProcessService.wsdl 
> 
> [2]  http://www.nabble.com/file/p25278637/xbean.xml xbean.xml 
> 

-- 
View this message in context: 
http://www.nabble.com/CXF-BC%3A-SOAP-Binding-Example-tp25258212p25279591.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to