axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramesh Gurunathan" <ramesh.gurunat...@gmail.com>
Subject Re: WSDL2Java: generates code with compile error
Date Sat, 18 Nov 2006 02:44:30 GMT
Hello Dims,

I dropped jalopy.jar in the classpath but still no effect. Do I need
to do anything more this? Please advice. Thanks

Ramesh


On 11/18/06, Davanum Srinivas <davanum@gmail.com> wrote:
> Please open a JIRA bug and upload your wsdl. If you drop jalopy jar in
> your classpath, the code is automatically beautified.
>
> -- dims
>
> On 11/17/06, Michael Moser <mmo@zurich.ibm.com> wrote:
> > And I get similar compile errors on code generated for the client:
> >
> > In the generated code for class ClassifiedServiceStub there are multiple
> > locations that read:
> > -----------------------
> > ...
> > //adding SOAP headers
> > _serviceClient.addHeadersToEnvelope(env); // <<< does not exist
> > ...
> > -----------------------
> >
> > I assume that should read "addHeader(env)" instead.
> >
> > Michael
> >
> >
> >
> > "Michael Moser" <mmo@zurich.ibm.com> wrote in message
> > news:ejkh04$g9p$1@sea.gmane.org...
> > > When running WSDL2Java I am getting two classes on which the compiler
> > > yells:
> > >
> > > ClassifiedServiceMessageReceiverInOnly.java line 296
> > > The method getNamespaceURI() is undefined for the type OMNamespace
> > >
> > > ClassifiedServiceMessageReceiverInOut.java line 343
> > > The method getNamespaceURI() is undefined for the type OMNamespace
> > >
> > > Both methods read (BTW: the code is *very* ugly formatted...):
> > >
> > > -----------------------
> > > ...
> > > /**
> > > * A utility method that copies the namepaces from the SOAPEnvelope
> > > */
> > > private java.util.Map
> > > getEnvelopeNamespaces(org.apache.axiom.soap.SOAPEnvelope env){
> > > java.util.Map returnMap = new java.util.HashMap();
> > > java.util.Iterator namespaceIterator = env.getAllDeclaredNamespaces();
> > > while (namespaceIterator.hasNext()) {
> > > org.apache.axiom.om.OMNamespace ns = (org.apache.axiom.om.OMNamespace)
> > > namespaceIterator.next();
> > > returnMap.put(ns.getPrefix(),ns.getNamespaceURI()); // <<<< unknown
> > > method
> > > }
> > > return returnMap;
> > > }
> > > ...
> > > -----------------------
> > >
> > > Michael
> > >
> > >
> > >
> > > "Davanum Srinivas" <davanum@gmail.com> wrote in message
> > > news:19e0530f0611151112x724ddb74r176cbf017d9b131f@mail.gmail.com...
> > >> Folks,
> > >>
> > >> Please chime in with your observations:
> > >>
> > >> - Is Axis2 1.1 working for you?
> > >> - Did you find a problem?
> > >> - Is it in JIRA? (What's the JIRA issue #)
> > >>
> > >> based on this feedback, depending on the issues/problems, the dev
> > >> team
> > >> can decide on whether to cut a quick 1.1.1 off the 1.1 branch and
> > >> what
> > >> that 1.1.1 should contain as fixes. Otherwise, onwards towards 1.2...
> > >>
> > >> Thanks,
> > >> dims
> > >>
> > >> --
> > >> Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service
> > >> Developers)
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
>
> --
> Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message