You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2003/08/19 13:08:16 UTC

DO NOT REPLY [Bug 22548] New: - Axis invokes any Web Services with a wrong endpint URI

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22548>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22548

Axis invokes any Web Services with a wrong endpint URI

           Summary: Axis invokes any Web Services with a wrong endpint URI
           Product: Axis
           Version: current (nightly)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Basic Architecture
        AssignedTo: axis-dev@ws.apache.org
        ReportedBy: kimuratsy@nttdata.co.jp


The following snippet is a code of ws client which is not using wsdl.

<snippet>
  private String endpointURI     = "http://foo.com/HelloService";
  private String targetNamespace = "http://foo.com/HelloService";
  private String operationName   = "helloWorld";
  private String serviceName     = "HelloService";

  QName serviceQName = new QName(targetNamespace,serviceName);
  Service service = new Service(serviceQName);
  Call call = (Call)service.createCall();

  QName operationQName = new QName(targetNamespace,operationName);
  call.setOperationName(operationQName);
  call.setTargetEndpointAddress(endpointURI);
</snippet>

  Axis invokes Web Services, even though the client set any wrong
endpoint URIs like as below;
 - "http://foo.com/"
 - "http://foo.com/HelloServiceTest"
 - "http://foo.com/Test"
 - "http://foo.com/Abc"

-- 
Toshi <to...@apache.org>