Hi,

Thanks for your response.  

> 
> The Muse runtime uses SOAP 1.2 for envelope and fault 
> elements. You are right, the WSDL/SOAP binding namespace 
> changed from 1.1 to 1.2, so we should upgrade the sample 
> WSDLs and WSDL2Java to use the 1.2 binding namespace.

Is there any specific motivation for using SOAP 1.2 ? That requirement
breaks WS-I BP compliance. Axis 2 supports both SOAP 1.1 and 1.2, so is
there a way for Muse to use 1.1 rather than 1.2 ? 

Thanks.
Rachana


> 
> Dan
> 
> 
> 
> "Rachana Ananthakrishnan" <[EMAIL PROTECTED]> wrote on 03/17/2007
> 12:05:41 AM:
> 
> > Hi,
> > 
> > Thanks for the response. 
> > 
> > So is the wsdl2java tool restricted to processing only WSRF latest 
> > specification and SOAP 1.2 ? I understand that Axis 2 supports SOAP 
> > 1.1
> and
> > 1.2. Does the Muse layer introduce a restriction of SOAP 1.2 ?
> > 
> > The effort here is to see if the Muse tools work with WSDLs 
> compliant
> with
> > WS-I Basic Profile, that amongst other things requires 
> doc/literal mode.
> > There should only be one message parts in this WSDL, but also the
> bindings
> > are SOAP 1.1 bindings. If you can go over it and figure out what 
> > aspect
> of
> > the WSDL is triggering this issue, it would be most useful.
> > 
> > Thanks much,
> > Rachana
> > 
> > > -----Original Message-----
> > > From: Andrew Eberbach [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, March 16, 2007 6:04 PM
> > > To: [email protected]
> > > Subject: Re: Wsdl2java tool
> > > 
> > > Hi,
> > > 
> > > I tried your WSDLs on Muse 2.2 and the null pointer exception was 
> > > gone.
> > > However, as you guessed correctly, the messages don't 
> conform to our 
> > > expected inputs. I will work on creating your project using the 
> > > WSDLs from our collection. However, my initial instinct 
> is to think 
> > > that there is simply a problem with the message references. The 
> > > NotDocLiteral error that I'm getting happens if the number of 
> > > message parts does not equal 1.
> > > Usually this ends up being it equals 0. I'll see what the 
> problem is 
> > > over the weekend and let you know Monday.
> > > 
> > > Thanks,
> > > Andrew
> > > 
> > > Andrew Eberbach
> > > Autonomic Computing
> > > (919) 254-2645
> > > T/L: 444-2645
> > > [EMAIL PROTECTED]
> > > 
> > > 
> > > 
> > > Daniel Jemiolo/Durham/[EMAIL PROTECTED]
> > > 03/16/2007 06:50 PM
> > > Please respond to
> > > [email protected]
> > > 
> > > 
> > > To
> > > [email protected]
> > > cc
> > > 
> > > Subject
> > > Re: Wsdl2java tool
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > It would be worth the effort for us to go through and 
> figure out the 
> > > NPE, because that shouldn't happen regardless of what 
> specs you're 
> > > using; however, Muse only supports the ratified versions of WSRF, 
> > > WSN, etc., so it won't generate code as documented unless you use 
> > > those versions of the spec. All of the samples and 
> tutorial WSDL/XSD 
> > > files use these specs, so you can copy the correct XML from there.
> > > 
> > > Dan
> > > 
> > > 
> > > 
> > > "Rachana Ananthakrishnan" <[EMAIL PROTECTED]> wrote on 
> 03/16/2007
> > > 05:41:36 PM:
> > > 
> > > > I am trying to use wsdl2java on some WS-I Basic Profile
> > > compliant WSDLs
> > > that
> > > > we have and end up with NPE. It does use older version of WSRF 
> > > > specifications , SOAP 1.1 and doc/literal mode. Will that
> > > cause issues ? 
> > > 
> > > Any
> > > > ideas on what about the WSDL causes issues for the tool
> > > would be really
> > > > useful.
> > > > 
> > > > Attached is all the WSDLs and the error I see is:
> > > > 
> > > > C:\cygwin\home\ranantha\muse\CounterSrc>M:\bin\wsdl2java.bat
> > > >  -axis2 -wsdl 
> > > > C:\cygwin\home\ranantha\muse\Wsdls\counterForMuse\coun
> > > > ter_service.wsdl -verbose
> > > > java.lang.RuntimeException: java.lang.NullPointerException
> > > >         at
> > > > 
> > > 
> org.apache.muse.tools.inspector.ResourceInspector.run(ResourceInspec
> > > t
> > > > or.java:836)
> > > >         at
> > > > 
> > > 
> org.apache.muse.tools.generator.analyzer.SimpleAnalyzer.inspect(Simp
> > > l
> > > > eAnalyzer.java:392)
> > > >         at
> > > > 
> > > 
> org.apache.muse.tools.generator.analyzer.SimpleAnalyzer.analyze(Simp
> > > l
> > > > eAnalyzer.java:338)
> > > >         at
> > > org.apache.muse.tools.generator.Wsdl2Java.run(Wsdl2Java.java:143)
> > > >         at
> > > > 
> org.apache.muse.tools.generator.Wsdl2Java.main(Wsdl2Java.java:260)
> > > > Caused by: java.lang.NullPointerException
> > > >         at
> > > com.ibm.wsdl.xml.WSDLReaderImpl.parseImport(Unknown Source)
> > > >         at 
> > > > com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown
> > > Source)
> > > >         at 
> com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
> > > >         at 
> com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
> > > >         at
> > > > 
> > > 
> org.apache.muse.tools.inspector.ResourceInspector.run(ResourceInspec
> > > t
> > > > or.java:831)
> > > >         ... 4 more
> > > > 
> > > > SEVERE: [ID = 'CodeGenFailed'] Code generation failed, see
> > > the exception
> > > > informa
> > > > tion below.
> > > > 
> > > > An exception was caught: java.lang.NullPointerException
> > > > 
> > > > The exception generated the following stacktrace:
> > > > 
> > > > java.lang.RuntimeException: java.lang.NullPointerException
> > > >          at
> > > > 
> > > 
> org.apache.muse.tools.inspector.ResourceInspector.run(ResourceInspec
> > > t
> > > > or.java:836)
> > > >         at
> > > > 
> > > 
> org.apache.muse.tools.generator.analyzer.SimpleAnalyzer.inspect(Simp
> > > l
> > > > eAnalyzer.java:392)
> > > >         at
> > > > 
> > > 
> org.apache.muse.tools.generator.analyzer.SimpleAnalyzer.analyze(Simp
> > > l
> > > > eAnalyzer.java:338)
> > > >         at
> > > org.apache.muse.tools.generator.Wsdl2Java.run(Wsdl2Java.java:143)
> > > >         at
> > > > 
> org.apache.muse.tools.generator.Wsdl2Java.main(Wsdl2Java.java:260)
> > > > Caused by: java.lang.NullPointerException
> > > >         at
> > > com.ibm.wsdl.xml.WSDLReaderImpl.parseImport(Unknown Source)
> > > >         at 
> > > > com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown
> > > Source)
> > > >         at 
> com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
> > > >         at 
> com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
> > > >         at
> > > > 
> > > 
> org.apache.muse.tools.inspector.ResourceInspector.run(ResourceInspec
> > > t
> > > > or.java:831)
> > > >         ... 4 more
> > > > 
> > > > 
> > > > Thanks,
> > > > Rachana
> > > > [attachment "counterForMuse.tar.gz" deleted by Daniel
> > > Jemiolo/Durham/IBM]
> > > > 
> > > 
> --------------------------------------------------------------------
> > > -
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > 
> > > 
> --------------------------------------------------------------------
> > > - To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > 
> > > 
> > > 
> > > 
> > > 
> --------------------------------------------------------------------
> > > - To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > 
> > > 
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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

Reply via email to