ServiceManger as a service - Unable to resolve..HELP!!!

2001-08-27 Thread Ralf Bierig

Hi,

I try to access the class
org.apache.soap.server.ServiceManager as a SOAP
service. So far so good. 

I cannot access this service. I got the following
error message (SOAP Fault):

faultCode=SOAP-ENV:Server.BadTargetObjectURI
faultString=Unable to resolve target object:
org.apache.soap.server.ServiceManager
faultActorURI=/soap/servlet/rpcrouter
DetailEntries=(0)=java.lang.InstantiationException:
org.apache.soap.server.ServiceManager
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
... and so on 

I have deployed the class as service on the client
side! So whats the problem?

This worked fine in SOAP 2.0. Is the reason because
the class ServerManager SOAP 2.2 has no standard
constructor? In SOAP 2.0 there was an standard
constructor...

Please help!

Ralf






__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/



Deserializer for DeploymentDescriptor not found!

2001-08-23 Thread Ralf Bierig

Hi,

I got the following error message:

No Deserializer found to deserialize a
'urn:DeploymentDescriptor:DeploymentDescriptor' using
encoding style
'http://schemas.xmlsoap.org/soap/encoding/'.

Well, I have registered the 

org.apache.soap.server.ServiceManager

as a service to provide a access for services. So I
can lookup for services (for example) from the client
side.

On the client side I have registered the
BeanSerializer as DeploymentDescriptor (de)serializer.
On the server side there is the typemapping in my *.ds
file (admin tool) and the ServiceManager also has
preregistered these Mappings in the class :-(

So what is the problem? Why I got this error message?
Do I have to register somewhere else? Who knows this
problem?

Ralf

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/



Abstract Method Error while calling Service...???

2001-07-09 Thread Ralf Bierig

Hi,

I got the following error, which trying to execute an
own service with an own serializer (which worked fine,
by the way, under WebSphere Test Environment in
VAJava):

- Error after starting at the console -
Exception in thread "main"
java.lang.AbstractMethodError
at
org.apache.soap.encoding.soapenc.ParameterSerializer.marshall(Paramet
erSerializer.java:102)
at
org.apache.soap.rpc.RPCMessage.serializeParams(RPCMessage.java:333)
at
org.apache.soap.rpc.RPCMessage.marshall(RPCMessage.java:307)
at
org.apache.soap.Body.marshall(Body.java:145)
at
org.apache.soap.Envelope.marshall(Envelope.java:195)
at
org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnection.java:246)
at
org.apache.soap.rpc.Call.invoke(Call.java:205)
at mypackage.myclass.main(myclass.java:60)

-- End of error message --

Did somebody have an idea???

Thanks in advance!

Ralf


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



NoSuchMethodError in QName of SOAP2.2

2001-07-04 Thread Ralf Bierig

I got the following error message, when I try to start
my SOAP client. I dont know what this means. I have
programmed my client originally for useage with Apache
SOAP 2.0, but it should work woth SOAP 2.2 as well,
because I think SOAP 2.2 is down compatibleor I am
wrong???

Does somebody know more?

 begin of error message -
D:\tomcat\bin>java mypackage.myclient
Exception in thread "main" java.lang.NoSuchMethodError
at
org.apache.soap.util.xml.QName.(QName.java:80)
at
org.apache.soap.util.xml.QName.matches(QName.java:146)
at
org.apache.soap.Envelope.unmarshall(Envelope.java:237)
at
org.apache.soap.rpc.Call.invoke(Call.java:230)
at mypackage.myclient.main(myclient.java:52)

 end of error message -

Greetings
Ralf

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



RE: SOAP 2.2 & Tomcat Error: <404 Not found>

2001-07-04 Thread Ralf Bierig

I have found out that error. Make sure you have the
right rpcrouter URL. I had the wrong URL
(http://localhost:8080/rpcrouter). Change it to
http://localhost:8080/soap/servlet/rpcrouter and it
works!

Greetings
Ralf


--- Anjali Jain <[EMAIL PROTECTED]> wrote:
> Hi Radhika,
> I'm getting the same error.
> but how & where do we specify content type...??
> I have only java files with me.
> 
>
-
> Anjali Jain
> Ecom-CoC
> ATHENA
> A-44, MCIE, Mathura Road, Delhi-44.
> Ph: 91-11-6950491-97
> Ext:5153
> [EMAIL PROTECTED]
>
--
> 
> 
> -Original Message-
> From: Radhika [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 01, 2000 8:52 PM
> To: [EMAIL PROTECTED]
> Subject: RE: SOAP 2.2 & Tomcat Error: <404 Not
> found>
> 
> 
> Hi,
> 
> As per my knowledge is concerned , your error it
> self is clearly describing
> the the content type should be "text/xml". The
> reason is the default content
> type is "text/html" even if you don't specify any
> thing. But when you are
> returning Soap response ,it is better you set the
> content type as "text/xml"
> then try . I am sure you will get now.
> 
> Radhika
> 
>
_
> 
> For franchising opportunities with NIIT(in India)
> visit www.niit.com/fra
>  
>
___NOTICE
> 
> This electronic mail transmission contains
> confidential information intended
> only for the person(s) named.  Any use,
> distribution, copying or disclosure
> by any other person is strictly prohibited. If you
> received this
> transmission in error, please notify the sender by
> reply e-mail and then
> destroy the message.  Opinions, conclusions, and
> other information in this
> message that do not relate to the official business
> of NIIT shall be
> understood to be neither given nor endorsed by NIIT
> When addressed to NIIT
> clients, any information contained in this e-mail is
> subject to the terms
> and conditions in the governing client contract.
> 


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



SOAP 2.2 & Tomcat Error: <404 Not found>

2001-07-03 Thread Ralf Bierig

I use Apache SOAP 2.2 and Tomcat 3.2.2. I have
deployed a Webservice via the Webinterface. 
I start my java Programm, which make the SOAP call:

java mypackage.myClient 

and get the following error:

What is wrong. Must I register the service somewhere
else additionally or do I have to set another path
within Tomcat. Tomcat should look at the
DeployedServices.ds file to find the service...

- Error Message of Tomcat --
Unsupported response content type "text/html", must
be: "text/xml". Response was
:
Not Found (404)
Not Found (404)
Original request: /rpcrouter
Not found request: /rpcrouter
- End of Error Message --

Can somebody help???

Greetings
Ralf



__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



RE: SOAP Performance (against RMI)

2001-06-27 Thread Ralf Bierig

Does somebody has papers, links, stuff about the
topic:
- Performance of Apache SOAP (2.0)
- Apache SOAP 2.0 <-> Java RMI
- Java RMI
and some other this-topic-related stuff?

Cheers
Ralf


--- Jean-Louis Vila <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> 1) My opinion is that you couldn't compare SOAP
> and RMI because SOAP is a protocol definition.
> So you must compare RMI with a SOAP implementation.
> 
> 2) SOAP is just near 1,5 year old and you must
> be patient to get a good SOAP implementation
> 
> 3) In some case, XML parsers are not efficient,
> especially on Java implementation. In the most
> cases, people use DOM objects wich are pratical
> but heavy objects !
> More, XML validation has a big cost in term of
> time (More with Schema. See 4).
> 
> 4) One side of SOAP is to specify datatypes
> with XML schema. XML Schema becomes a final
> recommendation the 02 May 2001, so, today, Schema
> validating parsers are just designed to be
> reliable and not to be quick !!
> When these parsers will be reliable they will
> be optimized.
> 
> 5) RMI is Java world, SOAP is design for
> an "idealistic open world" ...
> 
> Jean-Louis.
> 
> 
> > -Message d'origine-
> > De : Michael R. Clements
> [mailto:[EMAIL PROTECTED]]
> > Envoyé : mardi 26 juin 2001 22:18
> > À : [EMAIL PROTECTED]
> > Objet : RE: SOAP Performance (against RMI)
> >
> >
> > It's hard to compare performance because the test
> results would depend on
> > the amount and nature of the data marshaled across
> the function calls. I
> > would suspect that RMI's use of standard Java
> serialization is more
> > efficient than building and parsing XML strings,
> thus I would
> > expect RMI to
> > be proportionally faster than SOAP as the amount
> and complexity
> > of the data
> > increases.
> >
> > However, the existing XML parsers are woefully
> inefficient, which
> > would seem
> > to indicate that there is room for potentially
> large performance
> > gains. Thus
> > while I would expect RMI to maintain a performance
> advantage over
> > SOAP both
> > today and in the long term, I would expect the
> degree of this advantage to
> > shrink over time.
> >
> > In other words, if RMI is 6 times faster than SOAP
> today, it might only be
> > twice as fast a year from now.
> >
> > But one must consider that if the people in charge
> of the SOAP standards
> > allow the XML format for SOAP to bloat with new
> features (and complexity),
> > this will oppose the gains made from faster XML
> parsers and could destroy
> > any chance of making SOAP more efficient.
> >
> > Given this possibility, it is impossible to
> predict how RMI and SOAP will
> > continue to compare in performance. We can only
> hope that the
> > SOAP standards
> > people keep a tight lid on the XML format and we
> can realize the
> > advantages
> > of more efficient parsers.
> >
> > Regards,
> >
> > -Original Message-
> > From: Hansen, Richard
> [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, June 26, 2001 12:06
> > To: '[EMAIL PROTECTED]'
> > Subject: RE: SOAP Performance (against RMI)
> >
> >
> > And SOAP will just be get faster over time. RMI
> probably won't.
> >
> > > -Original Message-
> > > From: SBC [mailto:[EMAIL PROTECTED]]
> > > Sent: Tuesday, June 26, 2001 1:56 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: SOAP Performance (against RMI)
> > >
> > >
> > > I did a simple test & found that RMI is 6 times
> > > faster. I used apache 2.2 with wls 6.0. I would
> not
> > > call it a real benchmark, but it gave me some
> idea.
> > >
> > > --- Ralf Bierig <[EMAIL PROTECTED]> wrote:
> > > > Hi,
> > > >
> > > > are there any performance measurement
> materials
> > > > about
> > > > SOAP against RMI in Web? Did somebody made a
> > > > benchmarktest with SOAP (and maybe RMI)?
> > > >
> > > > I am looking for material to determine, if
> SOAP is
> > > > good enough to fullfil the requirements I need
> for a
> > > > project.
> > > >
> > > > Greetings
> > > > Ralf
> > > >
> > > >
> __
> > > > Do You Yahoo!?
> > > > Get personalized email addresses from Yahoo!
> Mail
> > > > http://personal.mail.yahoo.com/
> > >
> > >
> > >
> __
> > > Do You Yahoo!?
> > > Get personalized email addresses from Yahoo!
> Mail - only $35
> > > a year!  http://personal.mail.yahoo.com/
> > >
> >
> 


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



SOAP Performance (against RMI)

2001-06-26 Thread Ralf Bierig

Hi,

are there any performance measurement materials about
SOAP against RMI in Web? Did somebody made a
benchmarktest with SOAP (and maybe RMI)?

I am looking for material to determine, if SOAP is
good enough to fullfil the requirements I need for a
project.

Greetings
Ralf

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



Length of soap message

2001-06-26 Thread Ralf Bierig

How can I retrieve the length of a soap message? 

Is there a Class, which enable me to get the length of
the complete message? 

Or of parts of a message: Like -> Give me the length
of the XML String of the parameter list of the SOAP
body - and so on...

Greetings
Ralf

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



SOAP Method without returnValue - possible?

2001-06-15 Thread Ralf Bierig

Hi,

is it possible to use a SOAP Service Method (over
HTTP), which does not offer a result, for example:

void myService(int value1, double value2);



I ask, because HTTP always return a HTTPResponse...

So can I implement such a SOAP method and can Apache
SOAP handle this?

Greetings
Ralf Bierig


__
Do You Yahoo!?
Spot the hottest trends in music, movies, and more.
http://buzz.yahoo.com/

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




HELP: How Array-,Base64-,Vector-,ParameterSerializer work

2001-06-11 Thread Ralf Bierig

Can somebody explain in one or two sentences how the
- ArraySerializer,
- VectorSerialier
- ParameterSerializer,
- Base64Serializer

work internally? I just want to be sure I have
understood the code correctly...

What is the reason for having a Base64Serializer?
Practical Example?

When do I need the ParameterSerializer?

Do I need the VectorSerializer or does SOAP uses this
automatically?


Thanks in advance!

Ralf Bierig

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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




Advantage of SOAP against RMI ???

2001-06-05 Thread Ralf Bierig

Which advantages does SOAP provide compared with RMI?
Whats with SOAP <-> CORBA ??

Whats are the advantages of SOAP against RMI and whats
are the disadvantages?

Discuss!

Thanks, in advance!
Ralf


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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




look for good SOAP Documentation about ...

2001-06-05 Thread Ralf Bierig

the internal working of SOAP (I know I can have a look
at the sourcecode, but a good documentation can be
very useful as well!)

Thanks!
Ralf


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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




look for VectorSerializer Example!

2001-06-05 Thread Ralf Bierig

Does somebody have an example code for using the
VectorSerializer?

Thanks!
Ralf


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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




look for ArraySerializer Example!

2001-06-05 Thread Ralf Bierig

Does anybody has a code example for using
ArraySerializer?

Thanks!
Ralf

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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