axis需要另外培一个文件的,serviceName和PortName是配在那个里面的..

解决方案 »

  1.   

    在那里,我看官方文档里面有个JpetStore的例子,例子和官方文档上配置有点不太一样。
      

  2.   

    楼主有例子没,发给我一份:[email protected]
      

  3.   

    你在 accountService 中的public方法啊
      

  4.   

    你在 accountService 中的public方法啊?是指serviceName还是PortName?好我再查查JAX_RPC规范
      

  5.   

    程序出现如下错误:可是把WsdlDocumentUrl和namespaceUri去掉就不会出现错误可以通过(http://localhost/FileReception/services/urn:FileAttachmentsService?wsdl在游览器端访问)。
    但运行客户端程序时又说找不到url。
    Context initialization failed
    org.springframework.beans.factory.BeanCreationException: Error creating bean with 出
    name 'fileReception' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is javax.xml.rpc.ServiceException: Error processing WSDL document:  
    java.io.IOException: Server returned HTTP response code: 503 for URL: http://localhost/FileReception/services/urn:FileAttachmentsService?wsdl
    Caused by: 
    javax.xml.rpc.ServiceException: Error processing WSDL document:  
    java.io.IOException: Server returned HTTP response code: 503 for URL: http://localhost/FileReception/services/urn:FileAttachmentsService?wsdl
    at org.apache.axis.client.Service.initService(Service.java:250)
    at org.apache.axis.client.Service.<init>(Service.java:165)
      

  6.   

    看Spring的JpetStore例子上面的<bean id="accountWebService" >是在客户端的xml文件中配置的,但是http://www.jactiongroup.net/reference2/html/remoting.html 中的17.5.4中的Handler好象和17.5.2.中客户端访问WebService配置是同一个Bean即:accountWebService。如果配在客户端,这个Handler还有什么用?(我想要的是服务端的Handler验证)