Whew!!!! Thanks

-- dims

On 11/3/06, John Kaputin <[EMAIL PROTECTED]> wrote:
Dims,
there's an error in SimpleBindings.wsdl.  A missing hyphen.

      <import
namespace="urn:mycompany.com:web-services:porttypes:draft:10-2006"...

should be

      <import
namespace="urn:mycompany.com:web-services:port-types:draft:10-2006"...

regards,
John Kaputin.




             "Davanum
             Srinivas"
             <[EMAIL PROTECTED]                                          To
             m>                        [EMAIL PROTECTED],
             Sent by:                  "John Kaputin (gmail)"
             [EMAIL PROTECTED]         <[EMAIL PROTECTED]>
             hoogroups.com                                              cc
                                       "Axis developer list"
                                       <[email protected]>
             03/11/2006 00:53                                      Subject
                                       [jsr110-eg-disc] [WSDL4J]
                                       Complicated imports causing
             Please respond to         problems in WSDL4J 1.6.1
             [EMAIL PROTECTED]
               hoogroups.com













 Hi John/Folks,

 Can we get some help fixing this problem? We are getting bad
 information in a porttype which is deep inside imported wsdl (2 levels
 deep).

 JIRA Issue in Axis2:
 http://issues.apache.org/jira/browse/AXIS2-1556

 Zip file with WSDL/XSD:
 http://issues.apache.org/jira/secure/attachment/12344019/SimpleService.zip

 Code Snippet:

 import javax.wsdl.Definition;
 import javax.wsdl.Port;
 import javax.wsdl.Service;
 import javax.wsdl.factory.WSDLFactory;
 import javax.wsdl.xml.WSDLReader;
 public class TestImports {

 public static void main(String[] args) throws Exception {
 WSDLFactory wsdlFactory = WSDLFactory.newInstance();
 WSDLReader reader = wsdlFactory.newWSDLReader();
 reader.setFeature("javax.wsdl.importDocuments", true);
 reader.setFeature("javax.wsdl.verbose", true);
 Definition definition = reader.readWSDL(args[0]);
 Service service = (Service)
 definition.getServices().values().iterator().next();
 Port port = (Port) service.getPorts().values().iterator().next();
 System.out.println(port.getBinding().getPortType());
 }
 }

 Output on screen:
 PortType:
 
name={urn:mycompany.com:web-services:port-types:draft:10-2006}SimpleServicePortType
 Operation: name=createSimpleXXX
 Input: name=:none
 Output: name=:none

 Actual PortType snippet from WSDL:
 <portType name="SimpleServicePortType">
 <operation name="createSimpleXXX">
 <input message="tns:createSimpleXXXRequest"
 wsaddr:Action="urn:createSimpleXXX">
 </input>
 <output message="tns:createSimpleXXXResponse">
 </output>
 </operation>
 </portType>

 Thanks,
 dims

 --
 Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)


 __._,_.___
 Messages in this topic (1) Reply (via web post) | Start a new topic
 Messages | Files | Photos | Database | Members


 Change settings via the Web (Yahoo! ID required)
 Change settings via email: Switch delivery to Daily Digest | Switch format to
 Traditional
 Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

 Recent Activity
  2
 New Members
 Visit Your Group
 SPONSORED LINKS
       Computer telephony
       Portable computer
       Basic programming language
       C programming language
       Computer programming languages
 New business?


 Get new customers.


 List your web site


 in Yahoo! Search.


 Your Story


 Opened in the 2020


 The Yahoo! Time


 Capsule Project


 Yahoo! Groups


 Start a group


 in 3 easy steps.


 Connect with others.


 .




__,_._,___




--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to