Problem invoking document type webservices with SAAJ

I cannot invoke document type webservices with SAAJ. No problems invoking rpc-style services. Can anyone help me to invoke doc-type webservices with SAAJ. Very urgent. Thank you.

Siva Sankar
You may use Field Exit to do this enhancement. You can create fieldexit from report RSMODPRF.
In order to use field exit check/activate Profile Parameter abap/fieldexit using t code RZ11.
Thanks & regards
Amol Lohade

Similar Messages

  • Sales Document Type K with negative price

    Hi
    Please, I have the following error. I defined a sales document type ZS01 with sales document category "K - Credit memo Request".
    When i create a sales order ZS01 and define price 1000 USD in PR00 condition type the price is converted to negative ( - ). I changed K for C (Order) and try again created another sales order and when I define the price 1000 USD in PR00 they no change
    Why the price is changed a negative value in sales order with sales document category K?
    Best Regards
    Enrique

    Hi Enrique,
    There is nothing to do with the sales document category here.You can set that one to K only.
    This setting is done in Condition type.
    Goto V/06 T.Code or follow thw path:
    SPRO>Sales and Distribution>Basic functions>Pricing>Pricing Control>Define Condition types>Maintain Condition types.
    Here search for Pr00 using position option.Select that line and goto details.In Control data1 tab there is a field calles ad plus/minus.
    For your case it might be set as "X".Remove that one.
    Save.
    Regards,
    Krishna.

  • Are there problems if we develop webservices with 1.4.2, but use 1.5.0?

    Hi all,
    I hope you may help me in one question.
    We develop webservices for IBM WAS 6.0 (java 1.4.2) with connection to oracle 9i and WMQ 5.3CDS12.
    But now we want to change the environment to IBM WAS 6.1 (including java 1.5.0).
    Are there problems if we develop webservices with 1.4.2 but using java 1.5.0 on websphere?
    Or should we use java 1.4.2 on websphere app server 6.1? I think WAS don't run under 1.4.2?!
    I hope you can help me.
    Thank you.
    SY,
    Marc

    You only need a new certificate when the old one expires. Changing JDKs has nothing to do with it.

  • Problem changing Document Type in tx. COMM_PCAT_ADM

    Hi experts,
    In tx. COMM_PCAT_ADM, in a catalog area, i double click on Item overview, then i click on Item Documents from Item Details. There I can see all the folders with their images in case they have any.
    I have to change the document type in the item's properties. If i do this at folder level properties, the image keeps ok But if i change the document type at the image level properties, the image disappears from my "tree". What i need is the first case (the image mustn't disappear).
    Does any body know how can i solve it ??? Is it possible ?? or in case the user changes the document type at the image level, he will have to attach again the image manually ???
    Thanks in advance !!!!
    Regards,
    Maria

    Hi Maria,
    Did you figure out how to best implement an authorization check in transaction COMM_PCAT_ADM? I am facing exactly the same problem and would appreciate your input.
    Thanks,
    Andreas

  • Document type controll with respect to plant

    Hi,
    I have created two document type NB & ZB for purchase requisition , my requirement is whenever i select plant 1 in item level it should select N document type and for plant 2 ZB doc type, if  end user select wrong document type for plant for ex: ZB for plant 1 system should give  error message.
                                                                                    thnx.

    You have to use ,user exist for that take help of your abaper

  • Problem opening documents no SSO with rich client integration ( ADFS 3.0 + WAP + SharePoint 2013 )

    At our customer we deployed, ADFS 3.0 and the web application proxy, to provide external users access to SharePoint 2013.
    we went with this solution as UAG is pretty much gone now.
    Every time a editor opens up a office document he/she is prompted for password.
    I have checked that the URLs is in the intranet Zone, and that the webclient is configured for passing on credentials.
    We are using kerberos and Non-claim-aware relying parties.
    Please advise, we really really rally need a SSO experience as we had when using UAG.
    Best regards
    Michael Thøgersen
    Best regards Michael Thøgersen

    Hi,
    Check your browser definitions:
    on IE go to tools -> internet options -> security -> custom level -> User Athuntication.
    Set it on "Automatic user name and password" (the third radio button)

  • Problem Invoking a EBIZ webservice from ABC Service

    Hi,
    I need to invoke a webservice of EBIZ in a ABC Service.For that I created a partner link of the webservice and created the properties wsseHeaders,wsseUsername,wssePassword in the partnerlink for ebiz service call and I also have this properties defined in my bpel.xml
    <property name="wsseHeaders">credentials</property>
    <property name="wsseUsername">sysadmin</property>
    <property name="wssePassword">sysadmin</property>
    And I have given grant to this particular service for all users.
    and when trying to Invoke the webservice Iam getting the error as
    <messages><input><GINInput><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="header"><ServiceBean_Header xmlns="http://xmlns.oracle.com/apps/fnd/ServiceBean"/>
    </part><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="body"><GenerateItemNumberService_GetItemNumberDescription xmlns:tns1="http://xmlns.oracle.com/apps/inv/ebi/item" xmlns="http://xmlns.oracle.com/apps/inv/ebi/item">
    <itemCatalogCategoryName xmlns=""/>
    </GenerateItemNumberService_GetItemNumberDescription>
    </part></GINInput></input><fault><remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>InvalidSecurity</code>
    </part><part name="summary"><summary>Missing <wsse:Security> in SOAP Header</summary>
    </part><part name="detail"><detail>null</detail>
    </part></remoteFault></fault></messages>
    <remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>InvalidSecurity</code>
    </part><part name="summary"><summary>Missing <wsse:Security> in SOAP Header</summary>
    </part><part name="detail"><detail>null</detail>
    </part></remoteFault>
    But the credentials Iam passing are perfectly correct.
    Can any one please help me in the issue....
    Thanks,
    K.Harika Reddy

    I got the solution for my broblem.
    We have a add an extra property in bpel.xml for the version 10.1.3.4.
    <property name="wsseOASIS2004Compliant">true</property>
    Thanks,
    K.Harika Reddy.

  • Problem invoking weservice of SOAP Document style with literal encoding in

    I have a webservice with Document type and with literal encoding which is deployed in weblogic. This webservice has got two methods both with no argument. If I try to invoke using weblogic interface for testing the webservice, only one method is able to invoke.The other method gives invokation error.The Soap request which is going is to this webservice is with empty body.
    the request looks like this
    <!--REQUEST.................-->
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <env:Body>
    </env:Body>
    </env:Envelope>
    If I am changing one method signatuer in such a way that it has one argument then both methods are able to invoke.
    While I am using SAAJ api If I am trying to give the method name in the SOAP request it gives error.
    Can anybody help on this.
    tech gent

    I have realised I was using saaj 1.1 (from jwsdp 1.3) and so have updated to use 1.2 now. But the problem is still there. Should saaj 1.2 support literal encoding? I got the impression from it saying it includes "support for ws-i".

  • Assignment of billing document type with accounting document type

    Hi
    I need one information regarding SD Billing Document type assignment with accounting document types.
       Here CRM people asking me where we can see if the Billing doc type is BV( Cash Sale)  accounting document should be RV
    Just go to T.Code VOFA for Billing document types. Based on this only system generate the Accouning documents RV, AB so onu2026u2026.
    But how it is determining this accouning document type they want to know.
    Pls advice

    In VOFA where it says Document type enter the FI doc type they want to post to. Otherwise it defaults to RV.
    pls assign pts to say thanks.

  • One particular Po document type with reference to one particular PR documen

    Dear all
           I want to create one PO for a particular document type only with reference to one PR, that to after release of PR, how can i do it.

    Hi
    Goto, OLME ---> PO ---> Define Document types -
    > Choose your PO Doc.Type...> there in Linking PR and PO Doc.Type....allow your PR doc.Type only.....
    Also in OLME -
    > PR -
    > Define Document types -
    > Choose your PR Doc.Type...>There also you maintain this PR Doc.type only as ref. to your PO doc. type....
    Then Configure Release Statergy in such that All your new PR Doc. type PRs should gone thro the Release Statergy.....(use field CEKKO-BSART)
    Reward if useful
    Regards
    S.Baskaran

  • Example for calling document type service using a XML

    Hi,
    Can anybody give me some pointers to any examples about Document type webservice
    that is passed an XML document? The service expects a custom java object.
    I am running WLS 7.0 with sp2.
    This is what i have done so far:
    I have created a document type web-service with the following signature
    public CustomReturnObject provideService(customParameter) { }
    The 'customParameter' is based on a "CustomParameter.xsd" and 'CustomReturnObject'
    is based on its schema. I ran the "autotype" to generate the java classes for
    the schema.
    Now, we would like to invoke the service by passing an XML document instead of
    calling it by creating instances of "CustomParameter" java class. Also we would
    like to get the XML represented by "CustomReturnObject" in the client program
    instead of the java object.
    Can anybody help?
    Thanks
    Raghu

    The latest version of WLS is 8.1.
    I think the the "endpoint" needs to be string.
    String endpoint =
    http://RASUBR-2K:7001/SubscriptionServicesWS/SSApplicationService.jws;
    Regards,
    -manoj.
    http://manojc.com
    "Raghu Subramaniam" <[email protected]> wrote in message
    news:[email protected]...
    >
    SAAJ did work!
    But it is not working with the BEA client libraries (WLS 8.0 Beta). I amgetting
    the following exception
    exception ejava.lang.IllegalArgumentException: endpoint shou
    ld be String or URL
    java.lang.IllegalArgumentException: endpoint should be String or URL
    atweblogic.webservice.core.soap.SOAPConnectionImpl.call(SOAPConnectionI
    mpl.java:43)
    at TestMain.main(TestMain.java:51)
    Attached is my test file.
    I used the libraries from Sun's web services kit and it works.
    Is it a known problem? Any fixes?
    Raghu
    "manoj cheenath" <[email protected]> wrote:
    SAAJ will work. You can also use DII client with
    generic type mapping. Check this out:
    http://manojc.com/tutorial/sample27/Main.java
    Regards,
    -manoj
    http://manojc.com
    "Raghu Subramaniam" <[email protected]> wrote in message
    news:[email protected]...
    But how did you call the web service. Did you use the stubs in yourclient
    code?
    We don't want to use the stubs generated from "clientgen". Rather wantto
    call
    the service by passing a XML string that adheres to our schema expectedby
    our
    service. Our service is document-style.
    I am trying to use the SAAJ api to generate a SOAPMessage and callthe
    service.
    Anybody has tried this before. Does it work?
    Raghu
    "Mike DeAngelo" <[email protected]> wrote:
    I just did this the first time a few weeks ago, but I had some
    gotchas...
    >>>>
    First, run the autotype ant task against your xsd file to generateyour
    value
    objects (I think you already did this).
    Second, write your java class or EJB to use the value objects asparameter/return
    type. (I think you did this too.) If you are going to invoke anEJB,
    create
    the EJB-Jar file.
    Third, use the servicegen ant task to create the an ear file. Theear
    file will
    contain both the ejb-jar and file webservice.war which is generatedby
    weblogic.
    Fourth, unbundle the ear file, then unbundle the war file. Edit the
    file WEB-INF/web-service.xml
    Add the contents of your original xsd under the <types> element (iftypes
    doesn't
    exist, it should be the first subelement under the root element).Add
    the contents
    of types.xml (generated by autotype) to the <type-mapping> element(It
    should
    be the second element under the root element.
    Rebundle the war file, rebundle the ear file, and deploy it.
    Here is a fragment of the ant stuff...
    <taskdef name="servicegen"
    classname="weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask"/>
    <target name="check-servicegen" depends="stage">
    <uptodate property="servicegen.notRequired"
    targetfile="${stage}/my_webservice.ear"
    srcfile="${stage}/my_ejb.jar">
    </uptodate>
    </target>
    <target name="servicegen"
    depends="check-servicegen"
    unless="servicegen.notRequired">
    <servicegen destEar="${stage}/my_webservice.ear"
    warName="my_webservice.war">
    <classpath refid="compile.classpath"/>
    <service ejbJar="${stage}/my_ejb.jar"
    targetNamespace="http://foo/bar/baz"
    serviceName="process"
    serviceURI="/process"
    generateTypes="False"
    expandMethods="True"
    style="document">
    </service>
    </servicegen>
    </target>
    Mike
    "Raghu Subramaniam" <[email protected]> wrote:
    Hi,
    Can anybody give me some pointers to any examples about Document
    type
    webservice
    that is passed an XML document? The service expects a custom javaobject.
    I am running WLS 7.0 with sp2.
    This is what i have done so far:
    I have created a document type web-service with the following
    signature
    >>>>>
    public CustomReturnObject provideService(customParameter) { }
    The 'customParameter' is based on a "CustomParameter.xsd" and'CustomReturnObject'
    is based on its schema. I ran the "autotype" to generate the javaclasses
    for
    the schema.
    Now, we would like to invoke the service by passing an XML documentinstead
    of
    calling it by creating instances of "CustomParameter" java class.
    Also
    we would
    like to get the XML represented by "CustomReturnObject" in the client
    program
    instead of the java object.
    Can anybody help?
    Thanks
    Raghu

  • List all documents types in a XML file...

    Hi, i want to list all document files that are on the portal and make a XML file with result. I found the Interface Query where i can use "search" method. Is there a way to use the APIs from hyperion, i try to do a servlet and obtain a list of all document type like with NAME, DATE CREATED, TYPE, UUID, DESC, etc.. The list can be order by NAME, DATE, etc... And put the result in a XML file. Is it possible to do this with that Hyperion API, or i spend my time to find the solution with this restricted/limited APIs? And first, is there a documentation for the developpers on what we can do with API's Hyperion? The JavaDoc Hyperion just give a little bit information, nothing consisting!! Thanks in advance for any help : [email protected]!Max

    hello
    you can rename the wsp with a.rar or a.cab extension and take a look inside
    Best regards, Christopher.
    Blog |
    Mail
    Please remember to click "Mark As Answer" if a post solves your problem or
    "Vote As Helpful" if it was useful.
    Why mark as answer?

  • VF11 wrongly created with RV Doc type and with not clear status.

    Hi All
    Issue: There are 2 billing documents which were created(VF01) in March are canceled (VF11) in May. Cancel document is saved with a message (No automatic clearing of billing document XXXXXXXXX) and message diagnosis saying that u201CThe Automatic clearing of billing document and reversal is not possible. This may be, for example, because the line item update is deactivatedu201D
      In the SD document flow cancel billing document is created and it's posted to accounting with Document type RV(which is not configured in the billing  types) and it is in not clear status.
    2 Sales order types are ZNRC(No Rebate u2013 Credit)    second is ZCR (CM Req With Refer).
    Order Type  : ZNRC , Billing type :ZG2, Cancel billing type :Z5, Accounting document in billing type for ZG2: is DG and accounting document in cancel billing type Z5 is :(_) blank.
    Order type:  ZCR Billing type :G2, Cancel billing type :S2, Accounting document in billing type for G2: is DG and accounting document in cancel billing type S2 is :(_) blank.                                                
          FI document type Not maintained in the cancel billing type configuration because this should be determine by reversal document type DA which is maintained in DG document type from FI side. It will be triggered in VF11)
    The above configuration is working with the order created VA01,billing VF01 and cancelling VF11 done in same period. If the order and billing done in old period and canceling(VF11) done in current period than FI document creating with RV document type and with not clear status in the document flow.
    I reviewed similar issues with SAP Note and with below explanation:
              "There are 2 procedures that are possible when Vf11 is posted.
              Old Procedure - An FI "Reversal" document was created that was not connected with the orignal.
              New Procedure - A Real FI reversal was carried out with clearing."
    In this case, our system is following with new procedure except above mentioned orders created in previous period and and canceled in current period.
      My Questions are: How the RV document is getting triggered here? why the cancel document (Reversal FI Doc) is not clearing?
         Appreciate your answers or suggestions.
    Thanks in advance,
    Sunil
    Edited by: Sunil kumar Matta on Jun 9, 2011 3:40 PM

    Thank you Ivano.
      I referred SAP note 1259505 and 339928. But initially we thought of none of the symptoms mentioned in the SAP note are matching with our issue. Then we contacted SAP online support and they suggested checking one SAP note (Mentioned above).
      Our system is following new cancellation procedure, but itu2019s failing only for some few documents.
      Finally we identified several reasons for the issue. One is profitability segment in the billing document and cancelled document is different due to some changes in segment assignments. Another one is consolidation- consolidation document does not exist in the billing document list but it is getting created in Canceled document (VF11).(Consolidation postings are switched off some time back and now itu2019s on)
      After some discussions it is decided to include accounting document type (Reversal) in cancel billing types to avoid default RV document type in canceled billing document accounting document. And non-cleared documents need to be created manually in F-32.
      Thread is closed.
    Sunil

  • PO document type change

    Dear Gurus,
    We have two PO document type, RLBP & RLPM. Whenever order is created in RLBP & released,  if user wants to change the PO, system ask to get the PO block & allow us to change. And if PO is created with RLPM, after release also system allows user to change the PO without asking to Block. This is how system is configured.
    During migration few PO were wrongly migrated to RLBP instead of RLPM due to which system is not allowing us to change the PO once it is released. It is asking to block the PO first.
    As these orders are of  very very high value & bank guarantees are also issued, we cann't change the order no. & also users have  objection to go to higher authorities for release.
    To tackle this issue, to change the document type from RLBP to RLPM, we created another document type RLPP with same no. range & assigned the same release procedure as of RLPM. This way system allowed us to change the document type of PO to RLPP from RLBP & released strategy worked as per our requirement. But system allowed us to change the document type of POs where there is material & doesn't allowing us to change the document type where there is pure service or combination of material & service (coming as grey ).
    Can somebody guide us why system is allowing us to change the document type of only material PO & not for service and what settings we should look for so that it allows to change the document type for service PO.
    Pl. help.
    regards,
    Vinay

    Hi,
    Thanks fior the reply.
    We have kept the field selection key same for both the document type therefore  system allowed us to change the document type.
    It is allowing us to change the document type only for material but not for services.
    Pl. help.
    regards,
    Vinay

  • DMS Document Type - Repository

    Hi Experts,
    Need a help.
    Is this possible to link DMS document type (created with help of DC20) with dedicated content repository (OAC0)?
    Regards
    Adam

    Hi Adam,
    If you do not select the "KPRO" indicator then your original files will get uploaded on SAP database with different storage category.
    You can have different category for different document type...provided while uploading the document/file from CV01N/CV02N you should select the correct category from the pop up.
    Thanks
    Pravin

Maybe you are looking for

  • Can I cancel my Creative Cloud membership and still use Photoshop on my computer?

    I have the month-to-month Creative Cloud membership and am curious if I would be able to cancel my Creative Cloud membership and still have access to everything still involved with my Photoshop downloaded onto my computer?

  • Error Records-File-To-Idoc

    Hi all, In processing of File-To-Idocs, if we get any error in particular record by the follwoing situations how XI will handle, 1) Wrong value in record. 2) Due to strcuture change happend to the particular record 3) value range is different than ex

  • Magic Extractor

    Hello Guys: Green Newbie here. I'm working with the Magic Extractor getting rid of my background, and was using the zoom tool while using my foreground brush selecting, and can't figure out how to zoom back out after zooming in??? Help!!! Connie

  • CS5 Master Collection Box Set - Where is Acrobat Pro 9 serial number?

    Hi there- I recently purchased the CS5 Master Collection Box Set - Student and Teacher edition. I have already properly registered myself as a Student with Adobe, and gotten a serial number which activated the Master Collection, but not apparently Ac

  • HT2204 why has my Apple ID been disabled?

    I have a balance of $3.32 for music, but I am unable to purchase, my Apple ID has been disabled. Is it because of the balance, is there a cut off amount?Lillian