My problem is that I have these two files:
1.- marcas.psgi
#!/usr/bin/perl
use strict;
use warnings;
use WWW::Curl::easy;
use WWW::Curl;
use Data::Dumper qw(Dumper);
$Data::Dumper::Sortkeys = 1;
use Plack::Request;
my $app = sub {
### Pasandole los valores desde el $env
my $env = shift;
my $request = Plack::Request->new($env);
my $MARCA1 = "";
my $MARCA2 = "";
my $MARCA3 = "";
my $MARCA4 = "";
my $MARCA5 = "";
if ($request->param('MARCA1')) {
$MARCA1 = $request->param('MARCA1');
}
if ($request->param('MARCA2')) {
$MARCA2 = $request->param('MARCA2');
}
if ($request->param('MARCA3')) {
$MARCA3 = $request->param('MARCA3');
}
if ($request->param('MARCA4')) {
$MARCA4 = $request->param('MARCA4');
}
if ($request->param('MARCA5')) {
$MARCA5 = $request->param('MARCA5');
}
#print system('php','-r','echo "Hola\n";');
my $resultado = `php -r '
include_once "marcas.php";
prueba_curl("$MARCA1","$MARCA2","$MARCA3");
'
`;
#print $resultado;
return [
'200',
[ 'Content-Type' => 'text/plain' ],
[ "<h1>".time()."</h1><br><br>".
"MARCA1: ".$MARCA1."<br>".
"MARCA2: ".$MARCA2."<br>".
"MARCA3: ".$MARCA3."<br><hr><br>".
$resultado."<br><hr><br>" ],
];
}
2.- IFSoft.wsdl
<?xml version="1.0" encoding="iso-8859-1" ?>
<wsdl:definitions name="IFSoft"
targetNamespace="http://ip:5000/cgi-bin/psgi/wsdl/"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns="http://ip:5000/cgi-bin/psgi/wsdl/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" >
<wsdl:types>
<xsd:schema elementFormDefault="qualified"
targetNamespace="http://ip:5000/cgi-bin/psgi/wsdl" >
<xsd:element name="marcasConsulta">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="MARCA1" type="xsd:string" />
<xsd:element name="MARCA2" type="xsd:string" />
<xsd:element name="MARCA3" type="xsd:string" />
<xsd:element name="MARCA4" type="xsd:string" />
<xsd:element name="MARCA5" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="marcasRespuesta">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="TablaMarcas" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</wsdl:types>
<wsdl:message name="marcasIn">
<wsdl:part element="tns:marcasConsulta" name="parameters" />
</wsdl:message>
<wsdl:message name="marcasOut">
<wsdl:part element="tns:marcasRespuesta" name="parameters" />
</wsdl:message>
<wsdl:portType name="IMarcas" >
<wsdl:operation name="ConsultaMarcas" parameterOrder="MARCA1 MARCA2 MARCA3 MARCA4 MARCA5" >
<wsdl:input message="tns:marcasIn" name="marcasIn" />
<wsdl:input message="tns:marcasOut" name="marcasOut" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="IMarcas" type="tns:IMarcas">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="ConsultaMarcas">
<soap:operation soapAction="marcasIn" style="document" />
<wsdl:input name="marcasIn" >
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="marcasOut" >
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="ConsultaMarcas">
<wsdl:documentation>Consulta de Marcas IF-Software.</wsdl:documentation>
<wsdl:port binding="tns:IMarcas" name="IMarcas" >
<soap:Address location="http://ip:5000/cgi-bin/psgi/marcas.psgi" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
To run the marcas.psgi what I do is:
plackup marcas.psgi
How I can do to access that marcas.psgi through the WSDL? How "public" that WSDL?
Thank you very much for everything.
Related
I'm trying run a contract-first by CXF and Maven.
I have a WSDL which is inside src/java/resource/wsdl and 5 xsds which are inside src/java/resources/xsd
My hierarchi seems like this:
aaa.v1r0.xsd (have an element which refers to bbb.v1r0.xsd)
bbb.v1r0.xsd (have elements which refers to ccc.v1r0.xsd, ddd.v1r0.xsd and eee.v1r0.xsd)
ccc.v1r0.xsd
ddd.v1r0.xsd (have an element which refers to eee.v1r0.xsd)
eee.v1r0.xsd
aaa.v1r0.wsdl have an element which refers to aaa.v1r0.xsd
aaa.v1r0.xsd
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema elementFormDefault="qualified"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://schemas.example.com.br/aaa"
xmlns="http://schemas.example.com.br/aaa"
version="v1r0"
xmlns:bbb="http://schemas.example.com.br/bbb">
<xsd:import
namespace="http://schemas.example.com.br/bbb"
schemaLocation="bbb.v1r0.xsd"/>
<xsd:element name="aaa" type="Aaa"/>
<xsd:element name="aaas" type="Aaas"/>
<xsd:complexType name="Aaa">
<xsd:sequence>
<xsd:element name="field1" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element name="field2" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element ref="bbb:bbbs" minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Aaas">
<xsd:sequence>
<xsd:element ref="aaa" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
bbb.v1r0.xsd
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema elementFormDefault="qualified"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://schemas.example.com.br/bbb"
xmlns="http://schemas.example.com.br/bbb"
version="v1r0"
xmlns:ccc="http://schemas.example.com.br/ccc"
xmlns:ddd="http://schemas.example.com.br/ddd"
xmlns:eee="http://schemas.example.com.br/eee">
<xsd:import
namespace="http://schemas.example.com.br/ccc"
schemaLocation="ccc.v1r0.xsd"/>
<xsd:import
namespace="http://schemas.example.com.br/ddd"
schemaLocation="ddd.v1r0.xsd"/>
<xsd:import
namespace="http://schemas.example.com.br/eee"
schemaLocation="eee.v1r0.xsd"/>
<xsd:element name="bbb" type="Bbb"/>
<xsd:element name="bbbs" type="Bbbs"/>
<xsd:complexType name="Bbb">
<xsd:sequence>
<xsd:element name="field1" type="xsd:dateTime" minOccurs="1" maxOccurs="1"/>
<xsd:element name="field2" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element name="field3" type="xsd:base64Binary" minOccurs="0" maxOccurs="1"/>
<xsd:element ref="ccc:ccc" minOccurs="1" maxOccurs="1"/>
<xsd:element name="field4" type="xsd:integer" minOccurs="0" maxOccurs="1"/>
<xsd:element name="field5" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element ref="ddd:ddd" minOccurs="1" maxOccurs="1"/>
<xsd:element name="field6" minOccurs="0" maxOccurs="1">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="eee:eees" minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Bbbs">
<xsd:sequence>
<xsd:element ref="bbb" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
ccc.v1r0.xsd
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema elementFormDefault="qualified"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://schemas.example.com.br/ccc"
xmlns="http://schemas.example.com.br/ccc"
version="v1r0">
<xsd:element name="ccc" type="Ccc"/>
<xsd:complexType name="Ccc">
<xsd:sequence>
<xsd:element name="field1" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element name="field2" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element name="field3" minOccurs="0" maxOccurs="1">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="field1" type="xsd:double" minOccurs="1" maxOccurs="1"/>
<xsd:element name="field2" type="xsd:double" minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
ddd.v1r0.xsd
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema elementFormDefault="qualified"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://schemas.example.com.br/ddd"
xmlns="http://schemas.example.com.br/ddd"
version="v1r0"
xmlns:eee="http://schemas.example.com.br/eee">
<xsd:import
namespace="http://schemas.example.com.br/eee"
schemaLocation="eee.v1r0.xsd"/>
<xsd:element name="ddd" type="Ddd"/>
<xsd:element name="ddds" type="Ddds"/>
<xsd:complexType name="Ddd">
<xsd:sequence>
<xsd:element name="field1" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element name="field2" type="xsd:time" minOccurs="0" maxOccurs="1"/>
<xsd:element ref="eee:eees" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Ddds">
<xsd:sequence>
<xsd:element ref="ddd" minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
eee.v1r0.xsd
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema elementFormDefault="qualified"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://schemas.example.com.br/eee"
xmlns="http://schemas.example.com.br/eee"
version="v1r0">
<xsd:element name="eee" type="Eee"/>
<xsd:element name="eees" type="Eees"/>
<xsd:complexType name="Eee">
<xsd:sequence>
<xsd:element name="field1" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element name="field2" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="field3" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element name="field4" type="xsd:integer" minOccurs="0" maxOccurs="1"/>
<xsd:element name="field5" minOccurs="0" maxOccurs="1">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="field1" type="xsd:string" minOccurs="1" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Eees">
<xsd:sequence>
<xsd:element ref="eee" minOccurs="1" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
aaa.v1r0.wsdl
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<wsdl:definitions
name="evento.v1r0"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
targetNamespace="http://services.example.com.br/aaa"
xmlns:tns="http://services.example.com.br/aaa">
<wsdl:types>
<xsd:schema
elementFormDefault="qualified"
targetNamespace="http://services.example.com.br/aaa"
xmlns:aaa="http://schemas.example.com.br/aaa">
<xsd:import
namespace="http://schemas.example.com.br/aaa"
schemaLocation="../xsd/aaa.v1r0.xsd"/>
<xsd:element name="capacity01Request">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="aaa:aaa" minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="capacity01Response">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="field1" type="xsd:integer" minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="capacity02Request">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="field1" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="field2" type="xsd:date" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="capacity02Response">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="field01" minOccurs="0" maxOccurs="1">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="field02" minOccurs="1" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="field03" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element name="field04" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element name="field05" minOccurs="1" maxOccurs="1">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="field06" minOccurs="1" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="field07" type="xsd:dateTime" minOccurs="1" maxOccurs="1"/>
<xsd:element name="field08" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element name="field09" type="xsd:base64Binary" minOccurs="0" maxOccurs="1"/>
<xsd:element name="field10" minOccurs="1" maxOccurs="1">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="field11" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element name="field12" type="xsd:string" minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="field13" type="xsd:integer" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="capacity03Request">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="field01" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="field02" type="xsd:date" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="capacity03Response">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="aaa:aaas" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="capacity04Request">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="field01" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element name="field02" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="field03" minOccurs="0" maxOccurs="1">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="field04" type="xsd:date" minOccurs="0" maxOccurs="1"/>
<xsd:element name="field05" type="xsd:string" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="capacity04Response">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="aaa:aaas" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="AaaError">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="field01" type="xsd:string" minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</wsdl:types>
<wsdl:message name="requestcapacity01">
<wsdl:part name="capacity01Request" element="tns:capacity01Request"/>
</wsdl:message>
<wsdl:message name="responsecapacity01">
<wsdl:part name="capacity01Response" element="tns:capacity01Response"/>
</wsdl:message>
<wsdl:message name="requestcapacity02">
<wsdl:part name="capacity02Request" element="tns:capacity02Request"/>
</wsdl:message>
<wsdl:message name="responsecapacity02">
<wsdl:part name="capacity02Response" element="tns:capacity02Response"/>
</wsdl:message>
<wsdl:message name="requestcapacity03">
<wsdl:part name="capacity03Request" element="tns:capacity03Request"/>
</wsdl:message>
<wsdl:message name="responsecapacity03">
<wsdl:part name="capacity03Response" element="tns:capacity03Response"/>
</wsdl:message>
<wsdl:message name="requestcapacity04">
<wsdl:part name="capacity04Request" element="tns:capacity04Request"/>
</wsdl:message>
<wsdl:message name="responsecapacity04">
<wsdl:part name="capacity04Response" element="tns:capacity04Response"/>
</wsdl:message>
<wsdl:message name="AaaError">
<wsdl:part name="AaaError" element="tns:AaaError"/>
</wsdl:message>
<wsdl:portType name="eventoPortType">
<wsdl:operation name="capacity01">
<wsdl:input message="tns:requestcapacity01"/>
<wsdl:output message="tns:responsecapacity01"/>
<wsdl:fault name="error" message="tns:AaaError"/>
</wsdl:operation>
<wsdl:operation name="capacity02">
<wsdl:input message="tns:requestcapacity02"/>
<wsdl:output message="tns:responsecapacity02"/>
<wsdl:fault name="error" message="tns:AaaError"/>
</wsdl:operation>
<wsdl:operation name="capacity03">
<wsdl:input message="tns:requestcapacity03"/>
<wsdl:output message="tns:responsecapacity03"/>
<wsdl:fault name="error" message="tns:AaaError"/>
</wsdl:operation>
<wsdl:operation name="capacity04">
<wsdl:input message="tns:requestcapacity04"/>
<wsdl:output message="tns:responsecapacity04"/>
<wsdl:fault name="error" message="tns:AaaError"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="eventoSOAP11Binding" type="tns:eventoPortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="capacity01">
<soap:operation style="document" soapAction="" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="error">
<soap:fault name="error" use="literal" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="capacity02">
<soap:operation style="document" soapAction=""/>
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="error">
<soap:fault name="error" use="literal" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="capacity03">
<soap:operation style="document" soapAction=""/>
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="error">
<soap:fault name="error" use="literal" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="capacity04">
<soap:operation style="document" soapAction=""/>
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="error">
<soap:fault name="error" use="literal" />
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="aaaService">
<wsdl:port name="AaaPort" binding="tns:eventoSOAP11Binding">
<soap:address location="http://localhost:8080/aaa-service/services/aaa"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>br.com.exampleapp</groupId>
<artifactId>aaa-service</artifactId>
<packaging>war</packaging>
<version>0.0.1-SNAPSHOT</version>
<name>aaa-service Maven Webapp</name>
<url>http://maven.apache.org</url>
<properties>
<cxf.version>3.0.1</cxf.version>
<jdk.version>1.7</jdk.version>
<maven-compiler.version>3.1</maven-compiler.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<spring.version>4.0.6.RELEASE</spring.version>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-frontend-jaxws</artifactId>
<version>${cxf.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>${spring.version}</version>
</dependency>
</dependencies>
<build>
<finalName>aaa-service</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler.version}</version>
<configuration>
<source>${jdk.version}</source>
<target>${jdk.version}</target>
<encoding></encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-codegen-plugin</artifactId>
<version>${cxf.version}</version>
<executions>
<execution>
<id>generate-sources</id>
<phase>generate-sources</phase>
<configuration>
<sourceRoot>${basedir}/src/main/java</sourceRoot>
<wsdlOptions>
<wsdlOption>
<wsdl>${basedir}/src/main/resources/wsdl/aaa.v1r0.wsdl</wsdl>
<extraargs>
<extraarg>-impl</extraarg>
</extraargs>
</wsdlOption>
</wsdlOptions>
</configuration>
<goals>
<goal>wsdl2java</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
applicationContext.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jaxws="http://cxf.apache.org/jaxws"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://cxf.apache.org/jaxws
http://cxf.apache.org/schemas/jaxws.xsd">
<jaxws:endpoint
id="aaa"
implementor="br.com.example.services.aaa.AaaPortImpl"
wsdlLocation="wsdl/aaa.v1r0.wsdl"
address="/aaa">
</jaxws:endpoint>
</beans>
web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee /web-app_2_5.xsd">
<display-name>Sample web service provider</display-name>
<listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>WEB-INF/applicationContext.xml</param-value>
</context-param>
<servlet>
<servlet-name>CXFServlet</servlet-name>
<servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>CXFServlet</servlet-name>
<url-pattern>/services/*</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>60</session-timeout>
</session-config>
</web-app>
When I run my project in a Tomcat server, I can access the WSDL configuration through http://localhost:8080/aaa-service/services/aaa?wsdl
However, when I try test this configuration through SOAPUI, I receive a message which say that was an error loading WSDL
Source null
Error element bbbs#http://schemas.example.com.br/bbb not found
What am I doing wrong? is there some configuration to ref elements?
Add the import statement to import other xsd to wsdl
<xsd:import namespace="http://schemas.example.com.br/bbb" schemaLocation="../xsd/bbb.v1r0.xsd" />
<xsd:import namespace="http://schemas.example.com.br/ccc" schemaLocation="../xsd/ccc.v1r0.xsd" />
<xsd:import namespace="http://schemas.example.com.br/ddd" schemaLocation="../xsd/ddd.v1r0.xsd" />
<xsd:import namespace="http://schemas.example.com.br/eee" schemaLocation="../xsd/eee.v1r0.xsd" />
Your wsdl would look like as below
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<wsdl:definitions name="evento.v1r0" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="http://services.example.com.br/aaa" xmlns:tns="http://services.example.com.br/aaa">
<wsdl:types>
<xsd:schema elementFormDefault="qualified" targetNamespace="http://services.example.com.br/aaa" xmlns:aaa="http://schemas.example.com.br/aaa">
<xsd:import namespace="http://schemas.example.com.br/aaa" schemaLocation="../xsd/aaa.v1r0.xsd" />
<xsd:import namespace="http://schemas.example.com.br/bbb" schemaLocation="../xsd/bbb.v1r0.xsd" />
<xsd:import namespace="http://schemas.example.com.br/ccc" schemaLocation="../xsd/ccc.v1r0.xsd" />
<xsd:import namespace="http://schemas.example.com.br/ddd" schemaLocation="../xsd/ddd.v1r0.xsd" />
<xsd:import namespace="http://schemas.example.com.br/eee" schemaLocation="../xsd/eee.v1r0.xsd" />
<xsd:element name="capacity01Request">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="aaa:aaa" minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="capacity01Response">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="field1" type="xsd:integer" minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="capacity02Request">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="field1" type="xsd:string" minOccurs="0" maxOccurs="1" />
<xsd:element name="field2" type="xsd:date" minOccurs="0" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="capacity02Response">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="field01" minOccurs="0" maxOccurs="1">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="field02" minOccurs="1" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="field03" type="xsd:string" minOccurs="1" maxOccurs="1" />
<xsd:element name="field04" type="xsd:string" minOccurs="1" maxOccurs="1" />
<xsd:element name="field05" minOccurs="1" maxOccurs="1">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="field06" minOccurs="1" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="field07" type="xsd:dateTime" minOccurs="1" maxOccurs="1" />
<xsd:element name="field08" type="xsd:string" minOccurs="1" maxOccurs="1" />
<xsd:element name="field09" type="xsd:base64Binary" minOccurs="0" maxOccurs="1" />
<xsd:element name="field10" minOccurs="1" maxOccurs="1">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="field11" type="xsd:string" minOccurs="1" maxOccurs="1" />
<xsd:element name="field12" type="xsd:string" minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="field13" type="xsd:integer" minOccurs="0" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="capacity03Request">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="field01" type="xsd:string" minOccurs="0" maxOccurs="1" />
<xsd:element name="field02" type="xsd:date" minOccurs="0" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="capacity03Response">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="aaa:aaas" minOccurs="0" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="capacity04Request">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="field01" type="xsd:string" minOccurs="1" maxOccurs="1" />
<xsd:element name="field02" type="xsd:string" minOccurs="0" maxOccurs="1" />
<xsd:element name="field03" minOccurs="0" maxOccurs="1">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="field04" type="xsd:date" minOccurs="0" maxOccurs="1" />
<xsd:element name="field05" type="xsd:string" minOccurs="0" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="capacity04Response">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="aaa:aaas" minOccurs="0" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="AaaError">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="field01" type="xsd:string" minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</wsdl:types>
<wsdl:message name="requestcapacity01">
<wsdl:part name="capacity01Request" element="tns:capacity01Request" />
</wsdl:message>
<wsdl:message name="responsecapacity01">
<wsdl:part name="capacity01Response" element="tns:capacity01Response" />
</wsdl:message>
<wsdl:message name="requestcapacity02">
<wsdl:part name="capacity02Request" element="tns:capacity02Request" />
</wsdl:message>
<wsdl:message name="responsecapacity02">
<wsdl:part name="capacity02Response" element="tns:capacity02Response" />
</wsdl:message>
<wsdl:message name="requestcapacity03">
<wsdl:part name="capacity03Request" element="tns:capacity03Request" />
</wsdl:message>
<wsdl:message name="responsecapacity03">
<wsdl:part name="capacity03Response" element="tns:capacity03Response" />
</wsdl:message>
<wsdl:message name="requestcapacity04">
<wsdl:part name="capacity04Request" element="tns:capacity04Request" />
</wsdl:message>
<wsdl:message name="responsecapacity04">
<wsdl:part name="capacity04Response" element="tns:capacity04Response" />
</wsdl:message>
<wsdl:message name="AaaError">
<wsdl:part name="AaaError" element="tns:AaaError" />
</wsdl:message>
<wsdl:portType name="eventoPortType">
<wsdl:operation name="capacity01">
<wsdl:input message="tns:requestcapacity01" />
<wsdl:output message="tns:responsecapacity01" />
<wsdl:fault name="error" message="tns:AaaError" />
</wsdl:operation>
<wsdl:operation name="capacity02">
<wsdl:input message="tns:requestcapacity02" />
<wsdl:output message="tns:responsecapacity02" />
<wsdl:fault name="error" message="tns:AaaError" />
</wsdl:operation>
<wsdl:operation name="capacity03">
<wsdl:input message="tns:requestcapacity03" />
<wsdl:output message="tns:responsecapacity03" />
<wsdl:fault name="error" message="tns:AaaError" />
</wsdl:operation>
<wsdl:operation name="capacity04">
<wsdl:input message="tns:requestcapacity04" />
<wsdl:output message="tns:responsecapacity04" />
<wsdl:fault name="error" message="tns:AaaError" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="eventoSOAP11Binding" type="tns:eventoPortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="capacity01">
<soap:operation style="document" soapAction="" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="error">
<soap:fault name="error" use="literal" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="capacity02">
<soap:operation style="document" soapAction="" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="error">
<soap:fault name="error" use="literal" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="capacity03">
<soap:operation style="document" soapAction="" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="error">
<soap:fault name="error" use="literal" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="capacity04">
<soap:operation style="document" soapAction="" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="error">
<soap:fault name="error" use="literal" />
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="aaaService">
<wsdl:port name="AaaPort" binding="tns:eventoSOAP11Binding">
<soap:address location="http://localhost:8080/aaa-service/services/aaa" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
i'm trying to develop a jax-ws webservice based on a pl/sql package using the toplink DB WS Provider, the problem is that my procedure returns a table array and the return message is not what i was expecting.
the wsdl generated is the following:
<?xml version='1.0' encoding='UTF-8'?><!-- Published by JAX-WS RI at http://jax- ws.dev.java.net. RI's version is Oracle JAX-WS 2.1.5. --><wsdl:definitions xmlns:ns1="http://clientwstop/testeWS" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://clientwstop/testeWSService" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" name="testeWSService" targetNamespace="http://clientwstop/testeWSService">
<wsdl:types>
<xsd:schema xmlns:tns="http://clientwstop/testeWSService" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://clientwstop/testeWSService" elementFormDefault="qualified">
<xsd:import schemaLocation="http://localhost:7101/clientWStop-clientWStop-context-root/testeWS?xsd=1" namespace="http://clientwstop/testeWS"/>
<xsd:complexType name="extconResponseType">
<xsd:sequence>
<xsd:element name="result">
<xsd:complexType>
<xsd:sequence>
<xsd:any/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="extconRequestType">
<xsd:sequence>
<xsd:element name="ENT_COD" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="extcon" type="tns:extconRequestType"/>
<xsd:element name="extconResponse" type="tns:extconResponseType"/>
</xsd:schema>
</wsdl:types>
<wsdl:message name="extconRequest">
<wsdl:part name="extconRequest" element="tns:extcon"/>
</wsdl:message>
<wsdl:message name="extconResponse">
<wsdl:part name="extconResponse" element="tns:extconResponse"/>
</wsdl:message>
<wsdl:portType name="testeWSService_Interface">
<wsdl:operation name="extcon">
<wsdl:input message="tns:extconRequest"/>
<wsdl:output message="tns:extconResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="testeWSService_SOAP_HTTP" type="tns:testeWSService_Interface">
<soap12:binding style="document" transport="http://www.w3.org/2003/05/soap/bindings/HTTP/"/>
<wsdl:operation name="extcon">
<soap12:operation soapAction="http://clientwstop/testeWSService:extcon" soapActionRequired="false"/>
<wsdl:input>
<soap12:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap12:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="testeWSService">
<wsdl:port name="testeWSServicePort" binding="tns:testeWSService_SOAP_HTTP">
<soap12:address location="http://localhost:7101/clientWStop-clientWStop-context- root/testeWS"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
and the result is this one:
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
<env:Body>
<srvc:extconResponse xmlns:srvc="http://clientwstop/testeWSService">
<srvc:result>
<simple-xml-format>
<simple-xml>
<result>weblogic.jdbc.wrapper.Struct_oracle_sql_STRUCT#11</result>
</simple-xml>
</simple-xml-format>
</srvc:result>
</srvc:extconResponse>
</env:Body>
</env:Envelope>
Does any one tried to develop pl/sql webservices like this? what i'm doing wrong?
regards
I'm trying to do the same thing. Here is the best solution I have found so far, and another is found here
Can Anyone tell me way to version Wsdl contracts(wsdl first service) for major and minor versions.any running example will be very helpful.
The way I m following to version my wsdl is this.I am following Iona webservices versioning guidlines
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="ProductServiceImplServicev2"
targetNamespace="http://service.dtechtalkcenter.com/servicev2"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://service.dtechtalkcenter.com/servicev2"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" `enter code here`
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:v2_0="http://service.dtechtalkcenter.com/servicev2.0"
xmlns:v2_1="http://service.dtechtalkcenter.com/servicev2.1">
<wsdl:types>
<xsd:schema elementFormDefault="unqualified" targetNamespace="http://service.dtechtalkcenter.com/servicev2.0">
<xsd:element name="addProduct" type="v2_0:addProduct"/>
<xsd:element name="addProductResponse" type="v2_0:addProductResponse"/>
<xsd:element name="getProducts" type="v2_0:getProducts"/>
<xsd:element name="getProductsResponse" type="v2_0:getProductsResponse"/>
<xsd:complexType name="getProducts">
<xsd:sequence/>
</xsd:complexType>
<xsd:complexType name="getProductsResponse">
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="return" type="v2_0:product"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="product">
<xsd:sequence>
<xsd:element name="cast" type="xsd:double"/>
<xsd:element minOccurs="0" name="productCategory" type="xsd:string"/>
<xsd:element minOccurs="0" name="productDetails" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="addProduct">
<xsd:sequence>
<xsd:element minOccurs="0" name="product" type="v2_0:product"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="addProductResponse">
<xsd:sequence/>
</xsd:complexType>
</xsd:schema>
</wsdl:types>
<wsdl:message name="addProductResponse">
<wsdl:part name="parameters" element="v2_0:addProductResponse">
</wsdl:part>
</wsdl:message>
<wsdl:message name="getProducts">
<wsdl:part name="parameters" element="v2_0:getProducts">
</wsdl:part>
</wsdl:message>
<wsdl:message name="addProduct">
<wsdl:part name="parameters" element="v2_0:addProduct">
</wsdl:part>
</wsdl:message>
<wsdl:message name="getProductsResponse">
<wsdl:part name="parameters" element="v2_0:getProductsResponse">
</wsdl:part>
</wsdl:message>
<wsdl:portType name="ProductService_v2_0">
<wsdl:operation name="getProducts">
<wsdl:input name="getProducts" message="tns:getProducts">
</wsdl:input>
<wsdl:output name="getProductsResponse" message="tns:getProductsResponse">
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="addProduct">
<wsdl:input name="addProduct" message="tns:addProduct">
</wsdl:input>
<wsdl:output name="addProductResponse" message="tns:addProductResponse">
</wsdl:output>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="ProductServiceImplService_v2_0_SoapBinding" type="tns:ProductService_v2_0">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="getProducts">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getProducts">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getProductsResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="addProduct">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="addProduct">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="addProductResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="ProductServiceImplService_v2_0">
<wsdl:port name="ProductServiceImplPort" binding="tns:ProductServiceImplService_v2_0_SoapBinding">
<soap:address location="http://localhost:8088/VersionService/services/ProductServiceImplPort"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
I'm new in using axis2 and I'trying to generate java classes from a wsdl.
Unfotunately I get the following exception :
org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL
I cannot figure out how to find the problem.
I work with axis2-1.6.2 on jdk1.7 and win7.
Any hint would be appreciated.
Flavio
here is my wsdl :
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
name="IFX170PortType"
targetNamespace="urn:ifxforum-org:WSDL:1:PortType"
xmlns:tns="urn:ifxforum-org:WSDL:1:PortType"
xmlns:types="urn:ifxforum-org:WSDL:1:PortType:types"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<wsdl:types>
<xsd:schema
targetNamespace="urn:ifxforum-org:WSDL:1:PortType:types"
xmlns:ifx="urn:ifxforum-org:XSD:1"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xsd:import namespace="urn:ifxforum-org:XSD:1"
schemaLocation="IFX170.xsd"/>
<xsd:element name="DoIFXRq">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="ifx:IFX" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="DoIFXRs">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="ifx:IFX" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</wsdl:types>
<wsdl:message name="DoIFXRqMsg">
<wsdl:part name="parameters" element="types:DoIFXRq"/>
</wsdl:message>
<wsdl:message name="DoIFXRsMsg">
<wsdl:part name="result" element="types:DoIFXRs"/>
</wsdl:message>
<wsdl:portType name="IFX170PortType">
<wsdl:operation name="DoIFX">
<wsdl:input message="tns:DoIFXRqMsg"/>
<wsdl:output message="tns:DoIFXRsMsg"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="IFX170SOAPBinding" type="IFX170PortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="DoIFX">
<soap:operation style="document" soapAction="getDoIFX" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="IFX170Service">
<wsdl:port name="IFX170SOAPPort" binding="IFX170SOAPBinding">
<soap:address location="http://localhost:8080/axis2/services /StockQuoteService" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
If still having issues, try the following updates to the WSDL to ensure that the related entities within the WSDL are properly referenced:
<wsdl:binding name="IFX170SOAPBinding" type="tns:IFX170PortType">
<wsdl:service name="IFX170Service">
<wsdl:port name="IFX170SOAPPort" binding="tns:IFX170SOAPBinding">
Note the use of the 'tns:' prefix in the type and binding attributes respectively.
Hi I created a web service, and I've been testing it with SoapUI successfully.
But whenever I try to generate the client in Rational Application Developer, Visual Studio or even in SoapUI I keep getting the following error:
Using AXIS2_HOME: C:\Download\Axis2\axis2-1.4.1-bin\axis2-1.4.1
Using JAVA_HOME: C:\j2sdk1.4.2_04
org.apache.axis2.wsdl.codegen.CodeGenerationException: org.apache.axis2.wsdlUnmatchedTypeException: No type was mapped to the name ContractInfo with namespace http://service.invcontractinfo.ws.uig.com/
at ...
My WSDL is the following:
<?xml version="1.0"?><wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://wpf.ibm.com/2002/03/models/InvContractInfoWS" xmlns:xsd1="http://service.invcontractinfo.ws.uig.com/" xmlns:xsd2="InvContractInfoWS/sql_GetOwnerInfo/sql_GetOwnerInfoInputs" xmlns:xsd3="InvContractInfoWS/sql_getContractInfo/sql_getContractInfoInputs" xmlns:xsd4="InvContractInfoWS/sql_getDeathBenefits/sql_getDeathBenefitsInputs" xmlns:xsd5="http://Services/Investment_Services/sql_getLastValidDate" xmlns:xsd6="http://generatedschema.bowstreet.com/InvContractInfoWS/GetLastValidDateInputSchema" xmlns:xsd7="http://Services/Investment_Services/sql_getProductType" xmlns:xsd8="InvContractInfoWS/sql_getProductType/sql_getProductTypeInputs" xmlns:xsd9="InvContractInfoWS/sql_getBalanceVariantInfo/sql_getBalanceVariantInfoInputs" xmlns:xsd10="InvContractInfoWS/sql_getBalanceNonVariantInfo/sql_getBalanceNonVariantInfoInputs" xmlns:xsd11="InvContractInfoWS/sql_getTransHistVariant/sql_getTransHistVariantInputs" xmlns:xsd12="InvContractInfoWS/sql_getTransHistNonVariant/sql_getTransHistNonVariantInputs" xmlns:xsd13="http://Services/Investment_Services/sql_getProdList" xmlns:xsd14="InvContractInfoWS/Inv_/InvContractInfoWSGetProductListReservedMethodDispatcher" xmlns:xsd15="http://generatedschema.bowstreet.com/InvContractInfoWS/GetAllContractDataInputSchema" xmlns:xsd16="http://generatedschema.bowstreet.com/InvContractInfoWS/GetAllContractDataOnLastValidDateInputSchema" name="InvContractInfoWS" targetNamespace="http://wpf.ibm.com/2002/03/models/InvContractInfoWS"><wsdl:types><xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://service.invcontractinfo.ws.uig.com/" targetNamespace="http://service.invcontractinfo.ws.uig.com/"><xsd:element name="InvestmentContractInputs"><xsd:complexType><xsd:sequence><xsd:element maxOccurs="1" minOccurs="1" ref="tns:CONTRACT_NUM" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="CONTRACT_NUM" type="xsd:string" />
<xsd:complexType name="OwnerInfoType"><xsd:sequence><xsd:element maxOccurs="1" minOccurs="1" name="CONT" nillable="true" type="xsd:string" />
<xsd:element maxOccurs="1" minOccurs="1" name="POL_NUM" nillable="false" type="xsd:decimal" />
<xsd:element maxOccurs="1" minOccurs="1" name="OWNER" nillable="true" type="xsd:string" />
<xsd:element maxOccurs="1" minOccurs="1" name="ADDR1" nillable="true" type="xsd:string" />
<xsd:element maxOccurs="1" minOccurs="1" name="ADDR2" nillable="true" type="xsd:string" />
<xsd:element maxOccurs="1" minOccurs="1" name="ADDR3" nillable="true" type="xsd:string" />
<xsd:element maxOccurs="1" minOccurs="1" name="SOCSEC" nillable="true" type="xsd:string" />
<xsd:element maxOccurs="1" minOccurs="1" name="DOB" nillable="true" type="xsd:string" />
<xsd:element maxOccurs="1" minOccurs="1" name="ANNUITANT" nillable="true" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ContractInfoType"><xsd:sequence><xsd:element maxOccurs="1" minOccurs="1" name="CONT_NUMBER" nillable="true" type="xsd:string" />
<xsd:element maxOccurs="1" minOccurs="1" name="POLICY_NUMBER" nillable="false" type="xsd:decimal" />
<xsd:element maxOccurs="1" minOccurs="1" name="AGENCY" nillable="true" type="xsd:string" />
<xsd:element maxOccurs="1" minOccurs="1" name="EFF_DATE" nillable="true" type="xsd:string" />
<xsd:element maxOccurs="1" minOccurs="1" name="EXP_DATE" nillable="true" type="xsd:string" />
<xsd:element maxOccurs="1" minOccurs="1" name="POL_TYPE" nillable="true" type="xsd:string" />
<xsd:element maxOccurs="1" minOccurs="1" name="PRODUCER" nillable="true" type="xsd:string" />
<xsd:element maxOccurs="1" minOccurs="1" name="WRT_PREMIUM" nillable="true" type="xsd:decimal" />
<xsd:element maxOccurs="1" minOccurs="1" name="POLSTATUS" nillable="true" type="xsd:string" />
<xsd:element maxOccurs="1" minOccurs="1" name="ISSUEDATE" nillable="true" type="xsd:string" />
<xsd:element maxOccurs="1" minOccurs="1" name="PRODNAME" nillable="true" type="xsd:string" />
<xsd:element maxOccurs="1" minOccurs="1" name="QUALPLAN" nillable="false" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="DeathBenefitsType"><xsd:sequence><xsd:element maxOccurs="1" minOccurs="1" name="CV_CASHVALUE" nillable="true" type="xsd:decimal" />
<xsd:element maxOccurs="1" minOccurs="1" name="CV_ACCOUNTVAL" nillable="true" type="xsd:decimal" />
<xsd:element maxOccurs="1" minOccurs="1" name="CV_DEATHBEN" nillable="true" type="xsd:decimal" />
<xsd:element maxOccurs="1" minOccurs="1" name="CV_DEATHBEN_ANNIVERSARY" nillable="true" type="xsd:decimal" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="BalanceInfoRowSetType"><xsd:sequence><xsd:element maxOccurs="unbounded" minOccurs="0" ref="tns:BalanceInfoRow" />
</xsd:sequence>
</xsd:complexType>
<xsd:element name="BalanceInfoRow"><xsd:complexType><xsd:sequence><xsd:element maxOccurs="1" minOccurs="1" name="CQ_UNITS" nillable="true" type="xsd:decimal" />
<xsd:element maxOccurs="1" minOccurs="1" name="CQ_UNIT_VAL" nillable="true" type="xsd:decimal" />
<xsd:element maxOccurs="1" minOccurs="1" name="CQ_INV_VAL" nillable="true" type="xsd:decimal" />
<xsd:element maxOccurs="1" minOccurs="1" name="AD_DIV_NAME" nillable="true" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="TransactionHistoryRowSetType"><xsd:sequence><xsd:element maxOccurs="unbounded" minOccurs="0" ref="tns:TransactionHistoryRow" />
</xsd:sequence>
</xsd:complexType>
<xsd:element name="TransactionHistoryRow"><xsd:complexType><xsd:sequence><xsd:element maxOccurs="1" minOccurs="1" name="TXN_DATE" nillable="true" type="xsd:string" />
<xsd:element maxOccurs="1" minOccurs="1" name="PY_TXN_TYPE_DESC" nillable="true" type="xsd:string" />
<xsd:element maxOccurs="1" minOccurs="1" name="TD_TXN_DET_AMT" nillable="true" type="xsd:decimal" />
<xsd:element maxOccurs="1" minOccurs="1" name="TD_INT_RATE" nillable="true" type="xsd:decimal" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="InvestmentContractResults" type="tns:InvestmentContractResultsType" />
<xsd:complexType name="InvestmentContractResultsType"><xsd:sequence><xsd:element maxOccurs="1" minOccurs="0" name="OwnerInfo" type="tns:OwnerInfoType" />
<xsd:element maxOccurs="1" minOccurs="0" name="ContractInfo" type="tns:ContractInfoType" />
<xsd:element maxOccurs="1" minOccurs="0" name="DeathBenefits" type="tns:DeathBenefitsType" />
<xsd:element maxOccurs="1" minOccurs="0" name="BalanceInfo" type="tns:BalanceInfoRowSetType" />
<xsd:element maxOccurs="1" minOccurs="0" name="TransactionHistory" type="tns:TransactionHistoryRowSetType" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="MultiInvestmentContractRowSetType"><xsd:sequence><xsd:element maxOccurs="unbounded" minOccurs="0" ref="tns:InvestmentContractResultsRow" />
</xsd:sequence>
</xsd:complexType>
<xsd:element name="InvestmentContractResultsRow"><xsd:complexType><xsd:sequence><xsd:element maxOccurs="1" minOccurs="0" name="OwnerInfo" type="tns:OwnerInfoType" />
<xsd:element maxOccurs="1" minOccurs="0" name="ContractInfo" type="tns:ContractInfoType" />
<xsd:element maxOccurs="1" minOccurs="0" name="DeathBenefits" type="tns:DeathBenefitsType" />
<xsd:element maxOccurs="1" minOccurs="0" name="BalanceInfo" type="tns:BalanceInfoRowSetType" />
<xsd:element maxOccurs="1" minOccurs="0" name="TransactionHistory" type="tns:TransactionHistoryRowSetType" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="InvContractInfoWS/sql_GetOwnerInfo/sql_GetOwnerInfoInputs" targetNamespace="InvContractInfoWS/sql_GetOwnerInfo/sql_GetOwnerInfoInputs"><xsd:element name="sql_GetOwnerInfoInputs"><xsd:complexType><xsd:sequence><xsd:element ref="tns:CONTRACT_NUM" minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="CONTRACT_NUM" type="xsd:string" />
</xsd:schema>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="InvContractInfoWS/sql_getContractInfo/sql_getContractInfoInputs" targetNamespace="InvContractInfoWS/sql_getContractInfo/sql_getContractInfoInputs"><xsd:element name="sql_getContractInfoInputs"><xsd:complexType><xsd:sequence><xsd:element ref="tns:CONTRACT_NUM" minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="CONTRACT_NUM" type="xsd:string" />
</xsd:schema>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="InvContractInfoWS/sql_getDeathBenefits/sql_getDeathBenefitsInputs" targetNamespace="InvContractInfoWS/sql_getDeathBenefits/sql_getDeathBenefitsInputs"><xsd:element name="sql_getDeathBenefitsInputs"><xsd:complexType><xsd:sequence><xsd:element ref="tns:CONTRACT_NUM" minOccurs="1" maxOccurs="1" />
<xsd:element ref="tns:VAL_DATE" minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="CONTRACT_NUM" type="xsd:string" />
<xsd:element name="VAL_DATE" type="xsd:string" />
</xsd:schema>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cns="http://Services/Investment_Services/sql_getLastValidDate" targetNamespace="http://Services/Investment_Services/sql_getLastValidDate" elementFormDefault="qualified" attributeFormDefault="unqualified"><xsd:annotation><xsd:documentation xml:lang="en">Schema automatically generated on "Tuesday, December 7, 2010 2:56:31 PM VET" from the content of XML Variable "getSchema_TransformXml"</xsd:documentation>
</xsd:annotation>
<xsd:element name="RowSet" type="cns:RowSetType" />
<xsd:complexType name="RowSetType"><xsd:sequence><xsd:element ref="cns:Row" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
<xsd:element name="Row"><xsd:complexType><xsd:sequence><xsd:element name="CV_VALDATE" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://generatedschema.bowstreet.com/InvContractInfoWS/GetLastValidDateInputSchema" targetNamespace="http://generatedschema.bowstreet.com/InvContractInfoWS/GetLastValidDateInputSchema"><xsd:element name="arguments"><xsd:complexType><xsd:sequence><xsd:element name="CONTRACT_NUM" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cns="http://Services/Investment_Services/sql_getProductType" targetNamespace="http://Services/Investment_Services/sql_getProductType" elementFormDefault="qualified" attributeFormDefault="unqualified"><xsd:annotation><xsd:documentation xml:lang="en">Schema automatically generated on "Monday, December 6, 2010 4:38:48 PM VET" from the content of XML Variable "getSchema_TransformXml"</xsd:documentation>
</xsd:annotation>
<xsd:element name="RowSet" type="cns:RowSetType" />
<xsd:complexType name="RowSetType"><xsd:sequence><xsd:element ref="cns:Row" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
<xsd:element name="Row"><xsd:complexType><xsd:sequence><xsd:element name="PROD_TYPE" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="InvContractInfoWS/sql_getProductType/sql_getProductTypeInputs" targetNamespace="InvContractInfoWS/sql_getProductType/sql_getProductTypeInputs"><xsd:element name="sql_getProductTypeInputs"><xsd:complexType><xsd:sequence><xsd:element ref="tns:CONTARCT_NUM" minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="CONTARCT_NUM" type="xsd:string" />
</xsd:schema>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="InvContractInfoWS/sql_getBalanceVariantInfo/sql_getBalanceVariantInfoInputs" targetNamespace="InvContractInfoWS/sql_getBalanceVariantInfo/sql_getBalanceVariantInfoInputs"><xsd:element name="sql_getBalanceVariantInfoInputs"><xsd:complexType><xsd:sequence><xsd:element ref="tns:CONTRACT_NUM" minOccurs="1" maxOccurs="1" />
<xsd:element ref="tns:VAL_DATE" minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="CONTRACT_NUM" type="xsd:string" />
<xsd:element name="VAL_DATE" type="xsd:string" />
</xsd:schema>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="InvContractInfoWS/sql_getBalanceNonVariantInfo/sql_getBalanceNonVariantInfoInputs" targetNamespace="InvContractInfoWS/sql_getBalanceNonVariantInfo/sql_getBalanceNonVariantInfoInputs"><xsd:element name="sql_getBalanceNonVariantInfoInputs"><xsd:complexType><xsd:sequence><xsd:element ref="tns:CONTRACT_NUM" minOccurs="1" maxOccurs="1" />
<xsd:element ref="tns:VAL_DATE" minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="CONTRACT_NUM" type="xsd:string" />
<xsd:element name="VAL_DATE" type="xsd:string" />
</xsd:schema>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="InvContractInfoWS/sql_getTransHistVariant/sql_getTransHistVariantInputs" targetNamespace="InvContractInfoWS/sql_getTransHistVariant/sql_getTransHistVariantInputs"><xsd:element name="sql_getTransHistVariantInputs"><xsd:complexType><xsd:sequence><xsd:element ref="tns:CONTRACT_NUM" minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="CONTRACT_NUM" type="xsd:string" />
</xsd:schema>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="InvContractInfoWS/sql_getTransHistNonVariant/sql_getTransHistNonVariantInputs" targetNamespace="InvContractInfoWS/sql_getTransHistNonVariant/sql_getTransHistNonVariantInputs"><xsd:element name="sql_getTransHistNonVariantInputs"><xsd:complexType><xsd:sequence><xsd:element ref="tns:CONTRACT_NUM" minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="CONTRACT_NUM" type="xsd:string" />
</xsd:schema>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cns="http://Services/Investment_Services/sql_getProdList" targetNamespace="http://Services/Investment_Services/sql_getProdList" elementFormDefault="qualified" attributeFormDefault="unqualified"><xsd:annotation><xsd:documentation xml:lang="en">Schema automatically generated on "Monday, December 6, 2010 4:57:00 PM VET" from the content of XML Variable "getSchema_TransformXml"</xsd:documentation>
</xsd:annotation>
<xsd:element name="RowSet" type="cns:RowSetType" />
<xsd:complexType name="RowSetType"><xsd:sequence><xsd:element ref="cns:Row" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
<xsd:element name="Row"><xsd:complexType><xsd:sequence><xsd:element name="POL_TYPE_VAL" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true" />
<xsd:element name="POL_TYPE_ID" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="InvContractInfoWS/Inv_/InvContractInfoWSGetProductListReservedMethodDispatcher" targetNamespace="InvContractInfoWS/Inv_/InvContractInfoWSGetProductListReservedMethodDispatcher"><xsd:element name="reservedMethodDispatcher" type="xsd:string" />
</xsd:schema>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://generatedschema.bowstreet.com/InvContractInfoWS/GetAllContractDataInputSchema" targetNamespace="http://generatedschema.bowstreet.com/InvContractInfoWS/GetAllContractDataInputSchema"><xsd:element name="arguments"><xsd:complexType><xsd:sequence><xsd:element name="CONTRACT_NUM" type="xsd:string" />
<xsd:element name="VAL_DATE" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://generatedschema.bowstreet.com/InvContractInfoWS/GetAllContractDataOnLastValidDateInputSchema" targetNamespace="http://generatedschema.bowstreet.com/InvContractInfoWS/GetAllContractDataOnLastValidDateInputSchema"><xsd:element name="arguments"><xsd:complexType><xsd:sequence><xsd:element name="CONTRACT_NUM" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</wsdl:types>
<wsdl:message name="GetOwnerInfoResponse"><wsdl:part name="returnGetOwnerInfoResults" element="xsd1:OwnerInfo" />
</wsdl:message>
<wsdl:message name="GetOwnerInfoRequest"><wsdl:part name="sql_GetOwnerInfoInputs" element="xsd2:sql_GetOwnerInfoInputs"><wsdl:documentation>[no description supplied]</wsdl:documentation>
</wsdl:part>
</wsdl:message>
<wsdl:message name="GetContractInfoResponse"><wsdl:part name="returnGetContractInfoResults" element="xsd1:ContractInfo" />
</wsdl:message>
<wsdl:message name="GetContractInfoRequest"><wsdl:part name="sql_getContractInfoInputs" element="xsd3:sql_getContractInfoInputs"><wsdl:documentation>[no description supplied]</wsdl:documentation>
</wsdl:part>
</wsdl:message>
<wsdl:message name="GetDeathBenefitsResponse"><wsdl:part name="returnGetDeathBenefitsResults" element="xsd1:DeathBenefits" />
</wsdl:message>
<wsdl:message name="GetDeathBenefitsRequest"><wsdl:part name="sql_getDeathBenefitsInputs" element="xsd4:sql_getDeathBenefitsInputs"><wsdl:documentation>[no description supplied]</wsdl:documentation>
</wsdl:part>
</wsdl:message>
<wsdl:message name="GetLastValidDateResponse"><wsdl:part name="returnGetLastValidDateResults" element="xsd5:RowSet" />
</wsdl:message>
<wsdl:message name="GetLastValidDateRequest"><wsdl:part name="arguments" element="xsd6:arguments"><wsdl:documentation>[no description supplied]</wsdl:documentation>
</wsdl:part>
</wsdl:message>
<wsdl:message name="GetProductTypeResponse"><wsdl:part name="returnGetProductTypeResults" element="xsd7:RowSet" />
</wsdl:message>
<wsdl:message name="GetProductTypeRequest"><wsdl:part name="sql_getProductTypeInputs" element="xsd8:sql_getProductTypeInputs"><wsdl:documentation>[no description supplied]</wsdl:documentation>
</wsdl:part>
</wsdl:message>
<wsdl:message name="GetVariantBalanceResponse"><wsdl:part name="returnGetVariantBalanceResults" element="xsd1:BalanceInfo" />
</wsdl:message>
<wsdl:message name="GetVariantBalanceRequest"><wsdl:part name="sql_getBalanceVariantInfoInputs" element="xsd9:sql_getBalanceVariantInfoInputs"><wsdl:documentation>[no description supplied]</wsdl:documentation>
</wsdl:part>
</wsdl:message>
<wsdl:message name="GetNonVariantBalanceResponse"><wsdl:part name="returnGetNonVariantBalanceResults" element="xsd1:BalanceInfo" />
</wsdl:message>
<wsdl:message name="GetNonVariantBalanceRequest"><wsdl:part name="sql_getBalanceNonVariantInfoInputs" element="xsd10:sql_getBalanceNonVariantInfoInputs"><wsdl:documentation>[no description supplied]</wsdl:documentation>
</wsdl:part>
</wsdl:message>
<wsdl:message name="GetVariantTransactionHistoryResponse"><wsdl:part name="returnGetVariantTransactionHistoryResults" element="xsd1:TransactionHistory" />
</wsdl:message>
<wsdl:message name="GetVariantTransactionHistoryRequest"><wsdl:part name="sql_getTransHistVariantInputs" element="xsd11:sql_getTransHistVariantInputs"><wsdl:documentation>[no description supplied]</wsdl:documentation>
</wsdl:part>
</wsdl:message>
<wsdl:message name="GetNonVariantTransactionHistoryResponse"><wsdl:part name="returnGetNonVariantTransactionHistoryResults" element="xsd1:TransactionHistory" />
</wsdl:message>
<wsdl:message name="GetNonVariantTransactionHistoryRequest"><wsdl:part name="sql_getTransHistNonVariantInputs" element="xsd12:sql_getTransHistNonVariantInputs"><wsdl:documentation>[no description supplied]</wsdl:documentation>
</wsdl:part>
</wsdl:message>
<wsdl:message name="GetProductListResponse"><wsdl:part name="returnGetProductListResults" element="xsd13:RowSet" />
</wsdl:message>
<wsdl:message name="GetProductListRequest"><wsdl:part name="reservedMethodDispatcher" element="xsd14:reservedMethodDispatcher"><wsdl:documentation>This is a dummy XML input used to support document/literal SOAP encoding for services that have no inputs.</wsdl:documentation>
</wsdl:part>
</wsdl:message>
<wsdl:message name="GetAllContractDataResponse"><wsdl:part name="returnGetAllContractDataResults" element="xsd1:InvestmentContractResults" />
</wsdl:message>
<wsdl:message name="GetAllContractDataRequest"><wsdl:part name="arguments" element="xsd15:arguments"><wsdl:documentation>[no description supplied]</wsdl:documentation>
</wsdl:part>
</wsdl:message>
<wsdl:message name="GetAllContractDataOnLastValidDateResponse"><wsdl:part name="returnGetAllContractDataOnLastValidDateResults" element="xsd1:InvestmentContractResults" />
</wsdl:message>
<wsdl:message name="GetAllContractDataOnLastValidDateRequest"><wsdl:part name="arguments" element="xsd16:arguments"><wsdl:documentation>[no description supplied]</wsdl:documentation>
</wsdl:part>
</wsdl:message>
<wsdl:portType name="InvContractInfoWSDOCPortType"><wsdl:operation name="GetOwnerInfo"><wsdl:input message="tns:GetOwnerInfoRequest" name="GetOwnerInfoRequest" />
<wsdl:output message="tns:GetOwnerInfoResponse" name="GetOwnerInfoResponse" />
</wsdl:operation>
<wsdl:operation name="GetContractInfo"><wsdl:input message="tns:GetContractInfoRequest" name="GetContractInfoRequest" />
<wsdl:output message="tns:GetContractInfoResponse" name="GetContractInfoResponse" />
</wsdl:operation>
<wsdl:operation name="GetDeathBenefits"><wsdl:input message="tns:GetDeathBenefitsRequest" name="GetDeathBenefitsRequest" />
<wsdl:output message="tns:GetDeathBenefitsResponse" name="GetDeathBenefitsResponse" />
</wsdl:operation>
<wsdl:operation name="GetLastValidDate"><wsdl:input message="tns:GetLastValidDateRequest" name="GetLastValidDateRequest" />
<wsdl:output message="tns:GetLastValidDateResponse" name="GetLastValidDateResponse" />
</wsdl:operation>
<wsdl:operation name="GetProductType"><wsdl:input message="tns:GetProductTypeRequest" name="GetProductTypeRequest" />
<wsdl:output message="tns:GetProductTypeResponse" name="GetProductTypeResponse" />
</wsdl:operation>
<wsdl:operation name="GetVariantBalance"><wsdl:input message="tns:GetVariantBalanceRequest" name="GetVariantBalanceRequest" />
<wsdl:output message="tns:GetVariantBalanceResponse" name="GetVariantBalanceResponse" />
</wsdl:operation>
<wsdl:operation name="GetNonVariantBalance"><wsdl:input message="tns:GetNonVariantBalanceRequest" name="GetNonVariantBalanceRequest" />
<wsdl:output message="tns:GetNonVariantBalanceResponse" name="GetNonVariantBalanceResponse" />
</wsdl:operation>
<wsdl:operation name="GetVariantTransactionHistory"><wsdl:input message="tns:GetVariantTransactionHistoryRequest" name="GetVariantTransactionHistoryRequest" />
<wsdl:output message="tns:GetVariantTransactionHistoryResponse" name="GetVariantTransactionHistoryResponse" />
</wsdl:operation>
<wsdl:operation name="GetNonVariantTransactionHistory"><wsdl:input message="tns:GetNonVariantTransactionHistoryRequest" name="GetNonVariantTransactionHistoryRequest" />
<wsdl:output message="tns:GetNonVariantTransactionHistoryResponse" name="GetNonVariantTransactionHistoryResponse" />
</wsdl:operation>
<wsdl:operation name="GetProductList"><wsdl:input message="tns:GetProductListRequest" name="GetProductListRequest" />
<wsdl:output message="tns:GetProductListResponse" name="GetProductListResponse" />
</wsdl:operation>
<wsdl:operation name="GetAllContractData"><wsdl:input message="tns:GetAllContractDataRequest" name="GetAllContractDataRequest" />
<wsdl:output message="tns:GetAllContractDataResponse" name="GetAllContractDataResponse" />
</wsdl:operation>
<wsdl:operation name="GetAllContractDataOnLastValidDate"><wsdl:input message="tns:GetAllContractDataOnLastValidDateRequest" name="GetAllContractDataOnLastValidDateRequest" />
<wsdl:output message="tns:GetAllContractDataOnLastValidDateResponse" name="GetAllContractDataOnLastValidDateResponse" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="InvContractInfoWSDOCBinding" type="tns:InvContractInfoWSDOCPortType"><soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="GetOwnerInfo"><soap:operation soapAction="" style="document" />
<wsdl:input><soap:body use="literal" />
</wsdl:input>
<wsdl:output><soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetContractInfo"><soap:operation soapAction="" style="document" />
<wsdl:input><soap:body use="literal" />
</wsdl:input>
<wsdl:output><soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetDeathBenefits"><soap:operation soapAction="" style="document" />
<wsdl:input><soap:body use="literal" />
</wsdl:input>
<wsdl:output><soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetLastValidDate"><soap:operation soapAction="" style="document" />
<wsdl:input><soap:body use="literal" />
</wsdl:input>
<wsdl:output><soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetProductType"><soap:operation soapAction="" style="document" />
<wsdl:input><soap:body use="literal" />
</wsdl:input>
<wsdl:output><soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetVariantBalance"><soap:operation soapAction="" style="document" />
<wsdl:input><soap:body use="literal" />
</wsdl:input>
<wsdl:output><soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetNonVariantBalance"><soap:operation soapAction="" style="document" />
<wsdl:input><soap:body use="literal" />
</wsdl:input>
<wsdl:output><soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetVariantTransactionHistory"><soap:operation soapAction="" style="document" />
<wsdl:input><soap:body use="literal" />
</wsdl:input>
<wsdl:output><soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetNonVariantTransactionHistory"><soap:operation soapAction="" style="document" />
<wsdl:input><soap:body use="literal" />
</wsdl:input>
<wsdl:output><soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetProductList"><soap:operation soapAction="" style="document" />
<wsdl:input><soap:body use="literal" />
</wsdl:input>
<wsdl:output><soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetAllContractData"><soap:operation soapAction="" style="document" />
<wsdl:input><soap:body use="literal" />
</wsdl:input>
<wsdl:output><soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetAllContractDataOnLastValidDate"><soap:operation soapAction="" style="document" />
<wsdl:input><soap:body use="literal" />
</wsdl:input>
<wsdl:output><soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="InvContractInfoWS"><wsdl:port name="InvContractInfoWSSOAPDocument" binding="tns:InvContractInfoWSDOCBinding"><soap:address location="http://vmwprocsrvt:9081/UnivInvContractWS/servlet/AxisServlet" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
For reference this web service was created in WebSphere Portlet Factory.
This WSDL is not valid. At the very least:
File Untitled8.wsdl is not valid.
File Untitled8.wsdl is not valid.
attribute 'element' in message part 'returnGetOwnerInfoResults'
(message 'GetOwnerInfoResponse')
refers to element 'xsd1:OwnerInfo'
which is not defined within the WSDL
file!
Error location: wsdl:definitions / wsdl:message /
wsdl:part / #element
This refers to
<wsdl:message name="GetOwnerInfoResponse">
<wsdl:part name="returnGetOwnerInfoResults" element="xsd1:OwnerInfo"/>
</wsdl:message>