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 <[EMAIL PROTECTED]> 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" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
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