You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Clover, James" <Ja...@disney.com> on 2003/03/01 01:36:17 UTC

RE: Axis support of WSRP?

Epic^H^H^H^H... Vignette's.  And you're right, they do provide WSRP
support on the client side, but not the server.  Their server side
WSRP-stuff is a completely different animal.

James

-----Original Message-----
From: Mike Burati [mailto:mburati@bowstreet.com] 
Sent: Friday, February 28, 2003 1:43 PM
To: 'axis-user@ws.apache.org'
Subject: RE: Axis support of WSRP?



James,
    Which portal(s) would you be using WSRP with?  Some will likely
provide a fair bit of the WSRP support for you once it's finalized.
Note, WSTK is likely to keep up with the "standards still in
development" because it's by some of the same guys driving the WSRP
standard at IBM (although WSTK is for evaluation of new technologies,
not for deployment at this time according to its website).

..Mike


-----Original Message-----
From: Clover, James [mailto:James.Clover@disney.com]
Sent: Friday, February 28, 2003 4:36 PM
To: axis-user@ws.apache.org
Subject: RE: Axis support of WSRP?


Right.  I've seen this - although I need to take a closer look.  My
preference would be something that we can contribute to and improve,
knowing how many standards are still in development.

James
  
-----Original Message-----
From: Doug Davis [mailto:dug@us.ibm.com] 
Sent: Friday, February 28, 2003 12:07 PM
To: axis-user@ws.apache.org
Subject: Re: Axis support of WSRP?







Sort of related - the WSTK has some WSRP demos/code and that uses Axis:
http://www.alphaworks.ibm.com/tech/webservicestoolkit

-Dug


"Clover, James" <Ja...@disney.com> on 02/28/2003 12:22:01 PM

Please respond to axis-user@ws.apache.org

To:    <ax...@ws.apache.org>
cc:
Subject:    Axis support of WSRP?


Hi all,

I'm new to this list, but I've used Axis in a web services prototype.
I've got a question: is there any planned support for building
WSRP-compliant services using Axis?

Thanks!

James Clover
Lead Engineer, Disney Enterprise Portal
james -dot- clover -at- disney -dot- com



Re: attachments samples

Posted by be...@wahlao.com.
How did you change it ?

Did you actually undeploy the RPC-style of those sample services ? From
the given error message, it seems to me that you didn't undeploy the
original deployed service (RPC-style).

Perhaps you can try undeploy the service first, and redeploy it.

By the way, how does the service method signature look like ?

public void methodName(Params x) {

.....
.....

}

something like above ?

> yeah it works now ..
>
> The samples which i ran had provider as RPC but when i changed the
> style to document it gives the following error
>
> Sorry, something seems to have gone wrong... here are the details:
>
> Fault - org.apache.axis.InternalException: java.lang.Exception: The
> OperationDesc for echo was not syncronized to a method of
> samples.attachments.EchoAttachmentsService.
> AxisFault
> faultCode: {http://xml.apache.org/axis/}Server.userException
> faultString: org.apache.axis.InternalException: java.lang.Exception:
> The
> OperationDesc for echo was not syncronized to a method of
> samples.attachments.EchoAttachmentsService.
> faultActor: null
> faultDetail:
> stackTrace: org.apache.axis.InternalException: java.lang.Exception: The
> OperationDesc for echo was not syncronized to a method of
> samples.attachments.EchoAttachmentsService.
> at
> org.apache.axis.description.ServiceDesc.syncOperationToClass
(ServiceDesc.jav
> a:671)
> at
> org.apache.axis.description.ServiceDesc.getSyncedOperationsForName
(ServiceDe
> sc.java:925)
> at
>
org.apache.axis.description.ServiceDesc.loadServiceDescByIntrospectionRecur
s
> ive(ServiceDesc.java:801)
> at
> org.apache.axis.description.ServiceDesc.loadServiceDescByIntrospection
(Servi
> ceDesc.java:768)
> at
> org.apache.axis.providers.java.JavaProvider.initServiceDesc
(JavaProvider.jav
> a:551)
> at
> org.apache.axis.handlers.soap.SOAPService.getInitializedServiceDesc
(SOAPServ
> ice.java:322)
> at
> org.apache.axis.deployment.wsdd.WSDDService.makeNewInstance
(WSDDService.java
> :477)
> at
> org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance
(WSDDDeploy
> ableItem.java:312)
> at
> org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance
(WSDDDeployabl
> eItem.java:298)
> at
> org.apache.axis.deployment.wsdd.WSDDDeployment.getService(WSDDDeployment
>
>
> thanx
> Jay
>
>
> ----- Original Message -----
> From: <be...@wahlao.com>
> To: <ax...@ws.apache.org>
> Sent: Friday, February 28, 2003 7:00 PM
> Subject: Re: attachments samples
>
>
>> Hi,
>>
>> This is because the mail.jar is not found in your AXIS client
>> classpath. When sending with attachment, AXIS client will actually
>> check if the javax.mail.internet.MimeMultipart is in the classpath.
>>
>> Try to put mail.jar in your AXIS client classpath.
>>
>>
>> > i tried running the attachments samples but it gave the below
>> > exception
>> >
>> > java.io.IOException: No support for attachments
>> >        at org.apache.axis.AxisFault.makeFault(AxisFault.java:120) at
>> >        org.apache.axis.SOAPPart.writeTo(SOAPPart.java:275)
>> >        at org.apache.axis.SOAPPart.getAsString(SOAPPart.java:488) at
>> >        org.apache.axis.SOAPPart.getAsBytes(SOAPPart.java:379)
>> >        at org.apache.axis.Message.getContentType(Message.java:400)
>> >        at
>> > org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.ja
>> > va:345)
>> >        at
>> > org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:127)
>> >
>> >        at
>> > org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
>> > y.java:71)
>> >        at
>> >        org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
>> >        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)
>> >        at
>> >        org.apache.axis.client.AxisClient.invoke(AxisClient.java:182)
>> >        at org.apache.axis.client.Call.invokeEngine(Call.java:2113)
>> >        at org.apache.axis.client.Call.invoke(Call.java:2102)
>> >        at org.apache.axis.client.Call.invoke(Call.java:1851)
>> >        at org.apache.axis.client.Call.invoke(Call.java:1777)
>> >        at org.apache.axis.client.Call.invoke(Call.java:1315)
>> >
>> >
>> >   did any one get this kinda  problem
>> >
>> > jay




Re: attachments samples

Posted by jay k <jm...@cisco.com>.
yeah it works now ..

The samples which i ran had provider as RPC but when i changed the style to
document it gives the following error

Sorry, something seems to have gone wrong... here are the details:

Fault - org.apache.axis.InternalException: java.lang.Exception: The
OperationDesc for echo was not syncronized to a method of
samples.attachments.EchoAttachmentsService.
AxisFault
 faultCode: {http://xml.apache.org/axis/}Server.userException
 faultString: org.apache.axis.InternalException: java.lang.Exception: The
OperationDesc for echo was not syncronized to a method of
samples.attachments.EchoAttachmentsService.
 faultActor: null
 faultDetail:
 stackTrace: org.apache.axis.InternalException: java.lang.Exception: The
OperationDesc for echo was not syncronized to a method of
samples.attachments.EchoAttachmentsService.
 at
org.apache.axis.description.ServiceDesc.syncOperationToClass(ServiceDesc.jav
a:671)
 at
org.apache.axis.description.ServiceDesc.getSyncedOperationsForName(ServiceDe
sc.java:925)
 at
org.apache.axis.description.ServiceDesc.loadServiceDescByIntrospectionRecurs
ive(ServiceDesc.java:801)
 at
org.apache.axis.description.ServiceDesc.loadServiceDescByIntrospection(Servi
ceDesc.java:768)
 at
org.apache.axis.providers.java.JavaProvider.initServiceDesc(JavaProvider.jav
a:551)
 at
org.apache.axis.handlers.soap.SOAPService.getInitializedServiceDesc(SOAPServ
ice.java:322)
 at
org.apache.axis.deployment.wsdd.WSDDService.makeNewInstance(WSDDService.java
:477)
 at
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeploy
ableItem.java:312)
 at
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployabl
eItem.java:298)
 at org.apache.axis.deployment.wsdd.WSDDDeployment.getService(WSDDDeployment


thanx
Jay


----- Original Message -----
From: <be...@wahlao.com>
To: <ax...@ws.apache.org>
Sent: Friday, February 28, 2003 7:00 PM
Subject: Re: attachments samples


> Hi,
>
> This is because the mail.jar is not found in your AXIS client classpath.
> When sending with attachment, AXIS client will actually check if the
> javax.mail.internet.MimeMultipart is in the classpath.
>
> Try to put mail.jar in your AXIS client classpath.
>
>
> > i tried running the attachments samples but it gave the below exception
> >
> > java.io.IOException: No support for attachments
> >        at org.apache.axis.AxisFault.makeFault(AxisFault.java:120) at
> >        org.apache.axis.SOAPPart.writeTo(SOAPPart.java:275)
> >        at org.apache.axis.SOAPPart.getAsString(SOAPPart.java:488) at
> >        org.apache.axis.SOAPPart.getAsBytes(SOAPPart.java:379)
> >        at org.apache.axis.Message.getContentType(Message.java:400) at
> > org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.ja
> > va:345)
> >        at
> > org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:127)
> >
> >        at
> > org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
> > y.java:71)
> >        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
> >        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126) at
> >        org.apache.axis.client.AxisClient.invoke(AxisClient.java:182) at
> >        org.apache.axis.client.Call.invokeEngine(Call.java:2113) at
> >        org.apache.axis.client.Call.invoke(Call.java:2102)
> >        at org.apache.axis.client.Call.invoke(Call.java:1851)
> >        at org.apache.axis.client.Call.invoke(Call.java:1777)
> >        at org.apache.axis.client.Call.invoke(Call.java:1315)
> >
> >
> >   did any one get this kinda  problem
> >
> > jay
>
>
>
>

Re: attachments samples

Posted by be...@wahlao.com.
Hi,

This is because the mail.jar is not found in your AXIS client classpath.
When sending with attachment, AXIS client will actually check if the
javax.mail.internet.MimeMultipart is in the classpath.

Try to put mail.jar in your AXIS client classpath.


> i tried running the attachments samples but it gave the below exception
>
> java.io.IOException: No support for attachments
>        at org.apache.axis.AxisFault.makeFault(AxisFault.java:120) at
>        org.apache.axis.SOAPPart.writeTo(SOAPPart.java:275)
>        at org.apache.axis.SOAPPart.getAsString(SOAPPart.java:488) at
>        org.apache.axis.SOAPPart.getAsBytes(SOAPPart.java:379)
>        at org.apache.axis.Message.getContentType(Message.java:400) at
> org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.ja
> va:345)
>        at
> org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:127)
>
>        at
> org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
> y.java:71)
>        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
>        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126) at
>        org.apache.axis.client.AxisClient.invoke(AxisClient.java:182) at
>        org.apache.axis.client.Call.invokeEngine(Call.java:2113) at
>        org.apache.axis.client.Call.invoke(Call.java:2102)
>        at org.apache.axis.client.Call.invoke(Call.java:1851)
>        at org.apache.axis.client.Call.invoke(Call.java:1777)
>        at org.apache.axis.client.Call.invoke(Call.java:1315)
>
>
>   did any one get this kinda  problem
>
> jay




attachments samples

Posted by jay k <jm...@cisco.com>.
 i tried running the attachments samples but it gave the below exception

java.io.IOException: No support for attachments
        at org.apache.axis.AxisFault.makeFault(AxisFault.java:120)
        at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:275)
        at org.apache.axis.SOAPPart.getAsString(SOAPPart.java:488)
        at org.apache.axis.SOAPPart.getAsBytes(SOAPPart.java:379)
        at org.apache.axis.Message.getContentType(Message.java:400)
        at
org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.ja
va:345)
        at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:127)

        at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
y.java:71)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:182)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2113)
        at org.apache.axis.client.Call.invoke(Call.java:2102)
        at org.apache.axis.client.Call.invoke(Call.java:1851)
        at org.apache.axis.client.Call.invoke(Call.java:1777)
        at org.apache.axis.client.Call.invoke(Call.java:1315)


   did any one get this kinda  problem

jay