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 "Gurpreet Singh Dhanoa, HCL-Industry Solutions" <Gu...@hcl.in> on 2007/01/31 20:17:49 UTC

Problem with Document style WS

I have deployed my web service as a document style web service in Axis 1.4. Deployment descriptor for my service is

 

 

<deployment name="GetContentDeployment" xmlns="http://xml.apache.org/axis/wsdd/" 

            xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"

            xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance">

  <!-- note that either style="message" OR provider="java:MSG" both work -->

  <service name="GetContentService" style="document">

    <parameter name="className" value="com.hcl.ecm.interfaces.services.ECMGetContent" />

    <parameter name="allowedMethods" value="getContent" />

    <parameter name="scope" value="Application"/>

 

 </service>

</deployment>

 

When I am trying to invoke the web service I am getting an error message

 

- Please register a typemapping/beanmapping for 'com.hcl.ecm.interfaces.services.requests.ECMGetContentRequest'

 


can some one guide me what I need to do in order to get this error out ?

 

Thanks in advance!


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.17/661 - Release Date: 1/30/2007 11:30 PM
 


DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have 
received this email in error please delete it and notify the sender immediately. Before opening any mail and 
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------

RE: Problem with Document style WS

Posted by "Gurpreet Singh Dhanoa, HCL-Industry Solutions" <Gu...@hcl.in>.
Thanks a lot!

 

   _____  

From: Anne Thomas Manes [mailto:atmanes@gmail.com] 
Sent: Wednesday, January 31, 2007 3:05 PM
To: axis-user@ws.apache.org
Subject: Re: Problem with Document style WS

 

HYPERLINK "http://www.oio.de/axis-wsdd/"http://www.oio.de/axis-wsdd/



On 1/31/07, Gurpreet Singh Dhanoa, HCL-Industry Solutions <HYPERLINK "mailto:Gurpreetds@hcl.in" Gurpreetds@hcl.in> wrote:

Thanks! Can you refer me to the syntax. May be a example under the samples.

 

I have ECMGetContentRequest coming as a input parameter and the return type is of type String.

 

 

 

   _____  

From: Anne Thomas Manes [mailto:HYPERLINK "mailto:atmanes@gmail.com" \natmanes@gmail.com] 
Sent: Wednesday, January 31, 2007 2:51 PM
To: axis-HYPERLINK "mailto:user@ws.apache.org" \nuser@ws.apache.org
Subject: Re: Problem with Document style WS

 

Is ECMGetContentRequest defined as a bean? then just add beanmapping definition to the WSDD. (You should also add one for your response element.)

Anne

On 1/31/07, Gurpreet Singh Dhanoa, HCL-Industry Solutions <HYPERLINK "mailto:Gurpreetds@hcl.in" \nGurpreetds@hcl.in> wrote:

I have deployed my web service as a document style web service in Axis 1.4. Deployment descriptor for my service is

 

 

<deployment name="GetContentDeployment" xmlns="HYPERLINK "http://xml.apache.org/axis/wsdd/" \nhttp://xml.apache.org/axis/wsdd/" 

            xmlns:java="HYPERLINK "http://xml.apache.org/axis/wsdd/providers/java" \nhttp://xml.apache.org/axis/wsdd/providers/java"

            xmlns:xsi="HYPERLINK "http://www.w3.org/2000/10/XMLSchema-instance" \nhttp://www.w3.org/2000/10/XMLSchema-instance">

  <!-- note that either style="message" OR provider="java:MSG" both work -->

  <service name="GetContentService" style="document">

    <parameter name="className" value="com.hcl.ecm.interfaces.services.ECMGetContent" />

    <parameter name="allowedMethods" value="getContent" />

    <parameter name="scope" value="Application"/>

 

 </service>

</deployment>

 

When I am trying to invoke the web service I am getting an error message

 

- Please register a typemapping/beanmapping for 'com.hcl.ecm.interfaces.services.requests.ECMGetContentRequest'

 


can some one guide me what I need to do in order to get this error out ?

 

Thanks in advance!

 

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.17/661 - Release Date: 1/30/2007 11:30 PM


DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have 
received this email in error please delete it and notify the sender immediately. Before opening any mail and 
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------

 

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.17/661 - Release Date: 1/30/2007 11:30 PM

 

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.17/661 - Release Date: 1/30/2007 11:30 PM

 

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.17/661 - Release Date: 1/30/2007 11:30 PM


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.17/661 - Release Date: 1/30/2007 11:30 PM
 

Re: Problem with Document style WS

Posted by Anne Thomas Manes <at...@gmail.com>.
http://www.oio.de/axis-wsdd/


On 1/31/07, Gurpreet Singh Dhanoa, HCL-Industry Solutions <Gu...@hcl.in>
wrote:
>
>  Thanks! Can you refer me to the syntax. May be a example under the
> samples.
>
>
>
> I have ECMGetContentRequest coming as a input parameter and the return
> type is of type String.
>
>
>
>
>
>
>  ------------------------------
>
> *From:* Anne Thomas Manes [mailto:atmanes@gmail.com]
> *Sent:* Wednesday, January 31, 2007 2:51 PM
> *To:* axis-user@ws.apache.org
> *Subject:* Re: Problem with Document style WS
>
>
>
> Is ECMGetContentRequest defined as a bean? then just add beanmapping
> definition to the WSDD. (You should also add one for your response element.)
>
> Anne
>
> On 1/31/07, *Gurpreet Singh Dhanoa, HCL-Industry Solutions* <
> Gurpreetds@hcl.in> wrote:
>
> I have deployed my web service as a document style web service in Axis 1.4.
> Deployment descriptor for my service is
>
>
>
>
>
> <deployment name="GetContentDeployment" xmlns="
> http://xml.apache.org/axis/wsdd/"
>
>             xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"
>
>             xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance">
>
>   <!-- note that either style="message" OR provider="java:MSG" both work
> -->
>
>   <service name="GetContentService" style="document">
>
>     <parameter name="className" value="
> com.hcl.ecm.interfaces.services.ECMGetContent" />
>
>     <parameter name="allowedMethods" value="getContent" />
>
>     <parameter name="scope" value="Application"/>
>
>
>
>  </service>
>
> </deployment>
>
>
>
> When I am trying to invoke the web service I am getting an error message
>
>
>
> - Please register a typemapping/beanmapping for '
> com.hcl.ecm.interfaces.services.requests.ECMGetContentRequest'
>
>
>
>
> can some one guide me what I need to do in order to get this error out ?
>
>
>
> Thanks in advance!
>
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.432 / Virus Database: 268.17.17/661 - Release Date: 1/30/2007
> 11:30 PM
>
> DISCLAIMER:
>
> -----------------------------------------------------------------------------------------------------------------------
>
> The contents of this e-mail and any attachment(s) are confidential and
> intended for the named recipient(s) only.
> It shall not attach any liability on the originator or HCL or its
> affiliates. Any views or opinions presented in
> this email are solely those of the author and may not necessarily reflect
> the opinions of HCL or its affiliates.
> Any form of reproduction, dissemination, copying, disclosure,
> modification, distribution and / or publication of
> this message without the prior written consent of the author of this
> e-mail is strictly prohibited. If you have
> received this email in error please delete it and notify the sender
> immediately. Before opening any mail and
> attachments please check them for viruses and defect.
>
>
> -----------------------------------------------------------------------------------------------------------------------
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.432 / Virus Database: 268.17.17/661 - Release Date: 1/30/2007
> 11:30 PM
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.432 / Virus Database: 268.17.17/661 - Release Date: 1/30/2007
> 11:30 PM
>

RE: Problem with Document style WS

Posted by "Gurpreet Singh Dhanoa, HCL-Industry Solutions" <Gu...@hcl.in>.
Thanks! Can you refer me to the syntax. May be a example under the samples.

 

I have ECMGetContentRequest coming as a input parameter and the return type is of type String.

 

 

 

   _____  

From: Anne Thomas Manes [mailto:atmanes@gmail.com] 
Sent: Wednesday, January 31, 2007 2:51 PM
To: axis-user@ws.apache.org
Subject: Re: Problem with Document style WS

 

Is ECMGetContentRequest defined as a bean? then just add beanmapping definition to the WSDD. (You should also add one for your response element.)

Anne

On 1/31/07, Gurpreet Singh Dhanoa, HCL-Industry Solutions <HYPERLINK "mailto:Gurpreetds@hcl.in"Gurpreetds@hcl.in> wrote:

I have deployed my web service as a document style web service in Axis 1.4. Deployment descriptor for my service is

 

 

<deployment name="GetContentDeployment" xmlns="HYPERLINK "http://xml.apache.org/axis/wsdd/" \nhttp://xml.apache.org/axis/wsdd/" 

            xmlns:java="HYPERLINK "http://xml.apache.org/axis/wsdd/providers/java" \nhttp://xml.apache.org/axis/wsdd/providers/java"

            xmlns:xsi="HYPERLINK "http://www.w3.org/2000/10/XMLSchema-instance" \nhttp://www.w3.org/2000/10/XMLSchema-instance">

  <!-- note that either style="message" OR provider="java:MSG" both work -->

  <service name="GetContentService" style="document">

    <parameter name="className" value="com.hcl.ecm.interfaces.services.ECMGetContent" />

    <parameter name="allowedMethods" value="getContent" />

    <parameter name="scope" value="Application"/>

 

 </service>

</deployment>

 

When I am trying to invoke the web service I am getting an error message

 

- Please register a typemapping/beanmapping for 'com.hcl.ecm.interfaces.services.requests.ECMGetContentRequest'

 


can some one guide me what I need to do in order to get this error out ?

 

Thanks in advance!

 

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.17/661 - Release Date: 1/30/2007 11:30 PM


DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have 
received this email in error please delete it and notify the sender immediately. Before opening any mail and 
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------

 

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.17/661 - Release Date: 1/30/2007 11:30 PM


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.17/661 - Release Date: 1/30/2007 11:30 PM
 

Re: Problem with Document style WS

Posted by Anne Thomas Manes <at...@gmail.com>.
Is ECMGetContentRequest defined as a bean? then just add beanmapping
definition to the WSDD. (You should also add one for your response element.)

Anne

On 1/31/07, Gurpreet Singh Dhanoa, HCL-Industry Solutions <Gu...@hcl.in>
wrote:
>
>  I have deployed my web service as a document style web service in Axis
> 1.4. Deployment descriptor for my service is
>
>
>
>
>
> <deployment name="GetContentDeployment" xmlns="
> http://xml.apache.org/axis/wsdd/"
>
>             xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"
>
>             xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance">
>
>   <!-- note that either style="message" OR provider="java:MSG" both work
> -->
>
>   <service name="GetContentService" style="document">
>
>     <parameter name="className" value="
> com.hcl.ecm.interfaces.services.ECMGetContent" />
>
>     <parameter name="allowedMethods" value="getContent" />
>
>     <parameter name="scope" value="Application"/>
>
>
>
>  </service>
>
> </deployment>
>
>
>
> When I am trying to invoke the web service I am getting an error message
>
>
>
> - Please register a typemapping/beanmapping for '
> com.hcl.ecm.interfaces.services.requests.ECMGetContentRequest'
>
>
>
>
> can some one guide me what I need to do in order to get this error out ?
>
>
>
> Thanks in advance!
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.432 / Virus Database: 268.17.17/661 - Release Date: 1/30/2007
> 11:30 PM
>  DISCLAIMER:
>
> -----------------------------------------------------------------------------------------------------------------------
>
> The contents of this e-mail and any attachment(s) are confidential and
> intended for the named recipient(s) only.
> It shall not attach any liability on the originator or HCL or its
> affiliates. Any views or opinions presented in
> this email are solely those of the author and may not necessarily reflect
> the opinions of HCL or its affiliates.
> Any form of reproduction, dissemination, copying, disclosure,
> modification, distribution and / or publication of
> this message without the prior written consent of the author of this
> e-mail is strictly prohibited. If you have
> received this email in error please delete it and notify the sender
> immediately. Before opening any mail and
> attachments please check them for viruses and defect.
>
>
> -----------------------------------------------------------------------------------------------------------------------
>