Here is the complete WSDL file (I just commented out the IP address for the
service).

What may be worth of mentioning is that I tried using SOAPUI, which worked
instantly with this specific WSDL.


<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"; xmlns:soapenc="
http://schemas.xmlsoap.org/soap/encoding/"; xmlns:mime="
http://schemas.xmlsoap.org/wsdl/mime/"; xmlns:tns="
http://webservices.sanoma-uitgevers.nl/AdvPortal/MDC/"; xmlns:s1="
http://schemas.sanoma-uitgevers.nl/AdvPortal/MDC/SchemaOrderInfoRequestWeb";
xmlns:s="http://www.w3.org/2001/XMLSchema"; xmlns:s2="
http://schemas.sanoma-uitgevers.nl/AdvPortal/MDC/SchemaOrderInfoResultWeb";
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"; xmlns:http="
http://schemas.xmlsoap.org/wsdl/http/"; targetNamespace="
http://webservices.sanoma-uitgevers.nl/AdvPortal/MDC/"; xmlns:wsdl="
http://schemas.xmlsoap.org/wsdl/";>
  <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";>BizTalk
assembly "Sanoma.BizTalk.AdvertentiePortal.MDC, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=8c063b3a22630ca9" published web
service.</wsdl:documentation>
  <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="
http://webservices.sanoma-uitgevers.nl/AdvPortal/MDC/";>
      <s:import namespace="
http://schemas.sanoma-uitgevers.nl/AdvPortal/MDC/SchemaOrderInfoRequestWeb";
/>
      <s:import namespace="
http://schemas.sanoma-uitgevers.nl/AdvPortal/MDC/SchemaOrderInfoResultWeb";
/>
      <s:element name="GetOrderDetails">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" ref="s1:OrderInfo" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetOrderDetailsResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" ref="s2:OrderInfoResult"
/>
          </s:sequence>
        </s:complexType>
      </s:element>
    </s:schema>
    <s:schema elementFormDefault="qualified" targetNamespace="
http://schemas.sanoma-uitgevers.nl/AdvPortal/MDC/SchemaOrderInfoRequestWeb";>
      <s:element name="OrderInfo">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" form="unqualified"
name="Referentienummer" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
    </s:schema>
    <s:schema elementFormDefault="qualified" targetNamespace="
http://schemas.sanoma-uitgevers.nl/AdvPortal/MDC/SchemaOrderInfoResultWeb";>
      <s:element name="OrderInfoResult">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" form="unqualified"
name="Referentienr" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" form="unqualified"
name="NameAdvertiser" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" form="unqualified"
name="TypeOfAd" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" form="unqualified"
name="titleId" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" form="unqualified"
name="editionId" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" form="unqualified"
name="orderStatus" type="s:integer" />
            <s:element minOccurs="0" maxOccurs="1" form="unqualified"
name="returnCode" type="s:integer" />
            <s:element minOccurs="0" maxOccurs="1" form="unqualified"
name="returnMessage" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
    </s:schema>
  </wsdl:types>
  <wsdl:message name="GetOrderDetailsSoapIn">
    <wsdl:part name="parameters" element="tns:GetOrderDetails" />
  </wsdl:message>
  <wsdl:message name="GetOrderDetailsSoapOut">
    <wsdl:part name="parameters" element="tns:GetOrderDetailsResponse" />
  </wsdl:message>
  <wsdl:portType name="WebService_Sanoma_BizTalk_AdvertentiePortal_MDCSoap">
    <wsdl:operation name="GetOrderDetails">
      <wsdl:input message="tns:GetOrderDetailsSoapIn" />
      <wsdl:output message="tns:GetOrderDetailsSoapOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="WebService_Sanoma_BizTalk_AdvertentiePortal_MDCSoap"
type="tns:WebService_Sanoma_BizTalk_AdvertentiePortal_MDCSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http"; />
    <wsdl:operation name="GetOrderDetails">
      <soap:operation soapAction="
http://webservices.sanoma-uitgevers.nl/AdvPortal/MDC/WebService_Sanoma_BizTalk_AdvertentiePortal_MDC/GetOrderDetails";
style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:binding name="WebService_Sanoma_BizTalk_AdvertentiePortal_MDCSoap12"
type="tns:WebService_Sanoma_BizTalk_AdvertentiePortal_MDCSoap">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"; />
    <wsdl:operation name="GetOrderDetails">
      <soap12:operation soapAction="
http://webservices.sanoma-uitgevers.nl/AdvPortal/MDC/WebService_Sanoma_BizTalk_AdvertentiePortal_MDC/GetOrderDetails";
style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="WebService_Sanoma_BizTalk_AdvertentiePortal_MDC">
    <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";>BizTalk
assembly "Sanoma.BizTalk.AdvertentiePortal.MDC, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=8c063b3a22630ca9" published web
service.</wsdl:documentation>
    <wsdl:port name="WebService_Sanoma_BizTalk_AdvertentiePortal_MDCSoap"
binding="tns:WebService_Sanoma_BizTalk_AdvertentiePortal_MDCSoap">
      <soap:address location="
http://x.x.x.x/WebServices/AdvPortal/MDC/WebService_Sanoma_BizTalk_AdvertentiePortal_MDC.asmx";
/>
    </wsdl:port>
    <wsdl:port name="WebService_Sanoma_BizTalk_AdvertentiePortal_MDCSoap12"
binding="tns:WebService_Sanoma_BizTalk_AdvertentiePortal_MDCSoap12">
      <soap12:address location="
http://x.x.x.x/WebServices/AdvPortal/MDC/WebService_Sanoma_BizTalk_AdvertentiePortal_MDC.asmx";
/>
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>


Thanks,

Harm!


On Tue, Oct 14, 2008 at 2:42 PM, keith chapman <[EMAIL PROTECTED]>wrote:

> Could you post the schema section in the WSDL that describes
> GetOrderDetails. That would give us a clue to whats wrong.
>
> Thanks,
> Keith.
>
>
> On Tue, Oct 14, 2008 at 5:02 PM, Harm de Laat <[EMAIL PROTECTED]> wrote:
>
>> Hi all,
>>
>> I'm having great difficulties calling a BizTalk webservice using axis2
>> (1.4.1) with ADB.
>>
>> I have generated my client using the following command:
>>
>> wsdl2java.sh -uri
>> http://x.x.x.x/WebServices/AdvPortal/MDC/WebService_Sanoma_BizTalk_AdvertentiePortal_MDC.asmx?WSDL-p
>>  nl.kabisa.sanoma.webservices -d adb -s
>>
>> This generates all classes and using my (test)client I get to call the
>> service. This generates the following SOAP message:
>>
>> <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope
>> ">
>>    <soapenv:Body>
>>       <ns3:GetOrderDetails xmlns:ns3="
>> http://webservices.sanoma-uitgevers.nl/AdvPortal/MDC/";>
>>          <OrderInfo xmlns="
>> http://schemas.sanoma-uitgevers.nl/AdvPortal/MDC/SchemaOrderInfoRequestWeb
>> ">
>>             <Referentienummer>123456.123</Referentienummer>
>>          </OrderInfo>
>>       </ns3:GetOrderDetails>
>>    </soapenv:Body>
>> </soapenv:Envelope>
>>
>> However, this call gets discarded by the BizTalk server. When I manually
>> modify the soap message to the message below everything is fine. (Notice the
>> ns2 namespace):
>>
>> <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope
>> ">
>>    <soapenv:Body>
>>       <ns3:GetOrderDetails xmlns:ns3="
>> http://webservices.sanoma-uitgevers.nl/AdvPortal/MDC/";>
>>          <n2:OrderInfo xmlns:n2="
>> http://schemas.sanoma-uitgevers.nl/AdvPortal/MDC/SchemaOrderInfoRequestWeb
>> ">
>>             <Referentienummer>123456.123</Referentienummer>
>>          </n2:OrderInfo>
>>       </ns3:GetOrderDetails>
>>    </soapenv:Body>
>> </soapenv:Envelope>
>>
>> What is going on here? Why is the NS2 namespace missing in the Axis2
>> generated Soap message?
>> Also, what can I do to make this relatively simple client work?
>>
>> Kind regards,
>>
>> --
>> Harm de Laat
>> Kabisa ICT
>>
>>
>
>
> --
> Keith Chapman
> Senior Software Engineer
> WSO2 Inc.
> Oxygenating the Web Service Platform.
> http://wso2.org/
>
> blog: http://www.keith-chapman.org
>



-- 
Harm de Laat

Kabisa ICT
't Inne 9c
6021 DA Budel
KVK: 14090089

e : [EMAIL PROTECTED]
w : http://www.kabisa.nl
m : +31 (0)6 144 288 21
t : +31 (0)495 43 07 98
f : +31 (0)495 43 05 93

Reply via email to