Skip to Content
avatar image
Former Member

very strange problem with

Hi

I have a very strange problem I don't know weather its correct or not. I am creating a webservice for BAPI_USER_GET_DETAIL and in that there is a compulsory structure named as return so will that make any difference as return is the keyword in java?

I am getting bellow exception in the java

java.rmi.RemoteException: Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.XmlMarshalException: XML Serialization Error. Property [Return] of class [com.soa_vendorcreation.models.get_user_details.proxies.types.p1.UserGetDetail] must exist and can not be null. This is required by schema description.

Thanks

Ninad

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Mar 21, 2007 at 02:26 PM

    Hi Ninad,

    The WSDL contains an element called return

    which will result in a java class attribute called return.Ideally the import of WSDL should fail !!!

    So change the attribute and import it again.

    Regards,Anilkumar

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi

      I am not much famalier with ABAP stack so can you tell me the step by step procedure to change in VI or if you have any tutorial for that to change it?

      Thanks

      Ninad

      Message was edited by:

      Ninad

  • avatar image
    Former Member
    Mar 21, 2007 at 02:33 PM

    I think in ABAP WS tools there is way by which you can change the attribute in webservice VI.

    If so then you can rename the attribute in your VI to "myreturn" so that you it won;t create any problems in future.

    Regards,ANilkumar

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 21, 2007 at 04:22 PM

    Hi Ninad,

    Refer to the following thread which might be helpful to you.

    xmlmarshalexception

    Jhansi

    Add comment
    10|10000 characters needed characters exceeded