Re: tomcat connection pooling

2004-12-13 Thread Jonathan Roberts
ou out for shortlived connectionsotherwise think about expanding your horizons to implementing EJBsGive a shout if you need any help,Martin- - Original Message - From: Jonathan Roberts To: [EMAIL PROTECTED] Sent: Monday, December 13, 2004 10:37 PM Subject: RE: tomcat connection pooling Equall

RE: tomcat connection pooling

2004-12-13 Thread Jonathan Roberts
Equally,  unless I'm behind on the apache/tomcat specs,  EJBs cannot be implemented on apache/tomcat.   The only beans you can run on apache are normal java beans and not ejbs.   Jonathan"THOMAS, JAI [AG-Contractor/1000]" <[EMAIL PROTECTED]> wrote: Martin,That is a true comparison of session vs ent

Re: tomcat connection pooling

2004-12-13 Thread Jonathan Roberts
Hi Martin,   This shouldnt be any different from usual usage.    You should implement pooling in the same may in your biz objkects/beans.  soap should juts be used to access the interface stubs of the server side interfacee.g   client interface ---> server interface-> facade--> jav

Re: Adding a new soap service problem

2004-09-24 Thread Jonathan Roberts
Hi Praveen,   You may want to check that soap can find the jar/class, is it in the path when the server loads   JonPraveen Peddi <[EMAIL PROTECTED]> wrote: I got the sample from onjava.com. You can find all the related data here: http://www.onjava.com/pub/a/onjava/excerpt/java_xml_2_ch2/index.html?

Re: load balancing

2004-06-06 Thread Jonathan Roberts
to this e-mail address,because it is filtered to accept only mail fromspecific mail lists.- Original Message - From: "Jonathan Roberts" <[EMAIL PROTECTED]>To: <[EMAIL PROTECTED]>Sent: Friday, June 04, 2004 3:29 PMSubject: load balancing> Hi.> > I have an Apache soap

Re: load balancing

2004-06-06 Thread Jonathan Roberts
uest is automatically distributed to the n+1 box in the cluster..???-Martin - Original Message - From: Jonathan Roberts To: [EMAIL PROTECTED] Sent: Friday, June 04, 2004 3:29 PM Subject: load balancing Hi.   I have an Apache soap Application that has been working fine for the last dew y

load balancing

2004-06-04 Thread Jonathan Roberts
Hi.   I have an Apache soap Application that has been working fine for the last dew years.     However we have now applied load balancing to the solutuion and we are gettin alot of responses where the soap server is not available.   Does any one know how resilient this version of soap is when face

Re: synchronous

2004-02-13 Thread Jonathan Roberts
vice for time independance. Have a lookthrough JMS (messaging service for J2EE) or WebsphereMQ for a c/cobolmiddleware.b/wMOn Fri, 13 Feb 2004, Jonathan Roberts wrote:>Hi.>>Is it possible for the soap service to be asynchronous.>>Regards>>Jonathan>>>

synchronous

2004-02-12 Thread Jonathan Roberts
Hi.   Is it possible for the soap service to be asynchronous.   Regards   Jonathan BT Yahoo! Broadband - Free modem offer, sign up online today and save £80

Re: calling dot net web services from java soap

2004-01-16 Thread Jonathan Roberts
Scott,   ps can you recommend any sample dot net services which are know to work with java soap apps.   Thanks again   JonathanScott Nichol <[EMAIL PROTECTED]> wrote: > What about the other soap code from the following snippet:> > e.g.> NS_URI_SOAP_ENCThat can probably stay, although it is technica

Re: calling dot net web services from java soap

2004-01-16 Thread Jonathan Roberts
Hi Scott,   The name space seems to be the ip address according to the dot net generated file!   I'll see if I get answhere   JonathanScott Nichol <[EMAIL PROTECTED]> wrote: > What about the other soap code from the following snippet:> > e.g.> NS_URI_SOAP_ENCThat can probably stay, although it is t

RE: invoking a web service from a jsp page

2004-01-16 Thread Jonathan Roberts
TED]> wrote: hello, can i give me an example with a java bean ?can i access methods directly via jsp page? thank you -Message d'origine-De : Jonathan Roberts [mailto:[EMAIL PROTECTED]Envoyé : jeudi, 15. janvier 2004 12:46À : [EMAIL PROTECTED]Objet : Re: invoking a web service from

Re: calling dot net web services from java soap

2004-01-15 Thread Jonathan Roberts
ss than ideal.For the best interop with .NET, you should use Apache Axis. It supports more specs, notably WSDL 1.1.Scott NicholDo not send e-mail directly to this e-mail address,because it is filtered to accept only mail fromspecific mail lists.- Original Message - From: "Jonathan Roberts&

Re: invoking a web service from a jsp page

2004-01-15 Thread Jonathan Roberts
Personally I would write a client bean that accesses the methods on the remote server - you can give it a main so you can test it as a java app.   Then call the beans methods from jsp,  this should aid transparency for the jsp user. Jonathanmorchid fatima <[EMAIL PROTECTED]> wrote: hello,how can i

Re: calling dot net web services from java soap

2004-01-13 Thread Jonathan Roberts
ess,because it is filtered to accept only mail fromspecific mail lists.- Original Message - From: "Jonathan Roberts" <[EMAIL PROTECTED]>To: <[EMAIL PROTECTED]>Sent: Tuesday, January 13, 2004 10:08 AMSubject: calling dot net web services from java soap> Hi guys> >

Re: calling dot net web services from java soap

2004-01-13 Thread Jonathan Roberts
Thanks - looks like a great read.    JonathanMartin Gainty <[EMAIL PROTECTED]> wrote: JonathanCheck outhttp://www.csharphelp.com/archives/archive53.htmlRegards, Martin Gainty - Original Message - From: Jonathan Roberts To: [EMAIL PROTECTED] Sent: Tuesday, January 13, 2004 10

calling dot net web services from java soap

2004-01-13 Thread Jonathan Roberts
Hi guys   Has any one found a simple easy way to do this.   java soap calls  :   r = c.invoke ( new URL( "localhost/soap/servlet/rpcrouter"), "" where as dot net seems to be  associated with  : main.asmx Any interesting work arounds or is this a whole side area of interopability:?   Jonathan Y

Re: firewall

2003-11-26 Thread Jonathan Roberts
Hi.   1.  you need the machine on your lan to be accessible externally you need to get your firewall techy to allow access to that machine or the url through the  firewall by mappings.   e.g.    internal server is http:\\pc1000:8100 ensure this works on the server and inside the lan   then   get y

Re: firawall

2003-11-26 Thread Jonathan Roberts
try using the set proxy functionality    SOAPHTTPConnection httpConn = null;   httpConn = new SOAPHTTPConnection();httpConn.setProxyPort(mintProxyPort);   httpConn.setProxyHost(mstrProxyServer);      Bassem HAIDAR <[EMAIL PROTECTED]> wrote: hellowho a i can access to a soap server placed in a L

Re: null pointer exception

2003-11-24 Thread Jonathan Roberts
Try running the soap-rpc app that you know works!?!   See if it will run here.   Could help!   Jtony vieitez <[EMAIL PROTECTED]> wrote: I've just done what you suggested Scott and still no luck. I havealready successfully implemented and run a soap-rpc application whichmay suggest that the configu

Re: getting outside the proxy

2003-11-12 Thread Jonathan Roberts
Hi.   What is your actual code rathert than the example.   eg code     httpConn = new SOAPHTTPConnection();  if ( !mstrProxyServer.equalsIgnoreCase("") )  {  if ( mintProxyPort != 0 )   {httpConn.setProxyPort(mintProxyPort);   }  httpConn.setProxyHost(mstrProxyServer); }   

error with simple soap connection

2003-09-03 Thread Jonathan Roberts
Hi I'm having problems with a simple connect to my soap server.   I am getting the correct message for http://localhost:8080/soap/servlet/rpcrouter   i.e. "Sorry, I don't speak via HTTP GET- you have to use HTTP POST to talk to me." However when I call java org.apache.soap.server.ServiceManagerC

soap problems with java upgrade

2003-08-29 Thread Jonathan Roberts
Hi All,   I've just taken the maybe unwise step of upgrading from java 1.3 to j2sdk1.4.2.   I'm using tomcat 3.2.3 (still).   Soap work when I go back to 1.3, but refuses when I try using the newest 1.4.2.   code :     try  {System.out.println("invoke " + mstrHostString);System.out.println("invoke

Re: multiple transactions over soap

2003-06-20 Thread Jonathan Roberts
Hi.   >trip. Packet sizes were on the order of 1000 bytes. Over a 100 Mbps >LAN, that's about 0.1 ms transport time, which is very small compared >to the overall round trip times that were more like 90 ms. This may >point out a difference in our tests: mine were relatively processing >intensive, wh

Re: multiple transactions over soap

2003-06-19 Thread Jonathan Roberts
ing sure the pools are large enough isessential to obtain proper throughput.Of course, this assumes the server processes have sufficient basicresources like CPU and memory. If the server CPU is pinned or memorypaging starts, pool sizes for other resources are probablyinconsequential.On 19 Jun 2003 at 0:

multiple transactions over soap

2003-06-18 Thread Jonathan Roberts
Hi All.   I'm using soap and it's workign great for low load requests.   However when the number of requests start increasing there seems to be a significant time lag associated with them.     The requests are sent off using threading.   The responses seem to come back in no specific order such th

Re: Passing string as ELEMENT

2003-06-04 Thread Jonathan Roberts
ss XML element to service instead ofstring...ie.XML file.Im getting string from client side but need to send asElement ...im dont want to use java bean..any idea??And what is call.registerSettings() method do??REgardsparames--- Jonathan Roberts <[EMAIL PROTECTED]>wrote:> Something like this (

Re: Passing string SERVICE

2003-06-04 Thread Jonathan Roberts
Something like this (code not tested) -- Client side   String returnString = "";   Call c=new Call();  c = registerSettings( c );  c.setMethodName ("fetchData");   //fetchData is name of server sid

Re: de-serialisation problem

2003-06-04 Thread Jonathan Roberts
nks again.   Regards   Jonathan     Scott Nichol <[EMAIL PROTECTED]> wrote: Can you tell me the sizes of the 2 war files?Also, with the xml sniffer, do you see the same version of the XML schema namespace for xmlns:xsd="..."?On 3 Jun 2003 at 11:59, Jonathan Roberts wrote:> Scott,&

Re: de-serialisation problem

2003-06-03 Thread Jonathan Roberts
xsi:type="xsd:ur-type" without xsi:null="true" or xsi:nil="true".This makes me wonder whether you really have a null value you are returning, and whether you are using the same version of Apache SOAP in deployment (because handling of xsi:null and xsi:nil has been imp

Re: de-serialisation problem

2003-06-03 Thread Jonathan Roberts
ype="xsd:ur-type" without xsi:null="true" or xsi:nil="true".This makes me wonder whether you really have a null value you are returning, and whether you are using the same version of Apache SOAP in deployment (because handling of xsi:null and xsi:nil has been improved alo

Re: de-serialisation problem

2003-06-03 Thread Jonathan Roberts
javaType) +> "': " + t.getMessage());> }> }> > The newInstance is only going to work if the class has a default ctor > (or in Sun's terminology, a "nullary constructor").> > On 2 Jun 2003 at 15:14, Jonathan Roberts wrote:> > > HI Scott

Re: de-serialisation problem

2003-06-03 Thread Jonathan Roberts
or (or in Sun's terminology, a "nullary constructor").On 2 Jun 2003 at 15:14, Jonathan Roberts wrote:> HI Scott,> > I thought I'd got around this by declaring the java.sql.Timestamp as a class in the xml file and loaded it with all the other classes. This seems

Re: de-serialisation problem

2003-06-03 Thread Jonathan Roberts
ROTECTED]> wrote: java.sql.Timestamp does not have a default constructor, which Apache SOAP requires for instantiation. An alternative for you would be to return a java.util.Date, which Apache SOAP knows how to serialize and de-serialize.On 2 Jun 2003 at 10:54, Jonathan Roberts wrote:> Hi.>

de-serialisation problem

2003-06-02 Thread Jonathan Roberts
Hi.   I'm getting the following errors on the response from the soap server :   on the r = c.invoke ( new URL( mstrHostString + "/soap/servlet/rpcrouter"), "" ); call where Response r; and Call c; ---   Error report : 1. If

Re: Issues with the HTTP implementation provided with Apache SOAP.

2002-11-01 Thread Jonathan Roberts
You need to do something similar to this import org.apache.soap.transport.http.SOAPHTTPConnection; : : SOAPHTTPConnection httpConn = null; : : : : httpConn = new SOAPHTTPConnection(); if ( !mstrProxyServer.equalsIgnoreCase("") ) { if ( mintProxyPort != 0 ) { httpConn.setProxyPort(mintProxyPor

RE: Sample Web Services

2002-10-28 Thread Jonathan Roberts
Also see he examples in soap war/jar files. J From: "Anne Thomas Manes" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> Subject: RE: Sample Web Services Date: Mon, 28 Oct 2002 00:41:58 -0500 Sample Web ServicesCheck out www.xmethods.com. -Original Message- F

Re: soap service access from behind a proxy server

2002-10-25 Thread Jonathan Roberts
I considered this was going to be problem and isnt: solution : Call c=new Call(); SOAPHTTPConnection conn = new SOAPHTTPConnection(); conn.setProxyHost(proxy_server); conn.setProxyPort(proxy_server_port); c.setSOAPTransport(conn); Hi all, Are there any reported problems with attempting to u

soap service access from behind a proxy server

2002-10-25 Thread Jonathan Roberts
Hi all, Are there any reported problems with attempting to use a method call to a soap server from behind a proxy server? We are attempting to do a soap call however we are getting : Reported Exception is : [SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: Connection refused

Re: soap and connection pooling

2002-10-09 Thread Jonathan Roberts
Hi Mike, Yes most if not all app server do this. I just wanted to know if the app would handle it via soap. See previous replies. Cheers Jonathan > >surely your application server will handle connection pooling for you if >you set up a datasource? I use WebSphere App Server (well I work

soap and connection pooling

2002-10-09 Thread Jonathan Roberts
Does anyone know if connection pooling is possible via soap. My server side interface uses a bean which connects to a database. I'm presuming that soap runs on the server ( e.g.jrun ) and this server handles the pool of conenctions in the same way as if my bean was running withing jrun. any

Re: Values coming as null

2002-10-09 Thread Jonathan Roberts
Are you sure your getters are working. Suggest outputting the values prior to passing data to soap. I'm hesitant since I'm aware that some issues cause soap failure rather than objects failure such as this! 1. Try returing know objects such as Strings and Vectors instead - do they return va

Re: Soap and JRun version 4.0

2002-09-30 Thread Jonathan Roberts
pache SOAP as a webapp by >copying soap.war into the "magic" directory. > >Scott Nichol > >- Original Message - >From: "Jonathan Roberts" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Monday, September 30, 2002 6:07 PM >Subjec

Re: Soap and JRun version 4.0

2002-09-30 Thread Jonathan Roberts
>tomcat.html?rev=1.13). Basically, you deploy Apache SOAP as a webapp by >copying soap.war into the "magic" directory. > >Scott Nichol > >- Original Message - >From: "Jonathan Roberts" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >S

Soap and JRun version 4.0

2002-09-30 Thread Jonathan Roberts
Has anyone had any experience with using SOAP and Jrun 4.0, or4 know any articles. Since Jrun has become more J2EE complicant it has diverged away from the Tomcat scenario. Jonathan _ Join the world’s largest e-mail service wit

Re: Unknown reason for error

2002-09-30 Thread Jonathan Roberts
at4.CoyoteAdapter.service(CoyoteAdapter.java:223) > at >org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405) > at >org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne >ction(Http11Protocol.java:380) > at >org.apach

Re: Unknown reason for error

2002-09-30 Thread Jonathan Roberts
Michael, I would suggest going back thorough the intial set up. 1. soap Do you get the usual message for http://%SERVER%/soap/servlet/messagerouter can you use localhost (or ip address) eg. http://localhost:8080/soap/servlet/messagerouter 2. tomcat Is tomcat running - If you cant see a html p

Re: AW: another Starter's Question

2002-09-28 Thread Jonathan Roberts
ly >jar-file, but only directories. When I also do it that way, java doesn't >find the classes :-( >So I did it the long way and put an entry for each jar on the CLASSPATH > >bye >Malte > >-Ursprüngliche Nachricht- >Von: Jonathan Roberts [mailto:[EMAIL PROTECT

Re: another Starter's Question

2002-09-27 Thread Jonathan Roberts
If the xml works on your machine. 1. check that all the jar files can be found and are stated in the classpath. 2. check that any objects you have created can be found in the classpath. Regards >Hi everyone, > >I got trouble deploying my services on soap with the XML-File. >It is not the

Re: authenticating a web service

2002-09-27 Thread Jonathan Roberts
Use LDAP in the back end. e.g. Active Directory. regards Jonathan > >hi all, > >How can i include authentication in a web service. > >Thanks and Regards >neha > ><< Wipro_Disclaimer.txt >> >-- >To unsubscribe, e-mail: >For additional commands, e-mail:

Re: NoSuchMethodError

2002-09-23 Thread Jonathan Roberts
Hi Angus, Is the name of the file really "HelloDD1.dd" - I generally use xml as the deployment descriptor. If it is then check : check the methods specified are in the class that you have specified. i.e. here "getAccount" is a method in "com.myClass" Other issues: 1. Is your clas

timestamp passing over soap

2002-09-22 Thread Jonathan Roberts
Hi, Has anyone had any problems with java.sql.timestamp being passed over the soap server/client interface. I had problems on the soap server side so included it in the deployment descriptor. However whenever its value is non null it causes the client side to throw an exception. Cheers Jon