Linux论坛's Archiver

诚招版主,请发站内短消息至linuxpk申请

wlstef2002 发表于 2009-12-23 13:49

<<<<<求助>>>>> 大家都来帮忙看下 怎么解决

大家看下,我用linux做一台通讯转换前置,连接web地址,执行build.sh这个指令时候,报错如下,麻烦大家帮我看看是什么意思 哪里出的错 谢谢了!(另外,前置里只有wsdl2h这个解析工具)


[root@mispos test1]# ./build.sh
: command not found

**  The gSOAP WSDL parser for C and C++ 1.2.13
**  Copyright (C) 2000-2009 Robert van Engelen, Genivia Inc.
**  All Rights Reserved. This product is provided "as is", without any warranty.
**  The gSOAP WSDL parser is released under one of the following two licenses:
**  GPL or the commercial license by Genivia Inc. Use option -l for more info.

Saving net1.h

Cannot open file 'typemap.dat'
Problem reading type map file 'typemap.dat'.
Using internal type definitions for C instead.


' to retrieve WSDL/XSD... connected, receiving... WebSrv.dll/wsdl/IHsCRMWebSrv
An error occurred while parsing WSDL or XSD from 'http://172.**.100.135/bankpos/
'sCRMWebSrv.dll/wsdl/IHsCRMWebSrv
Error 3 fault: SOAP-ENV:Client [no subcode]
"Validation constraint violation: tag name or namespace mismatch in element <h1>
"
Detail: [no detail]
HTTP/1.1 400 Bad Request
Content-Type: text/html
Date: Mon, 21 Dec 2009 00:51:38 GMT
Connection: close
Content-Length: 20

<h1>
<!-- ** HERE ** -->
Bad Request</h1
: command not found
" for readingr: Cannot open file "net1.h

------------------------------------------------------------------------------------------------------------------------------------------------------
另附web地址内容
<?xml version="1.0" encoding="utf-8" ?>
- <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="IHsCRMWebSrvservice" targetNamespace="http://tempuri.org/" xmlns:tns="http://tempuri.org/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:ns1="urn:HsCRMWebSrvIntf">
- <types>
- <xs:schema targetNamespace="urn:HsCRMWebSrvIntf" xmlns="urn:HsCRMWebSrvIntf">
- <xs:complexType name="TReturnInfo">
- <xs:sequence>
  <xs:element name="RtnMsg" type="xs:string" />
  <xs:element name="OutputPara" type="xs:string" />
  <xs:element name="ReturnCode" type="xs:int" />
  </xs:sequence>
  </xs:complexType>
  </xs:schema>
  </types>
- <message name="IWsPosCommOperate0Request">
  <part name="piFunctionCode" type="xs:int" />
  <part name="psInputPara" type="xs:string" />
  </message>
- <message name="IWsPosCommOperate0Response">
  <part name="return" type="ns1:TReturnInfo" />
  </message>
- <portType name="IHsCRMWebSrv">
- <operation name="IWsPosCommOperate">
  <input message="tns:IWsPosCommOperate0Request" />
  <output message="tns:IWsPosCommOperate0Response" />
  </operation>
  </portType>
- <binding name="IHsCRMWebSrvbinding" type="tns:IHsCRMWebSrv">
  <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
- <operation name="IWsPosCommOperate">
  <soap:operation soapAction="urn:HsCRMWebSrvIntf-IHsCRMWebSrv#IWsPosCommOperate" style="rpc" />
- <input message="tns:IWsPosCommOperate0Request">
  <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:HsCRMWebSrvIntf-IHsCRMWebSrv" />
  </input>
- <output message="tns:IWsPosCommOperate0Response">
  <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:HsCRMWebSrvIntf-IHsCRMWebSrv" />
  </output>
  </operation>
  </binding>
- <service name="IHsCRMWebSrvservice">
- <port name="IHsCRMWebSrvPort" binding="tns:IHsCRMWebSrvbinding">
  <soap:address location="http://***.***.**.***/******/HsCRMWebSrv.dll/soap/IHsCRMWebSrv" />
  </port>
  </service>
  </definitions>

cicro 发表于 2010-1-18 10:45

看不懂呀YC16YC

页: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.