On 9/24/07, Anne Thomas Manes <[EMAIL PROTECTED]> wrote: > > Might I suggest that Axis2 should not return an NPE in this situation?
yes, it should throw a proper exception. I'll fix it. Anne > > On 9/24/07, Amila Suriarachchi <[EMAIL PROTECTED]> wrote: > > the names you have declared in operation fault and the > > <wsdl:fault > > message="secmsgns:MessagingNotEnabledForPartnerFault" > > name="MessagingNotEnabledForPartnerFault"/> > > > > and the binding fault element > > <wsdl:fault name="fault"> > > <soap:fault use="literal" name="fault" /> > > </wsdl:fault> > > > > is different this should be > > <wsdl:fault name="MessagingNotEnabledForPartnerFault"> > > <soap:fault use="literal" > > name="MessagingNotEnabledForPartnerFault" /> > > </wsdl:fault> > > > > Amila. > > > > > > On 9/22/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> > > wrote: > > > > > > > > > I have a fairly simple WSDL (attached) and am trying to run wsdltojava > > thusly: > > > > > > > > C:\Projects\SecureMessaging\trunk\wsdl>%AXIS2_HOME%\bin\wsdl2java.bat > > --server-side --service-description --serverside-interface -uri > > MessageService.wsdl --output .\ --package > com.fiserve.sourceone.messaging > > -databinding-method xmlbeans --unpack-classes > > > > > > However, this throws the following exception: > > > [ERROR] > > > java.lang.NullPointerException > > > at > > org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateBinding( > WSDL11ToAxisServiceBuilder.java:596) > > > at > > org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpoint > (WSDL11ToAxisServiceBuilder.java:422) > > > at > > > org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpoints( > WSDL11ToAxisServiceBuilder.java:377) > > > at > > org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService( > WSDL11ToAxisServiceBuilder.java:281) > > > at > > > org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateAllServices > (WSDL11ToAllAxisServicesBuilder.java:109) > > > at > > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>( > CodeGenerationEngine.java:141) > > > at > > org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35) > > > at > > org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24) > > > > > > > > > > > > > > > Any ideas on this? > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > -- > > Amila Suriarachchi, > > WSO2 Inc. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Amila Suriarachchi, WSO2 Inc.
