WST/ws_helper Unable to find the parser, namespace

74 views
Skip to first unread message

Gustavo Raffo

unread,
Aug 4, 2016, 8:28:46 AM8/4/16
to WST-LIST
Hi everybody, I have a problem to parser a wsdl file with base64Binary type.
Can you help with this ? 
I get the same error when use the Type Library editor or Import Wsdl file from IDE
 
C:\MRCD\5068wst\ws_helper>ws_helper -uA -gA -aC:\MRCD\SC\ c:\MRCD\SC\scshort.wsdl
ws_helper, Web Service Toolkit 0.6 Copyright (c) 2006-2014 by Inoussa OUEDRAOGO
Parsing the file : c:\MRCD\SC\scshort.wsdl
The parser is case sensitive
Information : Parsing the port type "SmartCameraPort"
Information : Parsing operation "getIdentifier"
Information : Parsing operation "getVersion"
Information : Parsing "typens:versionType" ...
Information : Parsing operation "getVersionDescription"
Error : Unable to find the parser, namespace : "http://schemas.xmlsoap.org/soap/encoding/". soapenc:base64Binary type
Exception : Unable to find the parser, namespace : "http://schemas.xmlsoap.org/soap/encoding/".


wsdl file:

<wsdl:definitions xmlns:typens="http://www.robot.de/SmartCamera" 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:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/" name="SmartCamera" targetNamespace="http://www.robot.de/SmartCamera">
        <types>
                <xsd:schema xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.robot.de/SmartCamera">
                        <!-- Current SOAP/XML interface version is 5.104 -->
                        <xsd:complexType name="versionType">
                                <xsd:sequence>
                                        <!-- major = 5 -->
                                        <xsd:element name="major" type="xsd:unsignedByte"/>
                                        <!-- minor = 104 -->
                                        <xsd:element name="minor" type="xsd:unsignedByte"/>
                                </xsd:sequence>
                        </xsd:complexType>
                </xsd:schema>
        </types>
        <message name="getIdentifier"/>
        <message name="getIdentifierResponse">
                <part name="identifier" type="xsd:string"/>
        </message>
        <message name="getVersion"/>
        <message name="getVersionResponse">
                <part name="version" type="typens:versionType"/>
        </message>
        <message name="getVersionDescription"/>
        <message name="getVersionDescriptionResponse">
                <part name="wsdl" type="soapenc:base64Binary"/>
        </message>
        <portType name="SmartCameraPort">
                <!-- Get unique system indifier -->
                <operation name="getIdentifier">
                        <input name="getIdentifier" message="typens:getIdentifier"/>
                        <output name="getIdentifierResponse" message="typens:getIdentifierResponse"/>
                </operation>
                <!-- Get version of SOAP interface -->
                <operation name="getVersion">
                        <input name="getVersion" message="typens:getVersion"/>
                        <output name="getVersionResponse" message="typens:getVersionResponse"/>
                </operation>
                <!-- Get version description of SOAP interface -->
                <operation name="getVersionDescription">
                        <input name="getVersionDescription" message="typens:getVersionDescription"/>
                        <output name="getVersionDescriptionResponse" message="typens:getVersionDescriptionResponse"/>
                </operation>
        </portType>
        <binding name="SmartCameraBinding" type="typens:SmartCameraPort">
                <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
                <operation name="getIdentifier">
                        <soap:operation soapAction="http://www.robot.de/SmartCamera"/>
                        <input name="getIdentifier">
                                <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://www.robot.de/SmartCamera"/>
                        </input>
                        <output name="getIdentifierResponse">
                                <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://www.robot.de/SmartCamera"/>
                        </output>
                </operation>
                <operation name="getVersion">
                        <soap:operation soapAction="http://www.robot.de/SmartCamera"/>
                        <input name="getVersion">
                                <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://www.robot.de/SmartCamera"/>
                        </input>
                        <output name="getVersionResponse">
                                <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://www.robot.de/SmartCamera"/>
                        </output>
                </operation>
                <operation name="getVersionDescription">
                        <soap:operation soapAction="http://www.robot.de/SmartCamera"/>
                        <input name="getVersionDescription">
                                <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://www.robot.de/SmartCamera"/>
                        </input>
                        <output name="getVersionDescriptionResponse">
                                <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://www.robot.de/SmartCamera"/>
                        </output>
                </operation>
        </binding>
        <service name="SmartCameraService">
                <port name="SmartCameraPort" binding="typens:SmartCameraBinding">
                        <soap:address location="http://173.225.12.150:9090/soap"/>
                </port>
        </service>
</wsdl:definitions>

thanks in advance. Gustavo
Reply all
Reply to author
Forward
0 new messages