Wsdl

christian.bryan

New Member
Hi

I am trying to develop an application that uses a WSDL to post to an online web service.

Im using the bprowsdldoc to try and analyse the WSDL to produce the 4GL code to use im my application however I seem to be getting errors in the WSDL.

Im pretty new to all this so I may be missing an important step or something like that!

The WSDL is provided by the UK government to access one of their online systems and people have used other lauguages and systems to connect to the service (as far as im aware) but I have seen posts where other developers have had similar trouble with this in other languages but not sure how they have resolved their issues


Any help on this would be gratefully received!!


This is the error produced when I try and use the bprowsdldoc on the WSDL file

OpenEdge Release 10.1C01 as of Sat Jun 7 16:06:03 EDT 2008
proenv>bprowsdldoc c:\bulkclaim.wsdl
Error loading WSDL document c:/bulkclaim.wsdl : Cannot resolve type: 3:Element
{http://xml.apache.org/xml-soap} for element rentalRequest{http://impl.service.b
ulkclaim.webservice.pcol.dca.gov.uk} (11748)

and this is the WSDL

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://uk.gov.dca.pcol.webservice.bulkclaim.service/BulkClaim" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://uk.gov.dca.pcol.webservice.bulkclaim.service/BulkClaim" xmlns:intf="http://uk.gov.dca.pcol.webservice.bulkclaim.service/BulkClaim" xmlns:tns1="http://impl.service.bulkclaim.webservice.pcol.dca.gov.uk" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!--WSDL created by Apache Axis version: 1.2
Built on May 03, 2005 (02:20:24 EDT)-->
<wsdl:types>
<schema elementFormDefault="qualified" targetNamespace="http://impl.service.bulkclaim.webservice.pcol.dca.gov.uk" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://xml.apache.org/xml-soap"/>
<element name="mortgageRequest" type="apachesoap:Element"/>
<element name="rentalRequest" type="apachesoap:Element"/>
</schema>
<schema elementFormDefault="qualified" targetNamespace="http://uk.gov.dca.pcol.webservice.bulkclaim.service/BulkClaim" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://xml.apache.org/xml-soap"/>
<element name="processMortgageClaimReturn" type="apachesoap:Element"/>
<element name="processRentalClaimReturn" type="apachesoap:Element"/>
</schema>
</wsdl:types>
<wsdl:message name="processRentalClaimResponse">
<wsdl:part element="impl:processRentalClaimReturn" name="processRentalClaimReturn"/>
</wsdl:message>
<wsdl:message name="processMortgageClaimRequest">
<wsdl:part element="tns1:mortgageRequest" name="mortgageRequest"/>
</wsdl:message>
<wsdl:message name="processMortgageClaimResponse">
<wsdl:part element="impl:processMortgageClaimReturn" name="processMortgageClaimReturn"/>
</wsdl:message>
<wsdl:message name="processRentalClaimRequest">
<wsdl:part element="tns1:rentalRequest" name="rentalRequest"/>
</wsdl:message>
<wsdl:portType name="BulkClaimServiceImpl">
<wsdl:eek:peration name="processMortgageClaim" parameterOrder="mortgageRequest">
<wsdl:input message="impl:processMortgageClaimRequest" name="processMortgageClaimRequest"/>
<wsdl:eek:utput message="impl:processMortgageClaimResponse" name="processMortgageClaimResponse"/>
</wsdl:eek:peration>
<wsdl:eek:peration name="processRentalClaim" parameterOrder="rentalRequest">
<wsdl:input message="impl:processRentalClaimRequest" name="processRentalClaimRequest"/>
<wsdl:eek:utput message="impl:processRentalClaimResponse" name="processRentalClaimResponse"/>
</wsdl:eek:peration>
</wsdl:portType>
<wsdl:binding name="BulkClaimSoapBinding" type="impl:BulkClaimServiceImpl">
<wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:eek:peration name="processMortgageClaim">
<wsdlsoap:eek:peration soapAction=""/>
<wsdl:input name="processMortgageClaimRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:eek:utput name="processMortgageClaimResponse">
<wsdlsoap:body use="literal"/>
</wsdl:eek:utput>
</wsdl:eek:peration>
<wsdl:eek:peration name="processRentalClaim">
<wsdlsoap:eek:peration soapAction=""/>
<wsdl:input name="processRentalClaimRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:eek:utput name="processRentalClaimResponse">
<wsdlsoap:body use="literal"/>
</wsdl:eek:utput>
</wsdl:eek:peration>
</wsdl:binding>
<wsdl:service name="BulkClaimServiceImplService">
<wsdl:port binding="impl:BulkClaimSoapBinding" name="BulkClaim">
<wsdlsoap:address location="http://vtpcol03:8888/pcol/services/BulkClaim"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
 
Top