Need Help Modifying jwsdp-1.1 Hello Tutorial

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gaz

    Need Help Modifying jwsdp-1.1 Hello Tutorial

    How do I modify the Hello example that comes with the JWSDP-1.1
    Tutorial so that it calls a different webservice (ie; an asp.net
    webservice) instead of the webservice I deploy as part of the Hello
    example? As the asp.net webservice is already deployed all I need to
    do is generate a stub for this webservice and slot it into the Hello
    example. Can someone please step through what needs to be done?? The
    tutorial says it can be done, but doesn't provide any code examples.

    thanks,
    Gaz.

    Info
    ----
    I change the <wsdl> element in the config.xml file to point to the my
    asp.net webservice?wsdl .

    Calling "ant generate-stubs" seems to work (though I'm not convinced
    it produces enough files compared to the unmodified Hello example) but
    "ant compile-client" fails. It can't find the interface definition or
    the interface implementation even though I only changed the wsdl
    location.

    The interface shouldn't need changing because the webservice function
    has the same parameters.
Working...