on 02-20-2006 4:46 PM
Hi ppl
I am wondering if this XSD format is correct as I am using it as a response message format in an SAP (rfc) to a third party scenario (soap) scenario. Below is the XSD format. By the way I have generated this XSD format using the XML SPY sftware.
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="GET_CUST_DETAILS_RESPONSE">
<xs:complexType>
<xs:sequence>
<xs:element name="CUST_ADDRESS_DATA" minOccurs="0" maxOccurs="1" type="cus_itemize" />
<xs:element name="CUST_RANGE" minOccurs="0" maxOccurs="1" type="cus_range_itemize" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:complexType name="cus_itemize">
<xs:sequence>
<xs:element name="itemize" minOccurs="1" maxOccurs="1" type="cus_address_details"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="cus_address_details">
<xs:sequence>
<xs:element name="Cust_name" minOccurs="0" maxOccurs="1" type="xs:string"/>
<xs:element name="Cust_street" minOccurs="0" maxOccurs="1" type="xs:string"/>
<xs:element name="Cust_city" minOccurs="0" maxOccurs="1" type="xs:string"/>
<xs:element name="Cust_country" minOccurs="0" maxOccurs="1" type="xs:string"/>
<xs:element name="Postal_Code" minOccurs="0" maxOccurs="1" type="xs:string"/>
<xs:element name="Cust_phoneno" minOccurs="0" maxOccurs="1" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="cus_range_itemize">
<xs:sequence>
<xs:element name="itemize" minOccurs="1" maxOccurs="1" type="cus_range_details"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="cus_range_details">
<xs:sequence>
<xs:element name="Cust_sign" minOccurs="0" maxOccurs="1" type="xs:string"/>
<xs:element name="Cust_high" minOccurs="0" maxOccurs="1" type="xs:string"/>
<xs:element name="Cust_low" minOccurs="0" maxOccurs="1" type="xs:string"/>
<xs:element name="Cust_option" minOccurs="0" maxOccurs="1" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
Your suggestion will be of a great help.
Thanks
Vijay..
Thank you vey much for the replies. I tried this in XI but I am getting the follwoing errors when I do the activation.
Activation of the change list canceled Check result for Interface Mapping cust_new_rfctowebservice_inter_msg_mapping | http://soaptorfc-vijay: Request message Message Type getCustomerList_Soapin | http://soaptorfc-vijay (INBOUND_PRODUCT_RAN, 1.0 of oratrix.com) is not activated Response message Message Type getCustomerList_New_SoapOut | http://soaptorfc-vijay (INBOUND_PRODUCT_RAN, 1.0 of oratrix.com) is not activated Mapping program Message Mapping Get_Cust_Details_Request_Mesage_Map | http://soaptorfc-vijay does not match request target message Message Type getCustomerList_Soapin | http://soaptorfc-vijay. Target message External Message getCustomerList_Soapin | http://soaptorfc-vijay | getcustomerlist | of the message mapping is different Mapping program Message Mapping getCus_New_Det_Res_Msg_Map | http://soaptorfc-vijay does not match response source message Message Type getCustomerList_New_SoapOut | http://soaptorfc-vijay. Source message External Message getCustomerList_New_SoapOut | http://soaptorfc-vijay | GET_CUST_DETAILS_RESPONSE | of the message mapping is different Check result for Interface Mapping Cust_Dt_RFCtoWebserv_inter_map | http://soaptorfc-vijay: Request message Message Type getCustomerList_Soapin | http://soaptorfc-vijay (INBOUND_PRODUCT_RAN, 1.0 of oratrix.com) is not activated Response message Message Type getCustomerList_SoapOut | http://soaptorfc-vijay (INBOUND_PRODUCT_RAN, 1.0 of oratrix.com) is not activated Response source message Message Type getCustomerList_SoapOut | http://soaptorfc-vijay missing in target interface Message Interface Get_Cust_Details_Inbound_Interface | http://soaptorfc-vijay Mapping program Message Mapping getCus_Det_Res_Msg_Map | http://soaptorfc-vijay does not match request source message RFC Message BAPI_CUSTOMER_GETLIST | urn:sap-com:document:sap:rfc:functions | BAPI_CUSTOMER_GETLIST. Source message External Message getCustomerList_SoapOut | http://soaptorfc-vijay | GET_CUST_DETAILS_RESPONSE | of the message mapping is different Mapping program Message Mapping getCus_Det_Res_Msg_Map | http://soaptorfc-vijay does not match request target message Message Type getCustomerList_Soapin | http://soaptorfc-vijay. Target message RFC Message BAPI_CUSTOMER_GETLIST | urn:sap-com:document:sap:rfc:functions | BAPI_CUSTOMER_GETLIST.Response of the message mapping is different Mapping program Message Mapping getCus_Det_Res_Msg_Map | http://soaptorfc-vijay does not match response source message Message Type getCustomerList_SoapOut | http://soaptorfc-vijay. Source message External Message getCustomerList_SoapOut | http://soaptorfc-vijay | GET_CUST_DETAILS_RESPONSE | of the message mapping is different Check result for Message Interface Get_Cust_Details_Inbound_Interface | http://soaptorfc-vijay: Object Message Interface Get_Cust_Details_Inbound_Interface | http://soaptorfc-vijay references the inactive object Message Type getCustomerList_New_SoapOut | http://soaptorfc-vijay Object Message Interface Get_Cust_Details_Inbound_Interface | http://soaptorfc-vijay references the inactive object Message Type getCustomerList_Soapin | http://soaptorfc-vijay
Any suggestion.
Thanks
Vijay..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vijay,
Why dont u try downloading XML Spy? Its got a trial version period..and I think its the best for validating xsd's..
U can download it at www.altova.com
cheers,
Prashanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vijay,
You can check it for yourself.
Try importing this into XI using 'External Defintions' Tab in your SWC in IR.
Rgds,
Sam Raju
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.