Re: Axis2 xmlbeans http transport error 302 found
Thanks Paul! Martin-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: "Paul Fremantle" <[EMAIL PROTECTED]> To: ; "Martin Gainty" <[EMAIL PROTECTED]> Sent: Monday, April 30, 2007 4:42 PM Subject: Re: Axis2 xmlbeans http transport error 302 found Martin I can't promise to keep answering Mule / XFire questions!!! But I happen to know this one: You need backport-util-concurrent-2.2.jar http://dcl.mathcs.emory.edu/util/backport-util-concurrent/ By the way, the reason that Mule recommends XFire for .NET interop is that Mule hasn't yet upgraded to Axis2 - they are still on Axis1 which isn't the most interoperable, especially with WCF .NET 3.0 and 3.5. If you want an extremely fast and highly interoperable ESB that supports Axis2 take a look at Apache Synapse: http://ws.apache.org/synapse Paul On 4/30/07, Martin Gainty <[EMAIL PROTECTED]> wrote: Paul et al- I went to the mule site /downloaded the code and ran the example for LoanConsumer as follows C:\Mule\mule-1.3.3\examples\ant\loanbroker\build\classes>java -classpath ;C:\Mu le\mule-1.3.3\examples\ant\loanbroker\build\classes;C:\Commons_Beanutils\commons -beanutils-1.7.0\commons-beanutils.jar;C:\commons-digester\commons-digester-1.8\ commons-digester-1.8.jar;C:\JDEVEL~1\jdev\lib\jdev\lib\ext\jmig.jar;C:\JDEVEL~1\ jdev\lib\jdev\lib\ext\des.jar;C:\JDEVEL~1\jdev\lib\jdev\lib\ext;C:\BEA\weblogic8 1\server\lib\wlclient.jar;C:\BEA\weblogic81\server\lib\wl-j2ee-client.jar;C:\BEA \weblogic81\samples\server\medrec\build\utils.jar;C:\AXIS\Axis-1_3\lib\saaj.jar; C:\Jars\jaxrpc.jar;C:\Jars\commons-discovery-0.2.jar;.;C:\commons-logging\common s-logging-1.0.4\commons-logging-api.jar;C:\hsqldb\old\hsqldbr\lib\hsqldb.jar;C:\ ANT\APACHE~1.5\lib\ant-junit.jar;C:\Junit\junit3.8.1\lib\junit.jar;C:\JAF\jaf-1. 0.2\activation.jar;C:\JavaMail\javamail-1.4ea\lib\mailapi.jar;C:\AXIS\Axis-1_3\l ib\axis.jar;C:\Jars\jakarta-tomcat-5.5.7\bin\jmx.jar;C:\Jars\jakarta-tomcat-5.5. 7\common\endorsed\xercesImpl.jar;C:\Jars\jakarta-tomcat-5.5.7\common\endorsed\xm l-apis.jar org.mule.samples.loanbroker.LoanConsumer * Welcome to the Mule Loan Broker example * Which SOAP stack would you like to use: [a]xis, [g]lue or [x]fire? x Would you like to run the [s]ynchronous or [a]synchronous version? s Loading Synchronous Loan Broker Exception in thread "main" java.lang.NoClassDefFoundError: edu/emory/mathcs/back port/java/util/concurrent/ArrayBlockingQueue where is edu.emory.mathcs.backport.java.util.concurrent.ArrayBlockingQueue.class Thx Martin-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: "Paul Fremantle" <[EMAIL PROTECTED]> To: Sent: Friday, April 27, 2007 4:35 AM Subject: Re: Axis2 xmlbeans http transport error 302 found Markus In general Axis2 is compatible with .NET and C#. The other option is to enable much more logging on the Java side and take a look at the logs. A log4j.properties like this should do the trick: log4j.logger.TRACE_LOGGER = TRACE_APPENDER log4j.appender.TRACE_APPENDER.File=logs/trace.log log4j.appender.TRACE_APPENDER.Append=true log4j.appender.TRACE_APPENDER.layout=org.apache.log4j.PatternLayout log4j.appender.TRACE_APPENDER.layout.ConversionPattern=[%X{ip}] [%X{host}] [%t] %-5p %C{1} - %m %n log4j.category.org.apache=DEBUG Paul On 4/27/07, Markus F. <[EMAIL PROTECTED]> wrote: > > Paul > > thanks for your engagement about this. > I'm sorry, the server is not available to public, you have to sign a > test > account contract (as we did) with the company providing the service. > > This is also why i didnot post my code. > I know that that will not ease the whole thing to solve. > The only thing available is the wsdl, as its public, you could generate > client code off from it, I don´t know if this would help, as long as you > want to fire off a request you have to have an account there. > Perhaps you see something in the generated code that would help finding > the > problem? > > As well it seems to me, that it might be a M$ C# incompatiblity with the > Java world, although web services should
Re: Axis2 xmlbeans http transport error 302 found
Martin I can't promise to keep answering Mule / XFire questions!!! But I happen to know this one: You need backport-util-concurrent-2.2.jar http://dcl.mathcs.emory.edu/util/backport-util-concurrent/ By the way, the reason that Mule recommends XFire for .NET interop is that Mule hasn't yet upgraded to Axis2 - they are still on Axis1 which isn't the most interoperable, especially with WCF .NET 3.0 and 3.5. If you want an extremely fast and highly interoperable ESB that supports Axis2 take a look at Apache Synapse: http://ws.apache.org/synapse Paul On 4/30/07, Martin Gainty <[EMAIL PROTECTED]> wrote: Paul et al- I went to the mule site /downloaded the code and ran the example for LoanConsumer as follows C:\Mule\mule-1.3.3\examples\ant\loanbroker\build\classes>java -classpath ;C:\Mu le\mule-1.3.3\examples\ant\loanbroker\build\classes;C:\Commons_Beanutils\commons -beanutils-1.7.0\commons-beanutils.jar;C:\commons-digester\commons-digester-1.8\ commons-digester-1.8.jar;C:\JDEVEL~1\jdev\lib\jdev\lib\ext\jmig.jar;C:\JDEVEL~1\ jdev\lib\jdev\lib\ext\des.jar;C:\JDEVEL~1\jdev\lib\jdev\lib\ext;C:\BEA\weblogic8 1\server\lib\wlclient.jar;C:\BEA\weblogic81\server\lib\wl-j2ee-client.jar;C:\BEA \weblogic81\samples\server\medrec\build\utils.jar;C:\AXIS\Axis-1_3\lib\saaj.jar; C:\Jars\jaxrpc.jar;C:\Jars\commons-discovery-0.2.jar;.;C:\commons-logging\common s-logging-1.0.4\commons-logging-api.jar;C:\hsqldb\old\hsqldbr\lib\hsqldb.jar;C:\ ANT\APACHE~1.5\lib\ant-junit.jar;C:\Junit\junit3.8.1\lib\junit.jar;C:\JAF\jaf-1. 0.2\activation.jar;C:\JavaMail\javamail-1.4ea\lib\mailapi.jar;C:\AXIS\Axis-1_3\l ib\axis.jar;C:\Jars\jakarta-tomcat-5.5.7\bin\jmx.jar;C:\Jars\jakarta-tomcat-5.5. 7\common\endorsed\xercesImpl.jar;C:\Jars\jakarta-tomcat-5.5.7\common\endorsed\xm l-apis.jar org.mule.samples.loanbroker.LoanConsumer * Welcome to the Mule Loan Broker example * Which SOAP stack would you like to use: [a]xis, [g]lue or [x]fire? x Would you like to run the [s]ynchronous or [a]synchronous version? s Loading Synchronous Loan Broker Exception in thread "main" java.lang.NoClassDefFoundError: edu/emory/mathcs/back port/java/util/concurrent/ArrayBlockingQueue where is edu.emory.mathcs.backport.java.util.concurrent.ArrayBlockingQueue.class Thx Martin-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: "Paul Fremantle" <[EMAIL PROTECTED]> To: Sent: Friday, April 27, 2007 4:35 AM Subject: Re: Axis2 xmlbeans http transport error 302 found Markus In general Axis2 is compatible with .NET and C#. The other option is to enable much more logging on the Java side and take a look at the logs. A log4j.properties like this should do the trick: log4j.logger.TRACE_LOGGER = TRACE_APPENDER log4j.appender.TRACE_APPENDER.File=logs/trace.log log4j.appender.TRACE_APPENDER.Append=true log4j.appender.TRACE_APPENDER.layout=org.apache.log4j.PatternLayout log4j.appender.TRACE_APPENDER.layout.ConversionPattern=[%X{ip}] [%X{host}] [%t] %-5p %C{1} - %m %n log4j.category.org.apache=DEBUG Paul On 4/27/07, Markus F. <[EMAIL PROTECTED]> wrote: > > Paul > > thanks for your engagement about this. > I'm sorry, the server is not available to public, you have to sign a test > account contract (as we did) with the company providing the service. > > This is also why i didnot post my code. > I know that that will not ease the whole thing to solve. > The only thing available is the wsdl, as its public, you could generate > client code off from it, I don´t know if this would help, as long as you > want to fire off a request you have to have an account there. > Perhaps you see something in the generated code that would help finding > the > problem? > > As well it seems to me, that it might be a M$ C# incompatiblity with the > Java world, although web services should be interoperable, perhaps some > details where C# clients have other defaults, and that's why it works > there. > But only a guess. Otherwise I cannot explain that others use this service. > > If you would find it helpful I'll send the wsdl to you, but let me contact > the service company first, to assure that this would be OK > > Markus > > > pzfreo wrote: > > > > Markus > > > > Is this a publicly available server that we can try? > > > > Paul > > > > On 4/26/07, Markus F. <[EMAIL PROTECTED]> wrote: > >>
Re: Axis2 xmlbeans http transport error 302 found
Paul et al- I went to the mule site /downloaded the code and ran the example for LoanConsumer as follows C:\Mule\mule-1.3.3\examples\ant\loanbroker\build\classes>java -classpath ;C:\Mu le\mule-1.3.3\examples\ant\loanbroker\build\classes;C:\Commons_Beanutils\commons -beanutils-1.7.0\commons-beanutils.jar;C:\commons-digester\commons-digester-1.8\ commons-digester-1.8.jar;C:\JDEVEL~1\jdev\lib\jdev\lib\ext\jmig.jar;C:\JDEVEL~1\ jdev\lib\jdev\lib\ext\des.jar;C:\JDEVEL~1\jdev\lib\jdev\lib\ext;C:\BEA\weblogic8 1\server\lib\wlclient.jar;C:\BEA\weblogic81\server\lib\wl-j2ee-client.jar;C:\BEA \weblogic81\samples\server\medrec\build\utils.jar;C:\AXIS\Axis-1_3\lib\saaj.jar; C:\Jars\jaxrpc.jar;C:\Jars\commons-discovery-0.2.jar;.;C:\commons-logging\common s-logging-1.0.4\commons-logging-api.jar;C:\hsqldb\old\hsqldbr\lib\hsqldb.jar;C:\ ANT\APACHE~1.5\lib\ant-junit.jar;C:\Junit\junit3.8.1\lib\junit.jar;C:\JAF\jaf-1. 0.2\activation.jar;C:\JavaMail\javamail-1.4ea\lib\mailapi.jar;C:\AXIS\Axis-1_3\l ib\axis.jar;C:\Jars\jakarta-tomcat-5.5.7\bin\jmx.jar;C:\Jars\jakarta-tomcat-5.5. 7\common\endorsed\xercesImpl.jar;C:\Jars\jakarta-tomcat-5.5.7\common\endorsed\xm l-apis.jar org.mule.samples.loanbroker.LoanConsumer * Welcome to the Mule Loan Broker example * Which SOAP stack would you like to use: [a]xis, [g]lue or [x]fire? x Would you like to run the [s]ynchronous or [a]synchronous version? s Loading Synchronous Loan Broker Exception in thread "main" java.lang.NoClassDefFoundError: edu/emory/mathcs/back port/java/util/concurrent/ArrayBlockingQueue where is edu.emory.mathcs.backport.java.util.concurrent.ArrayBlockingQueue.class Thx Martin-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: "Paul Fremantle" <[EMAIL PROTECTED]> To: Sent: Friday, April 27, 2007 4:35 AM Subject: Re: Axis2 xmlbeans http transport error 302 found Markus In general Axis2 is compatible with .NET and C#. The other option is to enable much more logging on the Java side and take a look at the logs. A log4j.properties like this should do the trick: log4j.logger.TRACE_LOGGER = TRACE_APPENDER log4j.appender.TRACE_APPENDER.File=logs/trace.log log4j.appender.TRACE_APPENDER.Append=true log4j.appender.TRACE_APPENDER.layout=org.apache.log4j.PatternLayout log4j.appender.TRACE_APPENDER.layout.ConversionPattern=[%X{ip}] [%X{host}] [%t] %-5p %C{1} - %m %n log4j.category.org.apache=DEBUG Paul On 4/27/07, Markus F. <[EMAIL PROTECTED]> wrote: Paul thanks for your engagement about this. I'm sorry, the server is not available to public, you have to sign a test account contract (as we did) with the company providing the service. This is also why i didnot post my code. I know that that will not ease the whole thing to solve. The only thing available is the wsdl, as its public, you could generate client code off from it, I don´t know if this would help, as long as you want to fire off a request you have to have an account there. Perhaps you see something in the generated code that would help finding the problem? As well it seems to me, that it might be a M$ C# incompatiblity with the Java world, although web services should be interoperable, perhaps some details where C# clients have other defaults, and that's why it works there. But only a guess. Otherwise I cannot explain that others use this service. If you would find it helpful I'll send the wsdl to you, but let me contact the service company first, to assure that this would be OK Markus pzfreo wrote: > > Markus > > Is this a publicly available server that we can try? > > Paul > > On 4/26/07, Markus F. <[EMAIL PROTECTED]> wrote: >> >> Paul >> >> I guess I can't monitor a http*s* connection with tcpmon? >> I mean I could but I would't see anything readable... >> Unfortunately my service is only available over TLS, so I will not be >> able >> to figure out whats going over the line that easy. >> >> Is there no other way of debbuging? >> >> What I've also tried is to access the URL over the browser, after >> authentication I get an SOAP error message saying something about >> incomplete >> request -> So the URL must be correct, right? >> >> What I did was trying out XFire, again with no success, but this time >> it >> seemed to be a binding issue with namespaces and JAXB which is the only >&g
Re: Axis2 xmlbeans http transport error 302 found
Axis2 is highly interoperable with .NET. I don't know why the Mule docs say that either. I don't like to shoulder the blame, but it seems to me that whoever is providing this endpoint needs to take a look at it. I don't understand why it's sending back a 302. Paul On 4/30/07, Markus F. <[EMAIL PROTECTED]> wrote: Martin according to http://mule.mulesource.org/display/MULE/Calling+.NET+Web+Services+using+XFire XFire is recommended for .Net interoperabiltiy. But there is no clear reason given (Xfire uses doc/lit ... ) As far as I know Axis2 supports doc/lit too not only rpc (I've never used mule) Markus -- View this message in context: http://www.nabble.com/Axis2-xmlbeans-http-transport-error-302-found-tf3644416.html#a10251025 Sent from the Axis - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Paul Fremantle VP/Technology, WSO2 and OASIS WS-RX TC Co-chair http://bloglines.com/blog/paulfremantle [EMAIL PROTECTED] "Oxygenating the Web Service Platform", www.wso2.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Axis2 xmlbeans http transport error 302 found
Martin according to http://mule.mulesource.org/display/MULE/Calling+.NET+Web+Services+using+XFire XFire is recommended for .Net interoperabiltiy. But there is no clear reason given (Xfire uses doc/lit ... ) As far as I know Axis2 supports doc/lit too not only rpc (I've never used mule) Markus -- View this message in context: http://www.nabble.com/Axis2-xmlbeans-http-transport-error-302-found-tf3644416.html#a10251025 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 xmlbeans http transport error 302 found
Morning Markus and Paul Not to mention Properly Specifying the endpoint address for inbound and outbound routers Take a look at http://mule.mulesource.org/display/MULE/Calling+.NET+Web+Services+using+XFiredid you Ping the folks at mule [EMAIL PROTECTED] email message and any files transmitted with it contain confidentialinformation intended only for the person(s) to whom this email message isaddressed. If you have received this email message in error, please notifythe sender immediately by telephone or email and destroy the originalmessage without making a copy. Thank you.- Original Message -From: "Paul Fremantle" <[EMAIL PROTECTED]>To: Sent: Friday, April 27, 2007 4:35 AMSubject: Re: Axis2 xmlbeans http transport error 302 foundMarkusIn general Axis2 is compatible with .NET and C#. The other option isto enable much more logging on the Java side and take a look at thelogs.A log4j.properties like this should do the trick:log4j.logger.TRACE_LOGGER = TRACE_APPENDERlog4j.appender.TRACE_APPENDER.File=logs/trace.loglog4j.appender.TRACE_APPENDER. Append=truelog4j.appender.TRACE_APPENDER.layout=org.apache.log4j.PatternLayoutlog4j.appender.TRACE_APPENDER.layout.ConversionPattern=[%X{ip}][%X{host}] [%t] %-5p %C{1} - %m %nlog4j.category.org.apache=DEBUGPaulOn 4/27/07, Markus F. <[EMAIL PROTECTED]> wrote:>> Paul>> thanks for your engagement about this.> I'm sorry, the server is not available to public, you have to sign a test> account contract (as we did) with the company providing the service.>> This is also why i didnot post my code.> I know that that will not ease the whole thing to solve.> The only thing available is the wsdl, as its public, you could generate> client code off from it, I don´t know if this would help, as long as you> want to fire off a request you have to have an account there.> Perhaps you see something in the generated code that would help findingthe> problem?>> As well it seems to me, that it might be a M$ C# incompatiblity with the> Java world, although web services should be interoperable, perha ps some> details where C# clients have other defaults, and that's why it worksthere.> But only a guess. Otherwise I cannot explain that others use this service.>> If you would find it helpful I'll send the wsdl to you, but let me contact> the service company first, to assure that this would be OK>> Markus>>> pzfreo wrote:> >> > Markus> >> > Is this a publicly available server that we can try?> >> > Paul> >> > On 4/26/07, Markus F. <[EMAIL PROTECTED]> wrote:> >>> >> Paul> >>> >> I guess I can't monitor a http*s* connection with tcpmon?> >> I mean I could but I would't see anything readable...> >> Unfortunately my service is only available over TLS, so I will not be> >> able> >> to figure out whats going over the line that easy.> >>> >> Is there no other way of debbuging?> >>> >> What I've also tried is to access the URL over the browser, after> >> authentication I get an SOAP error message saying something about> >> incomplete> >> request -> So the URL must be correct, right ?> >>> >> What I did was trying out XFire, again with no success, but this timeit> >> seemed to be a binding issue with namespaces and JAXB which is the only> >> option when autogenerating a client with XFire, as I figured out. The> >> error> >> message said something about an unknown method even though the Classwas> >> there. I didnot understand what the real problem was, because the error> >> message was not very helpful to me.> >> (org.codehaus.xfire.fault.XFireFault: Method 'Payment' notimplemented:> >> method name or namespace not recognized> >> at> >>org.codehaus.xfire.fault.Soap11FaultSerializer.readMessage(Soap11FaultSerializer.java:31)> >> )> >>> >> Anyway, asking questions about xfire doesnot belong here.> >> What confuses about my axis2 variant, is that it talks aboutredirecting,> >> and xfire does not.> >>> >> One of my intents why i chose to use a soap based communication with an> >> already working server implementation (there are users successfu llyusing> >> it, even though maybe not based on Java but C#) was that it should be> >> easy.> >> Generate a client and use it.> >>> >> But it seems to me, that the S in SOAP doesnot really mean simple, at> >> least> >> for me :(> >>> >> Markus> >>> >>> >>> >> pzfreo wrote:> >> >> >> > Markus> >> >> >> > I think you need to use tcpmon to trace the HTTP flow. It seems like> >> > the server doesn't likethe URI that you are sending the request> >> > to. Its sending back an HTTP 302 Found code which is basically a> >> > redirect. I guess Axis2 should probably follow that redirect, but at> >> > the same time the server shouldn't be publishing a URI in the WSDL> >> > that ends up with a redirect.> >> >> >> > If you trace it you can set the stub to go to the real URI and all> >> > should be fine.> >> >> >> > Paul> >> >> >> > On 4/25/07, Markus F. <[EMAIL PROTECTED]> wrote:> >> >>> >> >> Hello list,> >> >> this is my first c
Re: Axis2 xmlbeans http transport error 302 found
Paul The request is headed to the correct URL (https://www.someurl.com:443/bin/secure/at/etpproxy_v14 HTTP/1.1) When i give in that in my browser it works but not from within the code, instead i get a redirect because the server doesnot know that url. Markus here is the log: REQUEST: HttpConnection - Open connection to www.someurl.com:443 Wire - >> "POST /bin/secure/at/etpproxy_v14 HTTP/1.1[\r][\n]" Wire - >> "SOAPAction: "urn:ListNonCleared"[\r][\n]" Wire - >> "User-Agent: Axis2[\r][\n]" Wire - >> "Host: www.someurl.com[\r][\n]" Wire - >> "Transfer-Encoding: chunked[\r][\n]" Wire - >> "Content-Type: text/xml; charset=UTF-8[\r][\n]" Wire - >> "[\r][\n]" Wire - >> "135[\r][\n]" Wire - >> "http://schemas.xmlsoap.org/soap/envelope/";>http://www.someurl.com/soap/etp/1.4/ETP";>7" Wire - >> "[\r][\n]" Wire - >> "0" Wire - >> "[\r][\n]" Wire - >> "[\r][\n]" RESPONSE: [][] [main] DEBUG Wire - << "HTTP/1.1 302 Found[\r][\n]" [][] [main] DEBUG Wire - << "Date: Fri, 27 Apr 2007 12:03:59 GMT[\r][\n]" [][] [main] DEBUG Wire - << "Location: /bin/secure/at/noSuchUrl.html[\r][\n]" [][] [main] DEBUG Wire - << "Content-Length: 240[\r][\n]" [][] [main] DEBUG Wire - << "Content-Type: text/html; charset=iso-8859-1[\r][\n]" [][] [main] DEBUG HttpMethodDirector - Redirect required -- View this message in context: http://www.nabble.com/Axis2-xmlbeans-http-transport-error-302-found-tf3644416.html#a10218877 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 xmlbeans http transport error 302 found
Markus In general Axis2 is compatible with .NET and C#. The other option is to enable much more logging on the Java side and take a look at the logs. A log4j.properties like this should do the trick: log4j.logger.TRACE_LOGGER = TRACE_APPENDER log4j.appender.TRACE_APPENDER.File=logs/trace.log log4j.appender.TRACE_APPENDER.Append=true log4j.appender.TRACE_APPENDER.layout=org.apache.log4j.PatternLayout log4j.appender.TRACE_APPENDER.layout.ConversionPattern=[%X{ip}] [%X{host}] [%t] %-5p %C{1} - %m %n log4j.category.org.apache=DEBUG Paul On 4/27/07, Markus F. <[EMAIL PROTECTED]> wrote: Paul thanks for your engagement about this. I'm sorry, the server is not available to public, you have to sign a test account contract (as we did) with the company providing the service. This is also why i didnot post my code. I know that that will not ease the whole thing to solve. The only thing available is the wsdl, as its public, you could generate client code off from it, I don´t know if this would help, as long as you want to fire off a request you have to have an account there. Perhaps you see something in the generated code that would help finding the problem? As well it seems to me, that it might be a M$ C# incompatiblity with the Java world, although web services should be interoperable, perhaps some details where C# clients have other defaults, and that's why it works there. But only a guess. Otherwise I cannot explain that others use this service. If you would find it helpful I'll send the wsdl to you, but let me contact the service company first, to assure that this would be OK Markus pzfreo wrote: > > Markus > > Is this a publicly available server that we can try? > > Paul > > On 4/26/07, Markus F. <[EMAIL PROTECTED]> wrote: >> >> Paul >> >> I guess I can't monitor a http*s* connection with tcpmon? >> I mean I could but I would't see anything readable... >> Unfortunately my service is only available over TLS, so I will not be >> able >> to figure out whats going over the line that easy. >> >> Is there no other way of debbuging? >> >> What I've also tried is to access the URL over the browser, after >> authentication I get an SOAP error message saying something about >> incomplete >> request -> So the URL must be correct, right? >> >> What I did was trying out XFire, again with no success, but this time it >> seemed to be a binding issue with namespaces and JAXB which is the only >> option when autogenerating a client with XFire, as I figured out. The >> error >> message said something about an unknown method even though the Class was >> there. I didnot understand what the real problem was, because the error >> message was not very helpful to me. >> (org.codehaus.xfire.fault.XFireFault: Method 'Payment' not implemented: >> method name or namespace not recognized >> at >> org.codehaus.xfire.fault.Soap11FaultSerializer.readMessage(Soap11FaultSerializer.java:31) >> ) >> >> Anyway, asking questions about xfire doesnot belong here. >> What confuses about my axis2 variant, is that it talks about redirecting, >> and xfire does not. >> >> One of my intents why i chose to use a soap based communication with an >> already working server implementation (there are users successfully using >> it, even though maybe not based on Java but C#) was that it should be >> easy. >> Generate a client and use it. >> >> But it seems to me, that the S in SOAP doesnot really mean simple, at >> least >> for me :( >> >> Markus >> >> >> >> pzfreo wrote: >> > >> > Markus >> > >> > I think you need to use tcpmon to trace the HTTP flow. It seems like >> > the server doesn't likethe URI that you are sending the request >> > to. Its sending back an HTTP 302 Found code which is basically a >> > redirect. I guess Axis2 should probably follow that redirect, but at >> > the same time the server shouldn't be publishing a URI in the WSDL >> > that ends up with a redirect. >> > >> > If you trace it you can set the stub to go to the real URI and all >> > should be fine. >> > >> > Paul >> > >> > On 4/25/07, Markus F. <[EMAIL PROTECTED]> wrote: >> >> >> >> Hello list, >> >> this is my first contact with axis2. I've to implemtent a client using >> a >> >> 3rd >> >> party service over https and username/passwd authentication. >> >> I've been spending many hours on this and couldnot find any similar >> >> errors >> >> on the list or even on the web >> >> I autogenerated the client with following command. >> >> >> >> wsdl2java.bat -o src\generated -s -p com.someservice.test -uri >> >> src\wsdl\some.wsdl -d xmlbeans >> >> >> >> The wsdl makes use of complex type extension, so I'm using xmlbeans >> for >> >> binding. >> >> I get the following error: org.apache.axis2.AxisFault: HTTP Transport >> >> error >> >> : '302' - 'Found' >> >> It must be something basic, what I'm missing here, because I get the >> same >> >> error when not providing the credentials. >> >> >> >> Any hints? >> >> Thanks a lot. >> >> Markus >> >> >> >> >> >> Her
Re: Axis2 xmlbeans http transport error 302 found
Paul thanks for your engagement about this. I'm sorry, the server is not available to public, you have to sign a test account contract (as we did) with the company providing the service. This is also why i didnot post my code. I know that that will not ease the whole thing to solve. The only thing available is the wsdl, as its public, you could generate client code off from it, I don´t know if this would help, as long as you want to fire off a request you have to have an account there. Perhaps you see something in the generated code that would help finding the problem? As well it seems to me, that it might be a M$ C# incompatiblity with the Java world, although web services should be interoperable, perhaps some details where C# clients have other defaults, and that's why it works there. But only a guess. Otherwise I cannot explain that others use this service. If you would find it helpful I'll send the wsdl to you, but let me contact the service company first, to assure that this would be OK Markus pzfreo wrote: > > Markus > > Is this a publicly available server that we can try? > > Paul > > On 4/26/07, Markus F. <[EMAIL PROTECTED]> wrote: >> >> Paul >> >> I guess I can't monitor a http*s* connection with tcpmon? >> I mean I could but I would't see anything readable... >> Unfortunately my service is only available over TLS, so I will not be >> able >> to figure out whats going over the line that easy. >> >> Is there no other way of debbuging? >> >> What I've also tried is to access the URL over the browser, after >> authentication I get an SOAP error message saying something about >> incomplete >> request -> So the URL must be correct, right? >> >> What I did was trying out XFire, again with no success, but this time it >> seemed to be a binding issue with namespaces and JAXB which is the only >> option when autogenerating a client with XFire, as I figured out. The >> error >> message said something about an unknown method even though the Class was >> there. I didnot understand what the real problem was, because the error >> message was not very helpful to me. >> (org.codehaus.xfire.fault.XFireFault: Method 'Payment' not implemented: >> method name or namespace not recognized >> at >> org.codehaus.xfire.fault.Soap11FaultSerializer.readMessage(Soap11FaultSerializer.java:31) >> ) >> >> Anyway, asking questions about xfire doesnot belong here. >> What confuses about my axis2 variant, is that it talks about redirecting, >> and xfire does not. >> >> One of my intents why i chose to use a soap based communication with an >> already working server implementation (there are users successfully using >> it, even though maybe not based on Java but C#) was that it should be >> easy. >> Generate a client and use it. >> >> But it seems to me, that the S in SOAP doesnot really mean simple, at >> least >> for me :( >> >> Markus >> >> >> >> pzfreo wrote: >> > >> > Markus >> > >> > I think you need to use tcpmon to trace the HTTP flow. It seems like >> > the server doesn't likethe URI that you are sending the request >> > to. Its sending back an HTTP 302 Found code which is basically a >> > redirect. I guess Axis2 should probably follow that redirect, but at >> > the same time the server shouldn't be publishing a URI in the WSDL >> > that ends up with a redirect. >> > >> > If you trace it you can set the stub to go to the real URI and all >> > should be fine. >> > >> > Paul >> > >> > On 4/25/07, Markus F. <[EMAIL PROTECTED]> wrote: >> >> >> >> Hello list, >> >> this is my first contact with axis2. I've to implemtent a client using >> a >> >> 3rd >> >> party service over https and username/passwd authentication. >> >> I've been spending many hours on this and couldnot find any similar >> >> errors >> >> on the list or even on the web >> >> I autogenerated the client with following command. >> >> >> >> wsdl2java.bat -o src\generated -s -p com.someservice.test -uri >> >> src\wsdl\some.wsdl -d xmlbeans >> >> >> >> The wsdl makes use of complex type extension, so I'm using xmlbeans >> for >> >> binding. >> >> I get the following error: org.apache.axis2.AxisFault: HTTP Transport >> >> error >> >> : '302' - 'Found' >> >> It must be something basic, what I'm missing here, because I get the >> same >> >> error when not providing the credentials. >> >> >> >> Any hints? >> >> Thanks a lot. >> >> Markus >> >> >> >> >> >> Here's the stack trace: >> >> >> >> 25.04.2007 11:17:54 org.apache.commons.httpclient.HttpMethodDirector >> >> isRedirectNeeded >> >> INFO: Redirect requested but followRedirects is disabled >> >> org.apache.axis2.AxisFault: HTTP Transport error : '302' - 'Found'; >> >> nested >> >> exception is: >> >> org.apache.axis2.AxisFault: HTTP Transport error : '302' - >> >> 'Found'; nested >> >> exception is: >> >> org.apache.axis2.AxisFault: HTTP Transport error : '302' - >> >> 'Found'; nested >> >> exception is: >> >> org.apache.axis2.AxisFault: HTTP Transport error : '3
Re: Axis2 xmlbeans http transport error 302 found
Markus Is this a publicly available server that we can try? Paul On 4/26/07, Markus F. <[EMAIL PROTECTED]> wrote: Paul I guess I can't monitor a http*s* connection with tcpmon? I mean I could but I would't see anything readable... Unfortunately my service is only available over TLS, so I will not be able to figure out whats going over the line that easy. Is there no other way of debbuging? What I've also tried is to access the URL over the browser, after authentication I get an SOAP error message saying something about incomplete request -> So the URL must be correct, right? What I did was trying out XFire, again with no success, but this time it seemed to be a binding issue with namespaces and JAXB which is the only option when autogenerating a client with XFire, as I figured out. The error message said something about an unknown method even though the Class was there. I didnot understand what the real problem was, because the error message was not very helpful to me. (org.codehaus.xfire.fault.XFireFault: Method 'Payment' not implemented: method name or namespace not recognized at org.codehaus.xfire.fault.Soap11FaultSerializer.readMessage(Soap11FaultSerializer.java:31) ) Anyway, asking questions about xfire doesnot belong here. What confuses about my axis2 variant, is that it talks about redirecting, and xfire does not. One of my intents why i chose to use a soap based communication with an already working server implementation (there are users successfully using it, even though maybe not based on Java but C#) was that it should be easy. Generate a client and use it. But it seems to me, that the S in SOAP doesnot really mean simple, at least for me :( Markus pzfreo wrote: > > Markus > > I think you need to use tcpmon to trace the HTTP flow. It seems like > the server doesn't likethe URI that you are sending the request > to. Its sending back an HTTP 302 Found code which is basically a > redirect. I guess Axis2 should probably follow that redirect, but at > the same time the server shouldn't be publishing a URI in the WSDL > that ends up with a redirect. > > If you trace it you can set the stub to go to the real URI and all > should be fine. > > Paul > > On 4/25/07, Markus F. <[EMAIL PROTECTED]> wrote: >> >> Hello list, >> this is my first contact with axis2. I've to implemtent a client using a >> 3rd >> party service over https and username/passwd authentication. >> I've been spending many hours on this and couldnot find any similar >> errors >> on the list or even on the web >> I autogenerated the client with following command. >> >> wsdl2java.bat -o src\generated -s -p com.someservice.test -uri >> src\wsdl\some.wsdl -d xmlbeans >> >> The wsdl makes use of complex type extension, so I'm using xmlbeans for >> binding. >> I get the following error: org.apache.axis2.AxisFault: HTTP Transport >> error >> : '302' - 'Found' >> It must be something basic, what I'm missing here, because I get the same >> error when not providing the credentials. >> >> Any hints? >> Thanks a lot. >> Markus >> >> >> Here's the stack trace: >> >> 25.04.2007 11:17:54 org.apache.commons.httpclient.HttpMethodDirector >> isRedirectNeeded >> INFO: Redirect requested but followRedirects is disabled >> org.apache.axis2.AxisFault: HTTP Transport error : '302' - 'Found'; >> nested >> exception is: >> org.apache.axis2.AxisFault: HTTP Transport error : '302' - >> 'Found'; nested >> exception is: >> org.apache.axis2.AxisFault: HTTP Transport error : '302' - >> 'Found'; nested >> exception is: >> org.apache.axis2.AxisFault: HTTP Transport error : '302' - >> 'Found' >> at >> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:227) >> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:674) >> at >> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:237) >> at >> org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:202) >> ... >> Caused by: org.apache.axis2.AxisFault: HTTP Transport error : '302' - >> 'Found'; nested exception is: >> org.apache.axis2.AxisFault: HTTP Transport error : '302' - >> 'Found' >> at >> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:344) >> at >> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:204) >> ... 5 more >> Caused by: org.apache.axis2.AxisFault: HTTP Transport error : '302' - >> 'Found' >> at >> org.apache.axis2.transport.http.SOAPOverHTTPSender.send(SOAPOverHTTPSender.java:144) >> at >> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:335) >> ... 6 more >> -- >> View this message in context: >> http://www.nabble.com/Axis2-xmlbeans-http-transport-error-302-
Re: Axis2 xmlbeans http transport error 302 found
Paul I guess I can't monitor a http*s* connection with tcpmon? I mean I could but I would't see anything readable... Unfortunately my service is only available over TLS, so I will not be able to figure out whats going over the line that easy. Is there no other way of debbuging? What I've also tried is to access the URL over the browser, after authentication I get an SOAP error message saying something about incomplete request -> So the URL must be correct, right? What I did was trying out XFire, again with no success, but this time it seemed to be a binding issue with namespaces and JAXB which is the only option when autogenerating a client with XFire, as I figured out. The error message said something about an unknown method even though the Class was there. I didnot understand what the real problem was, because the error message was not very helpful to me. (org.codehaus.xfire.fault.XFireFault: Method 'Payment' not implemented: method name or namespace not recognized at org.codehaus.xfire.fault.Soap11FaultSerializer.readMessage(Soap11FaultSerializer.java:31) ) Anyway, asking questions about xfire doesnot belong here. What confuses about my axis2 variant, is that it talks about redirecting, and xfire does not. One of my intents why i chose to use a soap based communication with an already working server implementation (there are users successfully using it, even though maybe not based on Java but C#) was that it should be easy. Generate a client and use it. But it seems to me, that the S in SOAP doesnot really mean simple, at least for me :( Markus pzfreo wrote: > > Markus > > I think you need to use tcpmon to trace the HTTP flow. It seems like > the server doesn't likethe URI that you are sending the request > to. Its sending back an HTTP 302 Found code which is basically a > redirect. I guess Axis2 should probably follow that redirect, but at > the same time the server shouldn't be publishing a URI in the WSDL > that ends up with a redirect. > > If you trace it you can set the stub to go to the real URI and all > should be fine. > > Paul > > On 4/25/07, Markus F. <[EMAIL PROTECTED]> wrote: >> >> Hello list, >> this is my first contact with axis2. I've to implemtent a client using a >> 3rd >> party service over https and username/passwd authentication. >> I've been spending many hours on this and couldnot find any similar >> errors >> on the list or even on the web >> I autogenerated the client with following command. >> >> wsdl2java.bat -o src\generated -s -p com.someservice.test -uri >> src\wsdl\some.wsdl -d xmlbeans >> >> The wsdl makes use of complex type extension, so I'm using xmlbeans for >> binding. >> I get the following error: org.apache.axis2.AxisFault: HTTP Transport >> error >> : '302' - 'Found' >> It must be something basic, what I'm missing here, because I get the same >> error when not providing the credentials. >> >> Any hints? >> Thanks a lot. >> Markus >> >> >> Here's the stack trace: >> >> 25.04.2007 11:17:54 org.apache.commons.httpclient.HttpMethodDirector >> isRedirectNeeded >> INFO: Redirect requested but followRedirects is disabled >> org.apache.axis2.AxisFault: HTTP Transport error : '302' - 'Found'; >> nested >> exception is: >> org.apache.axis2.AxisFault: HTTP Transport error : '302' - >> 'Found'; nested >> exception is: >> org.apache.axis2.AxisFault: HTTP Transport error : '302' - >> 'Found'; nested >> exception is: >> org.apache.axis2.AxisFault: HTTP Transport error : '302' - >> 'Found' >> at >> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:227) >> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:674) >> at >> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:237) >> at >> org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:202) >> ... >> Caused by: org.apache.axis2.AxisFault: HTTP Transport error : '302' - >> 'Found'; nested exception is: >> org.apache.axis2.AxisFault: HTTP Transport error : '302' - >> 'Found' >> at >> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:344) >> at >> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:204) >> ... 5 more >> Caused by: org.apache.axis2.AxisFault: HTTP Transport error : '302' - >> 'Found' >> at >> org.apache.axis2.transport.http.SOAPOverHTTPSender.send(SOAPOverHTTPSender.java:144) >> at >> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:335) >> ... 6 more >> -- >> View this message in context: >> http://www.nabble.com/Axis2-xmlbeans-http-transport-error-302-found-tf3644416.html#a10177848 >> Sent from the Axis - User mailing list archive at Nabble.com. >> >> >> -
Re: Axis2 xmlbeans http transport error 302 found
Markus I think you need to use tcpmon to trace the HTTP flow. It seems like the server doesn't likethe URI that you are sending the request to. Its sending back an HTTP 302 Found code which is basically a redirect. I guess Axis2 should probably follow that redirect, but at the same time the server shouldn't be publishing a URI in the WSDL that ends up with a redirect. If you trace it you can set the stub to go to the real URI and all should be fine. Paul On 4/25/07, Markus F. <[EMAIL PROTECTED]> wrote: Hello list, this is my first contact with axis2. I've to implemtent a client using a 3rd party service over https and username/passwd authentication. I've been spending many hours on this and couldnot find any similar errors on the list or even on the web I autogenerated the client with following command. wsdl2java.bat -o src\generated -s -p com.someservice.test -uri src\wsdl\some.wsdl -d xmlbeans The wsdl makes use of complex type extension, so I'm using xmlbeans for binding. I get the following error: org.apache.axis2.AxisFault: HTTP Transport error : '302' - 'Found' It must be something basic, what I'm missing here, because I get the same error when not providing the credentials. Any hints? Thanks a lot. Markus Here's the stack trace: 25.04.2007 11:17:54 org.apache.commons.httpclient.HttpMethodDirector isRedirectNeeded INFO: Redirect requested but followRedirects is disabled org.apache.axis2.AxisFault: HTTP Transport error : '302' - 'Found'; nested exception is: org.apache.axis2.AxisFault: HTTP Transport error : '302' - 'Found'; nested exception is: org.apache.axis2.AxisFault: HTTP Transport error : '302' - 'Found'; nested exception is: org.apache.axis2.AxisFault: HTTP Transport error : '302' - 'Found' at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:227) at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:674) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:237) at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:202) ... Caused by: org.apache.axis2.AxisFault: HTTP Transport error : '302' - 'Found'; nested exception is: org.apache.axis2.AxisFault: HTTP Transport error : '302' - 'Found' at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:344) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:204) ... 5 more Caused by: org.apache.axis2.AxisFault: HTTP Transport error : '302' - 'Found' at org.apache.axis2.transport.http.SOAPOverHTTPSender.send(SOAPOverHTTPSender.java:144) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:335) ... 6 more -- View this message in context: http://www.nabble.com/Axis2-xmlbeans-http-transport-error-302-found-tf3644416.html#a10177848 Sent from the Axis - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Paul Fremantle VP/Technology, WSO2 and OASIS WS-RX TC Co-chair http://bloglines.com/blog/paulfremantle [EMAIL PROTECTED] "Oxygenating the Web Service Platform", www.wso2.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]