WSDL does not have type ifnormation

2008-06-11 Thread MrNobody

I am working with a web service which has a WSDL which contains no specific
information on the object types. For example, one of the web service calls
returns a list of objects with certain properties. However the WSDL is
completely anonymous. It does not specify that object's type nor it's
properties and their types. So when I generate XMLBeans and get a response I
can't just loop through them like POJOs, instead have to be treated as
abstract elements and nodes.

I am guessing the web service server needs to be regenerated with some kind
of option turned on to generate that type information. This web service was
generated through .NET. Does anyone know what options specifically I need to
ask the team responsible for this web service to turn on so I can get these
details in the WSDL? I have no experience with generating web services on
.NET...
-- 
View this message in context: 
http://www.nabble.com/WSDL-does-not-have-type-ifnormation-tp17781274p17781274.html
Sent from the Axis - User mailing list archive at Nabble.com.


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



Re: Axis2 and NTLM

2008-06-11 Thread MrNobody

What did you do to get it working ??


Natalia Ignatowicz wrote:
> 
> I finally got it working!
> Thanks a lot for your advices, Ajith!
> 
> Greetings,
> Natalia
> 
> 
>  Original-Nachricht 
>> Datum: Wed, 12 Mar 2008 16:00:07 -0400
>> Von: "Ajith Ranabahu" <[EMAIL PROTECTED]>
>> An: axis-user@ws.apache.org
>> Betreff: Re: Axis2 and NTLM
> 
>> Hi,
>> I am not an expert in this part of the API but here is what I
>> understand. Please see my comments inline.
>> 
>> On Wed, Mar 12, 2008 at 6:40 AM, Natalia Ignatowicz
>> <[EMAIL PROTECTED]> wrote:
>> > I've already found that page but it didn't help. Some parts of the code
>> are deprecated (HttpTransportProperties.NTLMAuthentication and
>> HTTPConstants.NTLM_Authentication don't exist in Axis2 1.3).
>> >
>> 
>> AFAIK if you are looking for NTLM on the server side then Axis2 would
>> have nothing to do with it (except for the case where Simple Axis
>> server is used. But I don't see why you would do that in production
>> anyway). Your container (say Tomcat) should be configured to handle
>> such things and Axis2 would not see it (nor would want to). For NTLM
>> on Tomcat you can use something like this
>> (http://jcifs.samba.org/src/docs/ntlmhttpauth.html)
>> 
>> 
>> >  Maybe I'm missing some basic points here. Is it even possible for an
>> Axis-Webservice to request NTLM-Auth? If yes, then how has the server to
>> be
>> configured? Or is NTLM only supported for Axis-Clients connecting to a
>> .NET-Webservice or something like that?
>> 
>> Basically the answer to this is yes. The NTLM support and
>> configuration mentioned in all Axis2-NTLM docs are for the client (see
>> my comment on top). Since the client is based on Commons HTTPClient
>> you might find some useful info here
>> (http://hc.apache.org/httpclient-3.x/authentication.html#NTLM)
>> 
>> HTH
>> 
>> Ajith
>> 
>> >
>> >  Greets,
>> >  Natalia
>> >
>> 
>> 
>> 
>> -- 
>> Ajith Ranabahu
>> 
>> Reading, after a certain age, diverts the mind too much from its
>> creative pursuits. Any man who reads too much and uses his own brain
>> too little falls into lazy habits of thinking - Albert Einstein
>> 
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> -- 
> Pt! Schon vom neuen GMX MultiMessenger gehört?
> Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Axis2-and-NTLM-tp15977716p17779482.html
Sent from the Axis - User mailing list archive at Nabble.com.


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



RE: help AxisFault error dont know how to debug

2007-12-07 Thread MrNobody

I am still waiting for the team responsible to get back to me the database,
but I am starting to have doubts it is really the cause of the problem I am
having in my code, because there is a windows application they provide (this
is a third party web service) and it can conenct to it fine...

I turned on DEBUG in logging and here is where the error happens: (does it
look like its actually reaching the web service or failing before it even
gets there?)

[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Checking pre-condition for Phase "Addressing"
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Invoking phase "Addressing"
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Invoking Handler 'AddressingBasedDispatcher' in Phase 'Addressing'
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Checking post-conditions for phase "Addressing"
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Checking pre-condition for Phase "Security"
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Invoking phase "Security"
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Checking post-conditions for phase "Security"
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Checking pre-condition for Phase "PreDispatch"
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Invoking phase "PreDispatch"
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Checking post-conditions for phase "PreDispatch"
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Checking pre-condition for Phase "Dispatch"
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Invoking phase "Dispatch"
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Invoking Handler 'RequestURIBasedDispatcher' in Phase 'Dispatch'
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Invoking Handler 'SOAPActionBasedDispatcher' in Phase 'Dispatch'
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Invoking Handler 'RequestURIOperationDispatcher' in Phase 'Dispatch'
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Invoking Handler 'SOAPMessageBodyBasedDispatcher' in Phase 'Dispatch'
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Invoking Handler 'HTTPLocationBasedDispatcher' in Phase 'Dispatch'
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Checking post-conditions for phase "Dispatch"
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Checking pre-condition for Phase "RMPhase"
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Invoking phase "RMPhase"
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Checking post-conditions for phase "RMPhase"
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Checking pre-condition for Phase "OperationInPhase"
org.apache.axis2.AxisFault: An uknown error occured processing this SOAP
request
at
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:486)
at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:343)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
at
com.pbg.roadnet.upslt.transportationwebservice.TransportationWebServiceStub.SaveRoute(TransportationWebServiceStub.java:5025)[DEBUG]
[MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699] Invoking
phase "OperationInPhase"
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Checking post-conditions for phase "OperationInPhase"
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Invoking flowComplete() in Phase "OperationInPhase"
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Invoking flowComplete() in Phase "RMPhase"
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Invoking flowComplete() in Phase "Dispatch"
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Invoking flowComplete() for Handler 'HTTPLocationBasedDispatcher' in Phase
'Dispatch'
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Invoking flowComplete() for Handler 'SOAPMessageBodyBasedDispatcher' in
Phase 'Dispatch'
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Invoking flowComplete() for Handler 'RequestURIOperationDispatcher' in Phase
'Dispatch'
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Invoking flowComplete() for Handler '

RE: help AxisFault error dont know how to debug

2007-12-07 Thread MrNobody



Ove Gram Nipen wrote:
> 
> 
> You could try to reach the WSDL document using your web browser, by
> pointing your browser to the web service endpoint and appending ?wsdl to
> the url. For instance, if the web service endpoint is
> http://somewhere.com/services/HelloService, you could try to reach
> http://somewhere.com/services/HelloService?wsdl. If this works, you at
> least know that the service is available. If it doesn't work, it doesn't
> really tell you anything. 
> 
> 
> 
> 
> 

Ah, this helped alot- it told me there is a database connection error it
looks like the web service has been updated just recently
-- 
View this message in context: 
http://www.nabble.com/help-AxisFault-error-dont-know-how-to-debug-tf4962850.html#a14215821
Sent from the Axis - User mailing list archive at Nabble.com.


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



help AxisFault error dont know how to debug

2007-12-07 Thread MrNobody

I am getting an AxisFault error like this:

org.apache.axis2.AxisFault: An uknown error occured processing this SOAP
request

when trying to make a WebService call

I tried searching for that string and there is nothing on the web. What does
this error mean? I do not even know where to begin in debugging this

what I did do is ping the server to confirm it is there but other than that,
I am lost
-- 
View this message in context: 
http://www.nabble.com/help-AxisFault-error-dont-know-how-to-debug-tf4962850.html#a14215123
Sent from the Axis - User mailing list archive at Nabble.com.


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