Is string[] supported in WSIF?
[email protected] Wed, 16 Feb 2005 16:21:30 +0100
| Newsgroups | gmane.comp.apache.webservices.wsif.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello:
First of all I must said that I am not a developer so perhaps my question
is something obvious but I
am not able to see the solution for this problem. I am triying to use
WSIF to attack a webservice but
I am getting this error
------------------------------------
java clients.DynamicInvoker file.wsdl operation1 123 123 123 123
Reading WSDL document from 'file.wsdl'
Preparing WSIF dynamic invocation
- WSIF0006W: Se han encontrado varios WSIFProvider que soportan el mismo
URI de
espacio de nombres 'http://schemas.xmlsoap.org/wsdl/soap/'. Se ha encontrado
('o
rg.apache.wsif.providers.soap.apacheaxis.WSIFDynamicProvider_ApacheAxis,
org.apa
che.wsif.providers.soap.apachesoap.WSIFDynamicProvider_ApacheSOAP')
- WSIF0007I: Utilizando WSIFProvider 'org.apache.wsif.providers.soap.apacheaxis.
WSIFDynamicProvider_ApacheAxis' para namespaceURI 'http://schemas.xmlsoap.org/ws
dl/soap/'
Exception in thread "main" java.lang.RuntimeException: part type {urn:webservice
s.hp.com}ArrayOf_xsd_string not supported in this sample
at clients.DynamicInvoker.retrieveSignature(Unknown Source)
at clients.DynamicInvoker.invokeMethod(Unknown Source)
at clients.DynamicInvoker.main(Unknown Source)
--------------------- File.wsdl ------------------------------------
<?xml version="1.0" encoding="utf-8" ?>
- <wsdl:definitions targetNamespace="urn:webservices.hp.com" xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="urn:webservices.hp.com"
xmlns:intf="urn:webservices.hp.com" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <wsdl:types>
- <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:webservices.hp.com">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
<element name="ArrayOf_xsd_string" nillable="true" type="impl:ArrayOf_xsd_string"
/>
- <complexType name="ArrayOf_xsd_string">
- <complexContent>
- <restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:string[]" />
</restriction>
</complexContent>
</complexType>
</schema>
.......
- <wsdl:message name="closeSessionRequest">
<wsdl:part name="gtmSID" type="xsd:string" />
<wsdl:part name="sequenceNumber" type="xsd:string" />
<wsdl:part name="backendID" type="xsd:string" />
<wsdl:part name="retryFlag" type="xsd:string" />
</wsdl:message>
..................
- <wsdl:operation name="operation1">
<wsdlsoap:operation soapAction="" />
- <wsdl:input name="closeSessionRequest">
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:webservices.hp.com" />
</wsdl:input>
- <wsdl:output name="closeSessionResponse">
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:webservices.hp.com" />
</wsdl:output>
</wsdl:operation>
.............
------------------------------------------
Is there a problem with String arrays in WSIF or simply I am making a
mistake when I use it?
Regards,
Mario.
San Valentín se acerca, encuentra pareja y disfruta del día de los enamorados.
Juega ahora a la máquina del amor en Tiscali Amor y Amistad y gana ¡7 días
gratis!
http://match.tiscali.es/match/shared/Valentines2005/SPEURO/TISCALIES/TISCALIES.htm