java客户端生产wsdl时会出错。但delphi本身调用不会出错,php也可以调用

解决方案 »

  1.   

    在JAVA那将涉及到调用的 jar 拷贝到 lib 目录下再试
      

  2.   

    不行,出现这样的错:INFO  2012-03-26 14:32:27 -- 请求城市列表接口开始,address:http://61.154.14.22:8765/ws12580Appoint.dll/wsdl/Iws12580Appoint -- com.funo.wcity.app.appoint.service.CityService.findCityToBean1258(CityService.java:84)
    Exception in thread "main" AxisFault
     faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
     faultSubcode: 
     faultString: org.xml.sax.SAXException: Bad envelope tag:  definitions
     faultActor: 
     faultNode: 
     faultDetail: 
    {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException: Bad envelope tag:  definitions
      

  3.   

    楼主,你能和我讲讲php是怎么调用的delphi写的webservice的吗?