on 10-06-2014 8:42 PM
Hi,
I am trying to develop a flow using NW BPM.
I have created a inbound Service interface in ESR which has external definition as message type. When I import it in BPM(using import WSDL option) , it created namespace and service interface within, which is perfect, but it did not create any data type under Data Types section.
My question is, how to create Data Objects artifact if service interface is developed using external definition.
Thanks
Sandeep Maurya
Though this is an old question, someone might be still interested in solution:
1) extract the xsd from your wsdl (not really necessary, but makes it more easy)
2) Rewrite the xsd:element you are interested in importing as a xsd:complextype
eg. like this:
<xsd:complexType name="myDatatype">
<xsd:sequence>
<xsd:element name="myObject"
type="myObjecttype"
minOccurs="0"
maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
3) Import xsd to ESR as external def (step probably not necessary, but for clarity)
4) Import external def from ESR to BPM
You should then be able to assign the type you are interested in to your data object in BPM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
Anyone got the solution for this ? How to create Data Objects artifacts if service interface is developed using external definition ?
Appreciate your response.
Thanks,
Pushkar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I couldn't find solution for this issue, So i have converted the ED structure into Data type/Message Type. Created a dummy service interface, containing this Message type. Imported it into NWDS and then Message type was available in Data types section to be used as data object.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Sandeep,
I am facing the same problem as i want to use the external defination as a data object in NW BPM.
Did u get any solution for this?
Regards,
Shubham.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
>>When I import it in BPM(using import WSDL option) , it created namespace and service interface within, which is perfect, but it did not create any data type under Data Types section.
Ideally, all the structure within ur ED should come under Data Types along with SI, something similar to like this (below is the DT from ED).
May be u can directly create DO and search for ur structure under DT tab?
Thanks
Amit Srivastava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I think u got me wrong...
First of all u should not create DT under BPM because it should come along with ur SI WSDL Import. So, if possible paste ur ED, i can check why it's not working as expcted for u inside BPM.
>>But again the same situation.. how to create Data Types in NW BPM based on ED?
Answeing to ur question, yes it's possible to create custom DT, but for u it should come with SI import.
Thanks
Amit Srivastava
Amit, This is ED I am using
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://US/pi/test/rsearch">
<xs:element name="TestSearchRequest">
<xs:complexType>
<xs:sequence>
<xs:element name="CustomerNumber" type="xs:string" />
<xs:element name="StartDate" type="xs:string" maxOccurs="1" />
<xs:element name="EndDate" type="xs:string" maxOccurs="1" minOccurs="0" />
</xs:sequence>
<xs:attribute name="action" type="xs:string" />
</xs:complexType>
</xs:element>
<xs:element name="TestSearchResponse">
<xs:complexType>
<xs:sequence>
<xs:element name="rate" type="xs:string" />
<xs:element name="CustNumber" type="xs:string" maxOccurs="1" />
<xs:element name="Date" type="xs:string" maxOccurs="1" minOccurs="0" />
</xs:sequence>
<xs:attribute name="action" type="xs:string" />
</xs:complexType>
</xs:element>
</xs:schema>
Steps:
1. upload this ED in ESR.
2. Create an inbound Synchronous Service Interface -- Type XI30.
3. in NWBPM, use import WSDL, to import this SI.
4. Verify that under Data Types section you are getting data types or not.
Thanks
Sandeep Maurya
What are the other options to store input data in NW BPM?
Thanks
Sandeep Maurya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sandeep,
The below blog series might help
Introduction to SAP Netweaver BPM: Part 1 [Part I: An introduction to SAP Netweaver BPM]
Introduction to SAP Netweaver BPM: Part 2 [Introduction to SAP Netweaver BPM: Part 2]
Introduction to SAP Netweaver BPM: Part 3 [Introduction to SAP Netweaver BPM: Part 3]
Introduction to SAP Netweaver BPM: Part 5 and Introduction to SAP Netweaver BPM: Part 6
regards,
Harish
Hi Sandeep,
AFAIK - you do not need data type when you are using external definition for service interface.
regards,
Harish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.