新问题:PB的webservice proxy wizard无法识别SAP的WSDL怎么办?

nocry115 2016-08-12 09:40:41
对方用SAP系统生成的WSDL,已经保存为本地WSDL文件了,但PB9和PB11.5都识别不了!
1、PB9和PB11.5(32位winXP和64位Win7都测试了)识别不了SAP的WSDL,显示“is not valid WSDL file”!

PS:
①PB9和PB11.5的webservice proxy可以识别PB11.5生成的WSDL和网上一些常用的WSDL;
②PB11.5无论选不选.Net engine都一样结果;PB11.5的库无论搭配pbsoapclient115.pbd还是pbwsclient115.pbd都不好使!
2、用第三方工具WebserviceStudio证明这个WSDL的确是有效的:



...全文
1170 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
nocry115 2016-08-19
  • 打赏
  • 举报
回复
已经解决了 http://bbs.csdn.net/topics/392004890
nocry115 2016-08-12
  • 打赏
  • 举报
回复
<?xml version="1.0" encoding="UTF-8"?><wsdl:definitions name="SI_03AA6_YX2ERP_JHDGB" targetNamespace="http://www.shenhuagroup.com.cn/SD/SNZYXT" xmlns:p1="http://www.shenhuagroup.com.cn/SD/SNZYXT" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"><wsdl:documentation/><wsp:UsingPolicy wsdl:required="true"/><wsp:Policy wsu:Id="OP_SI_03AA6_YX2ERP_JHDGB"/><wsdl:types><xsd:schema targetNamespace="http://www.shenhuagroup.com.cn/SD/SNZYXT" xmlns="http://www.shenhuagroup.com.cn/SD/SNZYXT" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><xsd:element name="MT_03AA6_ERP2YX_JHDGB_Return" type="DT_03AA6_ERP2YX_JHDGB_RETURN"/><xsd:element name="MT_03AA6_YX2ERP_JHDGB" type="DT_03AA6_YX2ERP_JHDGB"/><xsd:complexType name="DT_03AA6_YX2ERP_JHDGB"><xsd:annotation><xsd:appinfo source="http://sap.com/xi/VersionID">0391eab15ddf11e6a7d900000076e6df</xsd:appinfo></xsd:annotation><xsd:sequence><xsd:element name="item" minOccurs="0" maxOccurs="unbounded"><xsd:complexType><xsd:sequence><xsd:element name="VBELN" type="xsd:string" minOccurs="0"/><xsd:element name="POSNR" type="xsd:string" minOccurs="0"/><xsd:element name="LFIMG" type="xsd:string" minOccurs="0"/><xsd:element name="WADAT" type="xsd:string" minOccurs="0"/><xsd:element name="WADAT_IST" type="xsd:string" minOccurs="0"/><xsd:element name="DATA01" type="xsd:string" minOccurs="0"/><xsd:element name="DATA02" type="xsd:string" minOccurs="0"/><xsd:element name="DATA03" type="xsd:string" minOccurs="0"/><xsd:element name="DATA04" type="xsd:string" minOccurs="0"/><xsd:element name="DATA05" type="xsd:string" minOccurs="0"/><xsd:element name="DATA06" type="xsd:string" minOccurs="0"/><xsd:element name="DATA07" type="xsd:string" minOccurs="0"/><xsd:element name="DATA08" type="xsd:string" minOccurs="0"/><xsd:element name="DATA09" type="xsd:string" minOccurs="0"/><xsd:element name="DATA10" type="xsd:string" minOccurs="0"/></xsd:sequence></xsd:complexType></xsd:element></xsd:sequence></xsd:complexType><xsd:complexType name="DT_03AA6_ERP2YX_JHDGB_RETURN"><xsd:annotation><xsd:appinfo source="http://sap.com/xi/VersionID">be46a7c05dde11e6c6d900000076e6df</xsd:appinfo></xsd:annotation><xsd:sequence><xsd:element name="e_return" minOccurs="0" maxOccurs="unbounded"><xsd:annotation><xsd:appinfo source="http://sap.com/xi/TextID">be943c755dde11e6c933000000143522</xsd:appinfo></xsd:annotation><xsd:complexType><xsd:sequence><xsd:element name="E_STATU" type="xsd:string"><xsd:annotation><xsd:appinfo source="http://sap.com/xi/TextID">be943c735dde11e69f5e000000143522</xsd:appinfo></xsd:annotation></xsd:element><xsd:element name="E_MESSAGE" type="xsd:string" minOccurs="0"><xsd:annotation><xsd:appinfo source="http://sap.com/xi/TextID">be943c745dde11e6c883000000143522</xsd:appinfo></xsd:annotation></xsd:element></xsd:sequence></xsd:complexType></xsd:element></xsd:sequence></xsd:complexType></xsd:schema></wsdl:types><wsdl:message name="MT_03AA6_YX2ERP_JHDGB"><wsdl:documentation/><wsdl:part name="MT_03AA6_YX2ERP_JHDGB" element="p1:MT_03AA6_YX2ERP_JHDGB"/></wsdl:message><wsdl:message name="MT_03AA6_ERP2YX_JHDGB_Return"><wsdl:documentation/><wsdl:part name="MT_03AA6_ERP2YX_JHDGB_Return" element="p1:MT_03AA6_ERP2YX_JHDGB_Return"/></wsdl:message><wsdl:portType name="SI_03AA6_YX2ERP_JHDGB"><wsdl:documentation/><wsdl:operation name="SI_03AA6_YX2ERP_JHDGB"><wsdl:documentation/><wsp:Policy><wsp:PolicyReference URI="#OP_SI_03AA6_YX2ERP_JHDGB"/></wsp:Policy><wsdl:input message="p1:MT_03AA6_YX2ERP_JHDGB"/><wsdl:output message="p1:MT_03AA6_ERP2YX_JHDGB_Return"/></wsdl:operation></wsdl:portType><wsdl:binding name="SI_03AA6_YX2ERP_JHDGBBinding" type="p1:SI_03AA6_YX2ERP_JHDGB"><soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/><wsdl:operation name="SI_03AA6_YX2ERP_JHDGB"><soap:operation soapAction="http://sap.com/xi/WebService/soap1.1" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/><wsdl:input><soap:body use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/></wsdl:input><wsdl:output><soap:body use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/></wsdl:output></wsdl:operation></wsdl:binding><wsdl:service name="SI_03AA6_YX2ERP_JHDGBService"><wsdl:port name="HTTP_Port" binding="p1:SI_03AA6_YX2ERP_JHDGBBinding"><soap:address location="http://shpidci.sh217.com:50000/XISOAPAdapter/MessageServlet?senderParty=&senderService=BS_SNZYXT_DEV&receiverParty=&receiverService=&interface=SI_03AA6_YX2ERP_JHDGB&interfaceNamespace=http%3A%2F%2Fwww.shenhuagroup.com.cn%2FSD%2FSNZYXT" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/></wsdl:port><wsdl:port name="HTTPS_Port" binding="p1:SI_03AA6_YX2ERP_JHDGBBinding"><soap:address location="https://shpidci.sh217.com:50001/XISOAPAdapter/MessageServlet?senderParty=&senderService=BS_SNZYXT_DEV&receiverParty=&receiverService=&interface=SI_03AA6_YX2ERP_JHDGB&interfaceNamespace=http%3A%2F%2Fwww.shenhuagroup.com.cn%2FSD%2FSNZYXT" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/></wsdl:port></wsdl:service></wsdl:definitions>

662

社区成员

发帖
与我相关
我的任务
社区描述
PowerBuilder Web 应用
社区管理员
  • Web 应用社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧