AnsweredAssumed Answered

Issues with Web Service Task

Question asked by sanketsharma1 on Jul 2, 2014
Latest reply on Jul 3, 2014 by trademak
Hi,
I am trying to create a webservice task following the documentation at: http://www.activiti.org/userguide/#bpmnWebserviceTask

I added a reference to the WSDL in my bpmn file but when I try to test/deploy it, it fails with the following error:



[WARNING] src-resolve: Cannot resolve the name 'dx69:parameterEquals' to a(n) 'type definition' component.
  line 0 of http://hostname-hidden/ws/InvZaSbBsClientele.webservices.provider:InvZaSbBsClientele_wsd?WSDL#types1

[WARNING] src-resolve: Cannot resolve the name 'dx70:searchRestrictions' to a(n) 'type definition' component.
  line 0 of http://hostname-hidden/ws/InvZaSbBsClientele.webservices.provider:InvZaSbBsClientele_wsd?WSDL#types1

[WARNING] src-resolve: Cannot resolve the name 'dx27:userDetailsType' to a(n) 'type definition' component.
  line 0 of http://hostname-hidden/ws/InvZaSbBsClientele.webservices.provider:InvZaSbBsClientele_wsd?WSDL#types1

[ERROR] undefined simple or complex type 'dx69:parameterEquals'
  line 0 of http://hostname-hidden/ws/InvZaSbBsClientele.webservices.provider:InvZaSbBsClientele_wsd?WSDL#types1

[ERROR] undefined simple or complex type 'dx70:searchRestrictions'
  line 0 of http://hostname-hidden/ws/InvZaSbBsClientele.webservices.provider:InvZaSbBsClientele_wsd?WSDL#types1

[ERROR] undefined simple or complex type 'dx27:userDetailsType'
  line 0 of http://hostname-hidden/ws/InvZaSbBsClientele.webservices.provider:InvZaSbBsClientele_wsd?WSDL#types1

I tried searching on google and found a range of answers/hints but nothing relevant. I think the problem is with JAXB libraries and the way WSDL is generated by the other system, but could not zero down on anything concrete. Any help will be appreciated.

I do observe the following in the WSDL:

xmlns:HDR33="http://www.investec.co.za/schema/parameterEquals" in wsdl:definitions

The type is defined in the same WSDL as below:

<xsd:schema targetNamespace="http://www.investec.co.za/schema/parameterEquals" xmlns:dx43="http://www.investec.co.za/schema/accountIdentifier" xmlns:dx69="http://www.investec.co.za/schema/parameterEquals" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
          <xsd:import namespace="http://www.investec.co.za/schema/accountIdentifier'/>
          <xsd:complexType name="parameterEquals">
            <xsd:sequence>
              <xsd:element minOccurs="0" name="sin" type="xsd:string"/>
              <xsd:element minOccurs="0" name="surname" type="xsd:string"/>
              <xsd:element minOccurs="0" name="initials" type="xsd:string"/>
              <xsd:element minOccurs="0" name="firstname" type="xsd:string"/>
              <xsd:element minOccurs="0" name="cellNumber" type="xsd:string"/>
              <xsd:element minOccurs="0" name="emailAddress" type="xsd:string"/>
              <xsd:element minOccurs="0" name="identityNumber" type="xsd:string"/>
              <xsd:element minOccurs="0" name="gcn" type="xsd:string"/>
              <xsd:element minOccurs="0" name="passportNumber" type="xsd:string"/>
              <xsd:element minOccurs="0" name="foreignIdentityNumber" type="xsd:string"/>
              <xsd:element minOccurs="0" name="privatebanker" type="xsd:string"/>
              <xsd:element minOccurs="0" name="corporateName" type="xsd:string"/>
              <xsd:element minOccurs="0" name="companyRegistrationNumber" type="xsd:string"/>
              <xsd:element minOccurs="0" name="accountDetails" type="dx43:accountIdentifiersType"/>
              <xsd:element minOccurs="0" name="hostId" type="xsd:string"/>
              <xsd:element minOccurs="0" name="hostClientNumber" type="xsd:string"/>
              <xsd:element minOccurs="0" name="knownAs" type="xsd:string"/>
              <xsd:element minOccurs="0" name="oneViewId" type="xsd:string"/>
            </xsd:sequence>
          </xsd:complexType>
           </xsd:schema>


Would appreciate any help.

Sanket


Outcomes