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: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> 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



Reply via email to