cancel
Showing results for 
Search instead for 
Did you mean: 

input external definition XSD

Former Member
0 Kudos

Hi, All,

I have following XSD file need to be imputed to IB as external definition. And I also imputed http://www.temp.gov/jxdm/3.0.3/jxdm.xsd as required. But when I try to create a proxy, I am told my wsdl is broken. I think the problem is targetNamespace="http://tempuri.org/jxdm.xsd"

and j="http://www.temp.gov/jxdm/3.0.3". Is anybody have an idea on what I should? Useful answer will be surely awarded.


<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="arms_jxdm"
    xmlns:j="http://www.temp.gov/jxdm/3.0.3"
    targetNamespace="http://tempuri.org/jxdm.xsd"
    elementFormDefault="qualified"
    xmlns:arms="http://tempuri.org/xdm.xsd"
    xmlns:mstns="http://tempuri.org/jxdm.xsd"
    xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>The ARMS JXDM XML Data Exchange Model</xs:documentation>
  </xs:annotation>
  <xs:import namespace="http://www.temp.gov/jxdm/3.0.3" schemaLocation="http://www.temp.gov/jxdm/3.0.3/jxdm.xsd" />
  
  <xs:complexType name="ARMSJXDMDocumentType">
     <xs:annotation>
      <xs:documentation>A structure that describes inherent and frequently used characteristics of a document.</xs:documentation>
    </xs:annotation>
     <xs:complexContent>
       <xs:extension base="j:DocumentType">
         <xs:sequence>
          <xs:element ref="j:Incident" minOccurs="0" maxOccurs="unbounded" />
          <xs:element ref="j:Referral" minOccurs="0" maxOccurs="unbounded" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
   <xs:element name="ARMSUpload" type="arms:ARMSJXDMDocumentType">
     <xs:annotation>
      <xs:documentation>Outer container of incidents</xs:documentation>
    </xs:annotation>
  </xs:element>
  
</xs:schema>

Jack

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Is message type generated properly?

You have a reference of another xsd in given xsd.

Have you specified it in external definition.

Check this link:

http://help.sap.com/saphelp_nw70/helpdata/en/43/64db4daf9f30b4e10000000a11466f/frameset.htm

You want to import an XSD document myMessage to the Integration Repository; this document references three other XSD documents myStr1, myStr2, and myStr3 by using the <include> statement. One option is to first import myMessage. The External References tab page then shows that three documents are referenced and that these documents are not yet in the Integration Repository. Next, create further external definitions for myStr1, myStr2, and myStr3 in the same namespace and specify the source for each of these documents. If the source is not contained in the document itself, you will find it in the referencing document. If you refresh the display of the external definition for myMessage, the External References tab page shows that the documents have been found in the Integration Repository. You can then navigate to the other referenced external definitions in the Integration Repository by double clicking.

Thanks,

Beena.

Former Member
0 Kudos

Hi, Beena,

I did specified it in the external definition. And I even created a dummy mapping. I can see the structure in the mapping.

But when I am going generate a proxy I am told " Proxy generation terminated: WSDL error (not supported).

Any idea?

Thanks.

Jack

Former Member
0 Kudos

Can you paste another xsd also?

Thanks,

Beena.

Former Member
0 Kudos

You have

<xs:import namespace="http://www.temp.gov/jxdm/3.0.3" schemaLocation="http://www.temp.gov/jxdm/3.0.3/jxdm.xsd" /> in your xsd.

I think schemaLocation is not supported for java proxy generation.

Check this link:

http://help.sap.com/saphelp_nw70/helpdata/en/c8/7e5e3c754e476ee10000000a11405a/content.htm

and also

https://www.sdn.sap.com/irj/sdn. In the navigation area, choose SOA Middleware ® Repository-Based Modeling and Design. On the Repository-Based Modeling and Design page, choose Integration Repository. On the SAP NetWeaver Process Integration Design and Modeling page choose the Supported XML Schema and WSDL document.

Thanks,

Beena.

Former Member
0 Kudos

check this:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/708cff46-1569-2a10-40bf-90694e16...

There is no issues with schema location, it will be ignored.

Answers (0)