oth_ms
03-15-2009, 07:13 AM
I am trying to link a .Net application to a workflow system called ProcessMaker. In .Net, I have added a web reference called "http://10.10.4.171/sysworkflow/en/green/services/wsdl" that I got from ProcessMaker. When checking this reference in MS Visual Studio, I got a list of ProcessMaker's methods that can be exported to the .Net application. However, when I tried to debug the added files that include "wsdl.discomap & wsdl.wsdl", I received an error stating the following:
Error1:Unable to import binding 'processListSOAP12Binding' from namespace 'http://processmaker.com'. App_WebReferences/ProcessMaker/
I went through many postings on the internet but I wasn't able to solve it.
Also, I have used the Visual Studio command prompt to run wsdl.exe. When I wrote "wsdl wsdl.wsdl" to
check the wsdl.wsdl file imported from ProcessMaker, I got the following message:
c:\Program Files\Microsoft Visual Studio 8\VC>wsdl wsdl.wsdl
Microsoft (R) Web Services Description Language Utility
[Microsoft (R) .NET Framework, Version 2.0.50727.42]
Copyright (C) Microsoft Corporation. All rights reserved.
Warning: This web reference does not conform to WS-I Basic Profile v1.1.
SOAP 1.1 binding was not found: WS-I's Basic Profile 1.1 consists of implementat
ion guidelines that recommend how a set of core Web services specifications shou
ld be used together to develop interoperable Web services. For the 1.1 Profile,
those specifications are SOAP 1.1, WSDL 1.1, UDDI 2.0, XML 1.0 and XML Schema.
For more details on the WS-I Basic Profile v1.1, see the specification
at http://www.ws-i.org/Profiles/BasicProfile-1.1.html.
Error: Unable to import binding 'processListSOAP12Binding' from namespace 'http:
//processmaker.com'.
- Unable to import operation 'processList'.
- The datatype 'http://processmaker.com:processListStruct' is missing.
So, would anyone who knows xml provide me with the support to fix this problem.
Regards
A part of the code of the wsdl.wsdl file is:
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:ns0="http://processmaker.com" targetNamespace="http://processmaker.com" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<xs:schema xmlns:ns="http://processmaker.com" xmlns:ns1="http://processmaker.com/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://processmaker.com">
<xs:element name="pmResponse">
<xs:complexType>
<xs:sequence>
<xs:element name="status_code" type="xs:integer" />
<xs:element name="message" type="xs:string" />
<xs:element name="timestamp" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="login">
<xs:complexType>
<xs:sequence>
<xs:element name="userid" type="xs:string" />
<xs:element name="password" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="processListStruct">
<xs:complexType>
<xs:sequence>
<xs:element name="guid" type="xs:string" />
<xs:element name="name" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="processList">
<xs:complexType>
<xs:sequence>
<xs:element name="sessionId" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="processListResponse">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="processes" type="ns:processListStruct" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="roleListStruct">
<xs:complexType>
<xs:sequence>
<xs:element name="guid" type="xs:string" />
<xs:element name="name" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="roleList">
<xs:complexType>
<xs:sequence>
<xs:element name="sessionId" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="roleListResponse">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="roles" type="ns:roleListStruct" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="groupListStruct">
<xs:complexType>
<xs:sequence>
<xs:element name="guid" type="xs:string" />
<xs:element name="name" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="groupList">
<xs:complexType>
<xs:sequence>
<xs:element name="sessionId" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="groupListResponse">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="groups" type="ns:groupListStruct" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="userListStruct">
<xs:complexType>
<xs:sequence>
<xs:element name="guid" type="xs:string" />
<xs:element name="name" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="userList">
<xs:complexType>
<xs:sequence>
<xs:element name="sessionId" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="userListResponse">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="users" type="ns:userListStruct" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="caseListStruct">
<xs:complexType>
<xs:sequence>
<xs:element name="guid" type="xs:string" />
<xs:element name="name" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="caseList">
<xs:complexType>
<xs:sequence>
<xs:element name="sessionId" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="caseListResponse">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="cases" type="ns:caseListStruct" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="createUser">
<xs:complexType>
<xs:sequence>
<xs:element name="sessionId" type="xs:string" />
<xs:element name="userId" type="xs:string" />
<xs:element name="firstname" type="xs:string" />
<xs:element name="lastname" type="xs:string" />
<xs:element name="email" type="xs:string" />
<xs:element name="role" type="xs:string" />
<xs:element name="password" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="assignUserToGroup">
<xs:complexType>
<xs:sequence>
<xs:element name="sessionId" type="xs:string" />
<xs:element name="userId" type="xs:string" />
<xs:element name="groupId" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="variableStruct">
<xs:complexType>
<xs:sequence>
<xs:element name="name" type="xs:string" />
<xs:element name="value" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="sendVariables">
<xs:complexType>
<xs:sequence>
<xs:element name="sessionId" type="xs:string" />
<xs:element name="caseId" type="xs:string" />
<xs:element maxOccurs="unbounded" name="variables" type="ns:variableStruct" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="variableListStruct">
<xs:complexType>
<xs:sequence>
<xs:element name="name" type="xs:string" />
<xs:element name="value" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="variableListResponse">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="variables" type="ns:variableListStruct" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getVariables">
<xs:complexType>
<xs:sequence>
<xs:element name="sessionId" type="xs:string" />
<xs:element name="caseId" type="xs:string" />
<xs:element maxOccurs="unbounded" name="variables" type="ns:variableStruct" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="newCase">
<xs:complexType>
<xs:sequence>
<xs:element name="sessionId" type="xs:string" />
<xs:element name="processId" type="xs:string" />
<xs:element name="taskId" type="xs:string" />
<xs:element maxOccurs="unbounded" name="variables" type="ns:variableStruct" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="newCaseResponse">
<xs:complexType>
<xs:sequence>
<xs:element name="status_code" type="xs:integer" />
<xs:element name="message" type="xs:string" />
<xs:element minOccurs="0" name="caseId" type="xs:string" />
<xs:element minOccurs="0" name="caseNumber" type="xs:string" />
<xs:element name="timestamp" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="reassignCase">
<xs:complexType>
<xs:sequence>
<xs:element name="sessionId" type="xs:string" />
<xs:element name="caseId" type="xs:string" />
<xs:element name="delIndex" type="xs:string" />
<xs:element name="userIdSource" type="xs:string" />
<xs:element name="userIdTarget" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="newCaseImpersonate">
<xs:complexType>
<xs:sequence>
<xs:element name="sessionId" type="xs:string" />
<xs:element name="processId" type="xs:string" />
<xs:element name="userId" type="xs:string" />
<xs:element maxOccurs="unbounded" name="variables" type="ns:variableStruct" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="derivateListStruct">
<xs:complexType>
<xs:sequence>
<xs:element name="processId" type="xs:string" />
<xs:element name="processTitle" type="xs:string" />
<xs:element name="taskId" type="xs:string" />
<xs:element name="taskTitle" type="xs:string" />
<xs:element name="caseId" type="xs:string" />
<xs:element name="caseNumber" type="xs:string" />
Error1:Unable to import binding 'processListSOAP12Binding' from namespace 'http://processmaker.com'. App_WebReferences/ProcessMaker/
I went through many postings on the internet but I wasn't able to solve it.
Also, I have used the Visual Studio command prompt to run wsdl.exe. When I wrote "wsdl wsdl.wsdl" to
check the wsdl.wsdl file imported from ProcessMaker, I got the following message:
c:\Program Files\Microsoft Visual Studio 8\VC>wsdl wsdl.wsdl
Microsoft (R) Web Services Description Language Utility
[Microsoft (R) .NET Framework, Version 2.0.50727.42]
Copyright (C) Microsoft Corporation. All rights reserved.
Warning: This web reference does not conform to WS-I Basic Profile v1.1.
SOAP 1.1 binding was not found: WS-I's Basic Profile 1.1 consists of implementat
ion guidelines that recommend how a set of core Web services specifications shou
ld be used together to develop interoperable Web services. For the 1.1 Profile,
those specifications are SOAP 1.1, WSDL 1.1, UDDI 2.0, XML 1.0 and XML Schema.
For more details on the WS-I Basic Profile v1.1, see the specification
at http://www.ws-i.org/Profiles/BasicProfile-1.1.html.
Error: Unable to import binding 'processListSOAP12Binding' from namespace 'http:
//processmaker.com'.
- Unable to import operation 'processList'.
- The datatype 'http://processmaker.com:processListStruct' is missing.
So, would anyone who knows xml provide me with the support to fix this problem.
Regards
A part of the code of the wsdl.wsdl file is:
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:ns0="http://processmaker.com" targetNamespace="http://processmaker.com" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<xs:schema xmlns:ns="http://processmaker.com" xmlns:ns1="http://processmaker.com/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://processmaker.com">
<xs:element name="pmResponse">
<xs:complexType>
<xs:sequence>
<xs:element name="status_code" type="xs:integer" />
<xs:element name="message" type="xs:string" />
<xs:element name="timestamp" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="login">
<xs:complexType>
<xs:sequence>
<xs:element name="userid" type="xs:string" />
<xs:element name="password" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="processListStruct">
<xs:complexType>
<xs:sequence>
<xs:element name="guid" type="xs:string" />
<xs:element name="name" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="processList">
<xs:complexType>
<xs:sequence>
<xs:element name="sessionId" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="processListResponse">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="processes" type="ns:processListStruct" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="roleListStruct">
<xs:complexType>
<xs:sequence>
<xs:element name="guid" type="xs:string" />
<xs:element name="name" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="roleList">
<xs:complexType>
<xs:sequence>
<xs:element name="sessionId" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="roleListResponse">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="roles" type="ns:roleListStruct" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="groupListStruct">
<xs:complexType>
<xs:sequence>
<xs:element name="guid" type="xs:string" />
<xs:element name="name" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="groupList">
<xs:complexType>
<xs:sequence>
<xs:element name="sessionId" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="groupListResponse">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="groups" type="ns:groupListStruct" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="userListStruct">
<xs:complexType>
<xs:sequence>
<xs:element name="guid" type="xs:string" />
<xs:element name="name" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="userList">
<xs:complexType>
<xs:sequence>
<xs:element name="sessionId" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="userListResponse">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="users" type="ns:userListStruct" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="caseListStruct">
<xs:complexType>
<xs:sequence>
<xs:element name="guid" type="xs:string" />
<xs:element name="name" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="caseList">
<xs:complexType>
<xs:sequence>
<xs:element name="sessionId" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="caseListResponse">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="cases" type="ns:caseListStruct" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="createUser">
<xs:complexType>
<xs:sequence>
<xs:element name="sessionId" type="xs:string" />
<xs:element name="userId" type="xs:string" />
<xs:element name="firstname" type="xs:string" />
<xs:element name="lastname" type="xs:string" />
<xs:element name="email" type="xs:string" />
<xs:element name="role" type="xs:string" />
<xs:element name="password" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="assignUserToGroup">
<xs:complexType>
<xs:sequence>
<xs:element name="sessionId" type="xs:string" />
<xs:element name="userId" type="xs:string" />
<xs:element name="groupId" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="variableStruct">
<xs:complexType>
<xs:sequence>
<xs:element name="name" type="xs:string" />
<xs:element name="value" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="sendVariables">
<xs:complexType>
<xs:sequence>
<xs:element name="sessionId" type="xs:string" />
<xs:element name="caseId" type="xs:string" />
<xs:element maxOccurs="unbounded" name="variables" type="ns:variableStruct" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="variableListStruct">
<xs:complexType>
<xs:sequence>
<xs:element name="name" type="xs:string" />
<xs:element name="value" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="variableListResponse">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="variables" type="ns:variableListStruct" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getVariables">
<xs:complexType>
<xs:sequence>
<xs:element name="sessionId" type="xs:string" />
<xs:element name="caseId" type="xs:string" />
<xs:element maxOccurs="unbounded" name="variables" type="ns:variableStruct" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="newCase">
<xs:complexType>
<xs:sequence>
<xs:element name="sessionId" type="xs:string" />
<xs:element name="processId" type="xs:string" />
<xs:element name="taskId" type="xs:string" />
<xs:element maxOccurs="unbounded" name="variables" type="ns:variableStruct" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="newCaseResponse">
<xs:complexType>
<xs:sequence>
<xs:element name="status_code" type="xs:integer" />
<xs:element name="message" type="xs:string" />
<xs:element minOccurs="0" name="caseId" type="xs:string" />
<xs:element minOccurs="0" name="caseNumber" type="xs:string" />
<xs:element name="timestamp" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="reassignCase">
<xs:complexType>
<xs:sequence>
<xs:element name="sessionId" type="xs:string" />
<xs:element name="caseId" type="xs:string" />
<xs:element name="delIndex" type="xs:string" />
<xs:element name="userIdSource" type="xs:string" />
<xs:element name="userIdTarget" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="newCaseImpersonate">
<xs:complexType>
<xs:sequence>
<xs:element name="sessionId" type="xs:string" />
<xs:element name="processId" type="xs:string" />
<xs:element name="userId" type="xs:string" />
<xs:element maxOccurs="unbounded" name="variables" type="ns:variableStruct" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="derivateListStruct">
<xs:complexType>
<xs:sequence>
<xs:element name="processId" type="xs:string" />
<xs:element name="processTitle" type="xs:string" />
<xs:element name="taskId" type="xs:string" />
<xs:element name="taskTitle" type="xs:string" />
<xs:element name="caseId" type="xs:string" />
<xs:element name="caseNumber" type="xs:string" />