Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Call external webservice : Problems with creating proxy based on WSDL

Former Member
0 Likes
472

Hi guys,

I'm trying to create a clientproxy to call a webservice. The wsdl i use contains one function i can call, and as the response an xsd is used... I think sap has a problem with this :).

Well, this is a part of the wsdl :


      <s:element name="SapPlanningOphalenResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="SapPlanningOphalenResult">
              <s:complexType>
                <s:sequence>
                  <s:any namespace="http://tempuri.org/dsPlanningSap.xsd" />
                </s:sequence>
              </s:complexType>
            </s:element>
          </s:sequence>
        </s:complexType>
      </s:element>

When the proxy is generated, i have an extra tabfolder with a warning message :

Structure ZWSSAP_PLANNING_OPHALEN_SOAP_O

<any>,<anyAttribute> not supported

I think there is a problem with the link to the xsd file, wich only contains a description of the structure i should get back...

This is the part of the xsd with the structure of the response.


 <xs:element msdata:IsDataSet="true" msdata:UseCurrentLocale="true" name="dsPlanningSap">
   <xs:complexType>
     <xs:choice minOccurs="0" maxOccurs="unbounded">
       <xs:element name="WachtDiensten">
         <xs:complexType>
           <xs:sequence>
             <xs:element minOccurs="0" name="PERNR">
               <xs:simpleType>
                 <xs:restriction base="xs:string">
                   <xs:maxLength value="8" /> 
                 </xs:restriction>
               </xs:simpleType>
             </xs:element>
             <xs:element minOccurs="0" name="BEGDA" type="xs:string" /> 
             <xs:element minOccurs="0" name="ENDDA" type="xs:string" /> 
             <xs:element minOccurs="0" name="BEGUZ" type="xs:string" /> 
             <xs:element minOccurs="0" name="ENDUZ" type="xs:string" /> 
           </xs:sequence>
         </xs:complexType>
       </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>

Is there a solution for this or does anyone know what the problem can be and how to solve it?

Thanks in advance,

Kind Regards,

Tom

Hi guys,

I'm trying to create a clientproxy to call a webservice. The wsdl i use contains one function i can call, and as the response an xsd is used... I think sap has a problem with this :).

Well, this is a part of the wsdl :


      <s:element name="SapPlanningOphalenResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="SapPlanningOphalenResult">
              <s:complexType>
                <s:sequence>
                  <s:any namespace="http://tempuri.org/dsPlanningSap.xsd" />
                </s:sequence>
              </s:complexType>
            </s:element>
          </s:sequence>
        </s:complexType>
      </s:element>

When the proxy is generated, i have an extra tabfolder with a warning message :

Structure ZWSSAP_PLANNING_OPHALEN_SOAP_O

<any>,<anyAttribute> not supported

I think there is a problem with the link to the xsd file, wich only contains a description of the structure i should get back...

This is the part of the xsd with the structure of the response.


 <xs:element msdata:IsDataSet="true" msdata:UseCurrentLocale="true" name="dsPlanningSap">
   <xs:complexType>
     <xs:choice minOccurs="0" maxOccurs="unbounded">
       <xs:element name="WachtDiensten">
         <xs:complexType>
           <xs:sequence>
             <xs:element minOccurs="0" name="PERNR">
               <xs:simpleType>
                 <xs:restriction base="xs:string">
                   <xs:maxLength value="8" /> 
                 </xs:restriction>
               </xs:simpleType>
             </xs:element>
             <xs:element minOccurs="0" name="BEGDA" type="xs:string" /> 
             <xs:element minOccurs="0" name="ENDDA" type="xs:string" /> 
             <xs:element minOccurs="0" name="BEGUZ" type="xs:string" /> 
             <xs:element minOccurs="0" name="ENDUZ" type="xs:string" /> 
           </xs:sequence>
         </xs:complexType>
       </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>

Is there a solution for this or does anyone know what the problem can be and how to solve it?

Thanks in advance,

Kind Regards,

Tom

3 REPLIES 3
Read only

Former Member
0 Likes
450

anyone?

Read only

0 Likes
450

suggest you to post here in this forum

for quicker response

Read only

0 Likes
450

damn... wrong subforum. Well, i'll ask this question again overthere!! Thanks!