[jbosstools-issues] [JBoss JIRA] (JBIDE-11294) Error is thrown in error log when testing improper URL of Web Service with Web Service Tester

Brian Fitzpatrick (JIRA) jira-events at lists.jboss.org
Wed May 30 15:58:18 EDT 2012


    [ https://issues.jboss.org/browse/JBIDE-11294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697298#comment-12697298 ] 

Brian Fitzpatrick commented on JBIDE-11294:
-------------------------------------------

Ok... I did some more digging.

1) Using your steps, there is a difference in the soap address between the deployed version of the WSDL and the project-based version of the WSDL.

Deployed:
[code]
  <wsdl:service name="HelloWorldService">
    <wsdl:port name="HelloWorldPort" binding="tns:HelloWorldServiceSoapBinding">
      <soap:address location="http://localhost:8080/JBIDE-11294-29May/HelloWorld"/>
    </wsdl:port>
  </wsdl:service>
[/code]

Project-based:
[code]
  <wsdl:service name="HelloWorldService">
    <wsdl:port binding="tns:HelloWorldServiceSoapBinding" name="HelloWorldPort">
      <soap:address location="http://localhost:8080/JBIDE-11294-29May/HelloWorldService"/>
    </wsdl:port>
  </wsdl:service>
[/code]

Note that the local copy uses "HelloWorldService" at the tail end of the url vs. the deployed service, which uses just "HelloWorld".

2) Unlike your experiences with JBIDE-11707, I was able to update the local WSDL's soap address, re-select the port and operation, and invoke the WSDL successfully. 

3) But before that, I was getting the same message in the error log and the response body you saw. It couldn't find any service at the url specified. 

So... First, the generated WSDL needs tweaking, but that's coming from JBossWS and I really don't have any control over how that WSDL is generated. 

Second, I am able to get it to run with the modified soap address URL. 

I really don't know what to tell you. 
                
> Error is thrown in error log when testing improper URL of Web Service with Web Service Tester
> ---------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-11294
>                 URL: https://issues.jboss.org/browse/JBIDE-11294
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Webservices
>    Affects Versions: 3.3.0.Beta1
>            Reporter: Jaroslav Jankovič
>            Assignee: Brian Fitzpatrick
>             Fix For: 3.3.0.CR1
>
>         Attachments: jbide-11294.patch
>
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> In my opinion, if I want to test some web service with Web Service tester and provide some wsdl file with improper URL location, message in Response Body should be adequate. There is no need to throw error in error log.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the jbosstools-issues mailing list