Web Services Upload Document

I'm having trouble getting an upload URL for an AddCourse call. It says to make the call:
https://deimos.apple.com/WebObjects/Core.woa/API/GetUploadURL/valenciacc.edu.127 9686253
Additionally, valenciacc.edu.1279686253 is the iTunes U identifier for the tab. Where can I find this identifier? I'm trying to add some courses under a certain section.
Thanks,
Doug Johnson
Valencia Community College

I am having the identical problem as Mazhar.
I however, have not been able to upload an xml file like him.
I am getting an HttpStatus code 403 Forbidden.
I am using jakartas HttpClient and/or curl.
My tokens work to get showTree responses just fine, so I don't have any reason to suspect my credentials string.
Here is the url I am sending using a get method:
https://deimos.apple.com/WebObjects/Core.woa/API/GetUploadURL/myschool.edu.13249 41395.01324941402?credentials=Administrator%40urn%3Amace%3Aitunesu.com%3Asites%3 Amyschool.edu&identity=%22joebloe%22%3Cjoe.blow%40myschool.edu%3E+%28joeblow%29%5B23413%5D&time=1181696654&signature=4a10e710f123dde248f2bac1684171601d973d564b 2d6696314d1d5c3b5cd319
Scratching my head... Mazhar, have you figured it out yet?
Any help, well, mui appreciado.

Similar Messages

  • Web Service Design Document Template

    Hi Experts,
    Can anyone please send me the good "Web Service Design Document (Tech Spec) Template" please?
    Thanks,
    Shriram.

    Hi,
    I was also getting same error once...However i was able to see my web service definition in F4. Selecting from F4 list was working fine but if i entered the name mannually, i was getting the same message as you got...may be its a Bug..
    Just to assist you, Have to activated the webservice from SICF before going for deployment using template or Adobe ?
    Just check if you have maintained the webservice in SICF.
    Thanks & Regards,
    Suchita

  • Problem with web service for document template

    Hi, I am trying to set up a web service to use with a word template (I use the template designer). The problem is that when I press the 'Test Page' button in the web service tool, I get an error : "Error retrieving URL to Web service test page ...'. I have searched the forum and made sure that the correct J2EE hostname/port is being used, as well as making sure the user/ password is set for the service. I have no idea how to proceed, please help me!
    Best Regards Eva
    ps. I can press the WSDL button in the web service tool and the web page opens correctly displaying the xml. Also, I create the template with static text as well as the posts requested by the service and the word document opens displaying only the static text...

    Hello,
    Where have you made this setup. Is it in the WSADMIN or in the SOAMANAGER??
    Regards,
    Varsha

  • Problem in Jdeveloper 10.1.3, web services and document style.possible bug?

    Hello!
    I would like to generate a document-style web service from a wsdl file. The problem is that when I use it I get the following error:
    "operation echoStruct must have exactly one parameter as part of the SOAP body when used with a document-bare binding. All other parameters must be mapped to headers."
    A similar message is shown with other wsdl file that I'm using.
    I'm attaching the file that use to test it.
    Could you help me and tell me how I can fix it, please? or is it a bug?
    Regards,
    Antonio.
    <definitions xmlns:s1="http://soapinterop.org" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://soapinterop.org/xsd" xmlns:s2="http://soapinterop.org/AbstractTypes" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://soapinterop.org">
         <types>
              <s:schema elementFormDefault="qualified" targetNamespace="http://soapinterop.org/xsd">
                   <s:import namespace="http://soapinterop.org"/>
                   <s:element name="echoStructParam" type="s0:SOAPStruct"/>
                   <s:complexType name="SOAPStruct">
                        <s:sequence>
                             <s:element minOccurs="1" maxOccurs="1" name="varFloat" type="s:float"/>
                             <s:element minOccurs="1" maxOccurs="1" name="varInt" type="s:int"/>
                             <s:element minOccurs="0" maxOccurs="1" name="varString" type="s:string"/>
                        </s:sequence>
                   </s:complexType>
                   <s:element name="echoStructReturn" type="s0:SOAPStruct"/>
                   <s:element name="echoStringArrayParam" type="s1:ArrayOfString"/>
                   <s:element name="string" type="s:string"/>
                   <s:element name="echoStringArrayReturn" type="s1:ArrayOfString"/>
                   <s:element name="echoStringParam" type="s:string"/>
                   <s:element name="echoStringReturn" type="s:string"/>
              </s:schema>
              <s:schema elementFormDefault="qualified" targetNamespace="http://soapinterop.org">
                   <s:import namespace="http://soapinterop.org/xsd"/>
                   <s:complexType name="ArrayOfString">
                        <s:sequence>
                             <s:element minOccurs="0" maxOccurs="unbounded" ref="s0:string"/>
                        </s:sequence>
                   </s:complexType>
                   <s:element name="ArrayOfString1" nillable="true" type="s1:ArrayOfString1"/>
                   <s:complexType name="ArrayOfString1">
                        <s:sequence>
                             <s:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="s:string"/>
                        </s:sequence>
                   </s:complexType>
                   <s:element name="string" nillable="true" type="s:string"/>
              </s:schema>
              <s:schema targetNamespace="http://soapinterop.org/AbstractTypes">
                   <s:complexType name="StringArray">
                        <s:complexContent mixed="false">
                             <s:restriction base="soapenc:Array">
                                  <s:sequence>
                                       <s:element minOccurs="0" maxOccurs="unbounded" name="String" type="s:string"/>
                                  </s:sequence>
                             </s:restriction>
                        </s:complexContent>
                   </s:complexType>
              </s:schema>
         </types>
         <message name="echoStructSoapIn">
              <part name="echoStructParam" element="s0:echoStructParam"/>
         </message>
         <message name="echoStructSoapOut">
              <part name="echoStructResult" element="s0:echoStructReturn"/>
         </message>
         <message name="echoStringArraySoapIn">
              <part name="echoStringArrayParam" element="s0:echoStringArrayParam"/>
         </message>
         <message name="echoStringArraySoapOut">
              <part name="echoStringArrayResult" element="s0:echoStringArrayReturn"/>
         </message>
         <message name="echoStringSoapIn">
              <part name="echoStringParam" element="s0:echoStringParam"/>
         </message>
         <message name="echoStringSoapOut">
              <part name="echoStringResult" element="s0:echoStringReturn"/>
         </message>
         <portType name="WSDLInteropTestDocLitSoap">
              <operation name="echoStruct">
                   <input message="s1:echoStructSoapIn"/>
                   <output message="s1:echoStructSoapOut"/>
              </operation>
              <operation name="echoStringArray">
                   <input message="s1:echoStringArraySoapIn"/>
                   <output message="s1:echoStringArraySoapOut"/>
              </operation>
              <operation name="echoString">
                   <input message="s1:echoStringSoapIn"/>
                   <output message="s1:echoStringSoapOut"/>
              </operation>
         </portType>
         <binding name="WSDLInteropTestDocLitSoap" type="s1:WSDLInteropTestDocLitSoap">
              <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
              <operation name="echoStruct">
                   <soap:operation soapAction="http://soapinterop.org/" style="document"/>
                   <input>
                        <soap:body use="literal"/>
                   </input>
                   <output>
                        <soap:body use="literal"/>
                   </output>
              </operation>
              <operation name="echoStringArray">
                   <soap:operation soapAction="http://soapinterop.org/" style="document"/>
                   <input>
                        <soap:body use="literal"/>
                   </input>
                   <output>
                        <soap:body use="literal"/>
                   </output>
              </operation>
              <operation name="echoString">
                   <soap:operation soapAction="http://soapinterop.org/" style="document"/>
                   <input>
                        <soap:body use="literal"/>
                   </input>
                   <output>
                        <soap:body use="literal"/>
                   </output>
              </operation>
         </binding>
         <service name="WSDLInteropTestDocLit">
              <port name="WSDLInteropTestDocLitSoap" binding="s1:WSDLInteropTestDocLitSoap">
                   <soap:address location="http://mssoapinterop.org/asmx/wsdl/InteropTestDocLit.asmx"/>
              </port>
         </service>
    </definitions>

    Dev update: WSDL file seems fine. The problem is that it's for a document-bare service and, by default, the Unwrap Wrapped Parameters option on step 2 of the top-down wizard is enabled and checked. This means that we try to pick apart the input message into a series of parameters, yielding the error shown because a document-bare operation must have only one input parameter.
    If the Unwrap Wrapped Parameters option is unchecked, creation of the top-down service will succeed. In future, we ought to disable the option completely for everything but document-wrapped services, as that's the only time it applies.
    This is covered by bug 4630382.

  • Web Service in Document Template Designer not showing

    Hi,
    I'm trying to create a new document template but the dropdown list is not showing any results even though we have web services that are active and productive.
    If I enter the name manually I am getting a "Please enter a valid Service definition name" error message.
    Has anybody seen this issue before?
    Thanks
    Gregor

    Hi,
    I was also getting same error once...However i was able to see my web service definition in F4. Selecting from F4 list was working fine but if i entered the name mannually, i was getting the same message as you got...may be its a Bug..
    Just to assist you, Have to activated the webservice from SICF before going for deployment using template or Adobe ?
    Just check if you have maintained the webservice in SICF.
    Thanks & Regards,
    Suchita

  • WEB Service Upload File

    Dear all,
    I have some files (50 files).
    if web service have a service flollowing:
    upload (String fileName,byte[] content);
    But if file more than 10M, how to upload to web service.
    Please show me a solution to upload 50 files or more with web service.
    Thank and regards.

    It looks like you just invoke that method with an array of bytes. If you have 50 files, do it 50 times (say, in a loop). You can get the array of bytes with a FileInputStream and a ByteArrayOutputStream, but I'll bet something in the java.nio package can do it more smoothly. (Check the docs; your googling will be as good as mine for that part.)
    The details will depend a lot on the web service itself; for that, talk to the provider of the service.

  • Web Services - Uploading Related Accounts

    Hi,
    I'm having a few problems uploading Related Accounts through web services. I'm using the AccountInsertOrUpdate method on the Account service from a .NET client (this is something that worked in earlier versions of Siebel OnDemand). The exception I get back is:
    "Cannot perform NewRecord on the business component 'VONDMED Account Relationship'(SBL-EAI-04421)"
    I've looked around in other forums / support web for Siebel Enterprise, and the consensus for this type of error message is that this is to do with the configuration of the EAI components Siebel side.
    Soap Trace:
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Body>
    <AccountWS_AccountInsertOrUpdate_Input xmlns="urn:crmondemand/ws/account/10/2004">
    <ListOfAccount xmlns="urn:/crmondemand/xml/account">
    <Account>
    <AccountId>ABHA-OWJ5Z</AccountId>
    <ExternalSystemId>L33346</ExternalSystemId>
    <ListOfRelatedAccount>
    <RelatedAccount>
    <RelatedAccountExternalId>D16726</RelatedAccountExternalId>
    <RelationshipStatus>Active</RelationshipStatus>
    <ReverseRelationshipRole>Parent Organisation</ReverseRelationshipRole>
    <RelationshipRole>Department to Hospital</RelationshipRole>
    <StartDate>10/18/2007</StartDate>
    </RelatedAccount>
    </ListOfRelatedAccount>
    </Account>
    </ListOfAccount>
    </AccountWS_AccountInsertOrUpdate_Input>
    </soap:Body>
    </soap:Envelope>
    Has anyone else run into this type of issue?

    Hi, I've seen this error on other projects I've worked on. This typically has to do with permission. Make sure that your role has permissions to create these records. If you know he AccountId you do not need to provide the ExternalSystemId in the SOAP request.
    - Bardo

  • Web Services,Delivery Document Adding Error  Could not commit Transaction

    Dear All,
       I am working with SAP Business One Web Services, While adding Delivery Document it's giving error  "Could not commit transaction"  Please Give your Suggestion It's urget.
    Thanks,
    Madhu
    9701155577

    Hi,
    Do you mean there is no journal entry created orthat the link is missing?
    If this really is a delivery for stock/inventory items there should be a journal entry, else it sounds like an error in SAP.
    Are there still changes in the stored procedure? Also have a look at the TansactionNotice. It is possible the roll back does not work correctly.
    Again sounds like an error.
    Doe sit happen all the time?
    Only for certain items?
    Are the stored procedures now clean?
    What Version are you using?
    Kind Regards,
    Friederike

  • Web service returning Document

    Hi,
    I need your help on this:
    I have a web service that returns a Document object (its an xml-SVG file).
    By direct call to the method "public static Document Chart(Object[] val) {"
    it returns a well formed file. When I try it returning a String it is also OK. When I return a Document it sent me errors (Sorry for the long list)
    The normal svg file is after the error message.
    Can you give me an example how to make a java client to request that xml Document and print it on the screen.
    // error
    org.xml.sax.SAXParseException: The markup in the document following the root element must be well-formed.
    at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1008)
    at org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocumentScanner.java:625)
    at org.apache.xerces.framework.XMLDocumentScanner.abortMarkup(XMLDocumentScanner.java:679)
    at org.apache.xerces.framework.XMLDocumentScanner$TrailingMiscDispatcher.dispatch(XMLDocumentScanner.java:1496)
    at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:380)
    at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
    at org.apache.soap.util.xml.XercesParserLiaison.read(XercesParserLiaison.java:85)
    at org.apache.soap.rpc.Call.invoke(Call.java:157)
    at cc432ass3.Client.main(Client.java:90)
    Caught SOAPException (SOAP-ENV:Protocol): <h1>Error: 500</h1>
    <h2>Location: /soap/servlet/rpcrouter</h2><b>Internal Servlet Error:</b><br><pre>javax.servlet.ServletException: Error building response en
    at org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:345)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
    at org.apache.tomcat.core.Handler.service(Handler.java:287)
    at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
    at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
    at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
    at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
    at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
    at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
    at java.lang.Thread.run(Thread.java:536)
    </pre>
    <b>Root cause:</b>
    <pre>java.lang.IllegalArgumentException: No Serializer found to serialize a 'org.jdom.Document' using encoding style 'http://schemas.xmlsoa
    at org.apache.soap.util.xml.XMLJavaMappingRegistry.querySerializer(XMLJavaMappingRegistry.java:125)
    at org.apache.soap.encoding.SOAPMappingRegistry.querySerializer(SOAPMappingRegistry.java:297)
    at org.apache.soap.encoding.soapenc.ParameterSerializer.marshall(ParameterSerializer.java:98)
    at org.apache.soap.rpc.RPCMessage.marshall(RPCMessage.java:260)
    at org.apache.soap.Body.marshall(Body.java:141)
    at org.apache.soap.Envelope.marshall(Envelope.java:180)
    at org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:343)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
    at org.apache.tomcat.core.Handler.service(Handler.java:287)
    at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
    at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
    at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
    at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
    at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
    at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
    at java.lang.Thread.run(Thread.java:536)
    </pre>
    // ==== here is the svg that I take by direct call
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.0//EN' 'http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd'>
    <svg width="800" height="500">
         <text x="150" y="60" style="font-family: verdana, arial, sans-serif;font-size: 24;     
    font-weight: bold;fill: #0099ff; stroke: black;     
    stroke-width: 1">This is a PieChart For CC432 Assignment 3</text>
         <circle cx="310" cy="310" r="180" style="fill: black; fill-opacity:0.6;
    stroke:none; filter:url(#dropshadow)"/>
         <desc>This is a PieChart Solution For CC432 Assignment 3</desc>
         <path d="M300,300 L480,300 A180,180 0 0,0 405,155 Z" style="fill: #0000ff;stroke: black; stroke-width: 2"/>
         <rect x="550" y="150" width="30" height="20" style="stroke-linejoin: mitre; stroke - width: 2;
    stroke: black; fill:#0000ff"/>
         <text x="590" y="165" style="font-family:verdana, arial, sans-serif;
    font - size: 14; fill: black; stroke: none">The value of 1 Data Set is 12.0</text>
         <path d="M300,300 L405,155 A180,180 0 0,0 134,232 Z" style="fill: #ffd700;stroke: black; stroke-width: 2"/>
         <rect x="550" y="180" width="30" height="20" style="stroke-linejoin: mitre; stroke - width: 2;
    stroke: black; fill:#ffd700"/>
         <text x="590" y="195" style="font-family:verdana, arial, sans-serif;
    font - size: 14; fill: black; stroke: none">The value of 2 Data Set is 23.0</text>
         <path d="M300,300 L134,232 A180,180 0 1,0 480,300 Z" style="fill: #ff6347;stroke: black; stroke-width: 2"/>
         <rect x="550" y="210" width="30" height="20" style="stroke-linejoin: mitre; stroke - width: 2;
    stroke: black; fill:#ff6347"/>
         <text x="590" y="225" style="font-family:verdana, arial, sans-serif;
    font - size: 14; fill: black; stroke: none">The value of 3 Data Set is 45.0</text>
         <text x="550" y="480" style="font-family: verdana, arial, sans-serif;font-size: 14;     
    font-weight: bold;fill: #FF0000; stroke: black;     
    stroke-width: 1">my name</text>
    </svg>

    While returning the document u would have to encode the content using base64 or url encoder, then decode it after the xml is parsed.

  • Integration Event Web Service Upload Trigger

    Hello,
    have a question about the Integration Event Web Service.
    Is it possible to get Data in the Integration queue, if i make an upload? We made the experience that workflows don't trigger with uploads.
    Regards,

    I'm sorry, I'm not clear on what method you are using for "upload" is this a WS insert request or are you using import to add new records to CRMOD? Also, what object(s) are you working with (i.e. Account)

  • Quick Web Services Using Document Style Messaging

    Hello all,
    I am using Apache Axis and am trying to set up a document style (message based) webservice that will receive a DOM object, modify that DOM object, and return it as a new DOM object. I have not problems with standard RPC style webservices, but am unsure as to where to go with the more complex. I have included everything that may be helpful to give me an answer.....
    I have set up my webservice (a very simple one to get this going):
    package testing.webservices;
    import org.w3c.dom.Document;
    import org.apache.axis.MessageContext;
    public class DocTest{
    public Document doSubmission(MessageContext msgContext, Document inDoc)throws Exception{
    return inDoc;
    I set this class up in Axis with my deploy.wsdd file:
    <deployment name="test" 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">
    <service name="DocService" style="java:MSG">
    <parameter name="className" value="testing.webservices.DocTest" />
    <parameter name="allowedMethods" value="doSubmission" />
    </service>
    </deployment>
    When I look at Axis it lists this DocService as an active service. Can anyone tell me what the client code would look like to send a Document object to my simple webservice and receive a document object back? Any help would be greatly appreciated.
    J-Rod
    NOTE: This is what I have so far:
    import .....
    public class DocTestClient{
    public static void main(String[] args) throws Exception {
    String fileName = "C:\\Dev\\MyXmlFile.xml";
    String uri = "file:" + new File(fileName).getAbsolutePath( );
    DocumentBuilderFactory factory =DocumentBuilderFactory.newInstance();
    DocumentBuilder builder = factory.newDocumentBuilder();
    Document doc = builder.parse(uri);
    String endpointURL = "http://localhost:8080/axis/services/DocService";
    Service service = new Service();
    Call call = (Call) service.createCall();
    call.setTargetEndpointAddress(new java.net.URL(endpointURL) );
    call.setOperationName(new QName("http://testing.webservices", "doSubmission") );
    ?????? WHAT DO I DO HERE to access the send the doc object and receive it back?????
    }

    Just thought I'd post an update. We figured out how to stream the required data as a string so I OK now. We ended up going with java:RPC to string data back and forth.
    Thanks
    J-Rod

  • BAPI_DOCUMENT_CHECKOUTVIEW2 as Web Service (Downloading Documents)

    Hi,
    We have a problem with downloading documents from our DMS.
    The BAPI_DOCUMENT_CHECKOUTVIEW2 needs the parameter "PF_FTP_DEST"  to checkout documents.
    When I use "SAPFTP" the WS answers with:
    <Return>
                <Type>E</Type>
                <Id>26</Id>
                <Number>172</Number>
                <Message>File c:\temp\KOPIEVONJCOTUTORIAL.PDF cannot be created</Message>
                <LogNo/>
                <LogMsgNo>000000</LogMsgNo>
                <MessageV1>c:\temp\KOPIEVONJCOTUTORIAL.PDF</MessageV1>
                <MessageV2/>
                <MessageV3/>
                <MessageV4/>
                <Parameter/>
                <Row>0</Row>
                <Field/>
                <System>EW1MAND075</System>
    </Return>
    When I use "SAPFTPA" the WS answers with:
    <Return>
                <Type/>
                <Id/>
                <Number>000</Number>
                <Message/>
                <LogNo/>
                <LogMsgNo>000000</LogMsgNo>
                <MessageV1/>
                <MessageV2/>
                <MessageV3/>
                <MessageV4/>
                <Parameter/>
                <Row>0</Row>
                <Field/>
                <System/>
    </Return>
    but nothing is checked out to c:\temp.
    When I leave it blank the ws returns:
    <Return>
                <Type>E</Type>
                <Id>29</Id>
                <Number>001</Number>
                <Message>BOM not found for this material/plant/usage</Message>
                <LogNo/>
                <LogMsgNo>000000</LogMsgNo>
                <MessageV1>Program no longer started via RFC. No return possi</MessageV1>
                <MessageV2/>
                <MessageV3/>
                <MessageV4/>
                <Parameter/>
                <Row>0</Row>
                <Field/>
                <System>EW1MAND075</System>
    </Return>
    From the SE37 the documents where CheckedOut without problems to c:\temp.
    For testing I used SoapUI which works great with other WebServices (eg. BAPI_DOCUMENT_CHANGE2) we have build.
    What is wrong with the WebService from BAPI_DOCUMENT_CHECKOUTVIEW2?

    Hi,
    We have a problem with downloading documents from our DMS.
    The BAPI_DOCUMENT_CHECKOUTVIEW2 needs the parameter "PF_FTP_DEST"  to checkout documents.
    When I use "SAPFTP" the WS answers with:
    <Return>
                <Type>E</Type>
                <Id>26</Id>
                <Number>172</Number>
                <Message>File c:\temp\KOPIEVONJCOTUTORIAL.PDF cannot be created</Message>
                <LogNo/>
                <LogMsgNo>000000</LogMsgNo>
                <MessageV1>c:\temp\KOPIEVONJCOTUTORIAL.PDF</MessageV1>
                <MessageV2/>
                <MessageV3/>
                <MessageV4/>
                <Parameter/>
                <Row>0</Row>
                <Field/>
                <System>EW1MAND075</System>
    </Return>
    When I use "SAPFTPA" the WS answers with:
    <Return>
                <Type/>
                <Id/>
                <Number>000</Number>
                <Message/>
                <LogNo/>
                <LogMsgNo>000000</LogMsgNo>
                <MessageV1/>
                <MessageV2/>
                <MessageV3/>
                <MessageV4/>
                <Parameter/>
                <Row>0</Row>
                <Field/>
                <System/>
    </Return>
    but nothing is checked out to c:\temp.
    When I leave it blank the ws returns:
    <Return>
                <Type>E</Type>
                <Id>29</Id>
                <Number>001</Number>
                <Message>BOM not found for this material/plant/usage</Message>
                <LogNo/>
                <LogMsgNo>000000</LogMsgNo>
                <MessageV1>Program no longer started via RFC. No return possi</MessageV1>
                <MessageV2/>
                <MessageV3/>
                <MessageV4/>
                <Parameter/>
                <Row>0</Row>
                <Field/>
                <System>EW1MAND075</System>
    </Return>
    From the SE37 the documents where CheckedOut without problems to c:\temp.
    For testing I used SoapUI which works great with other WebServices (eg. BAPI_DOCUMENT_CHANGE2) we have build.
    What is wrong with the WebService from BAPI_DOCUMENT_CHECKOUTVIEW2?

  • How to write a web service for uploading a file

    Hi all,
    I want to write a web service for uploading a file to some specified folder under application server, how to do that? Thanks

    I believe the "difference" that you're seeing is that one web service is "RPC" style (The Hello World example) and one web service is "Document" style (The WSDL you have downloaded).
    Document-style web service methods always have one element as a parameter, and this parameter manifests itself as a SOAPElement in the service interface.
    RPC-style web services are true "remote procedure calls", and are more functional in nature, in that they accept multiple parameters. JAX-RPC will bind these parameters to generated Java types.

  • Not able to create sub folder using SharePoint web service in large SharePoint document library (Item count view threshold limit)

    We are trying to create folder & subfolder in a SharePoint document library using SharePoint default(dws) web service. Document library has unique permission as well as item level permission. It was working as expected. Once item count crosses
    view threshold limit ( 5000) , create folder web method completes with an error and it creates a folder in SharePoint.
    Request:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dws="http://schemas.microsoft.com/sharepoint/soap/dws/">
       <soapenv:Header/>
       <soapenv:Body>
          <dws:CreateFolder>
             <!--Optional:-->
             <dws:url>Shared Documents/VenTest02092015v1</dws:url>
          </dws:CreateFolder>
       </soapenv:Body>
    </soapenv:Envelope>
     Response:
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
       <soap:Body>
          <CreateFolderResponse xmlns="http://schemas.microsoft.com/sharepoint/soap/dws/">
             <CreateFolderResult>&lt;Error ID="2">Failed&lt;/Error></CreateFolderResult>
          </CreateFolderResponse>
       </soap:Body>
    </soap:Envelope>
     While trying to create subfolder under the above created folder service throws an exception saying
    FolderNotFound.
    Though we are able to create subfolder from SharePoint UI successfully. 
    Request
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dws="http://schemas.microsoft.com/sharepoint/soap/dws/">
       <soapenv:Header/>
       <soapenv:Body>
          <dws:CreateFolder>
             <!--Optional:-->
             <dws:url>Shared Documents/VenTest02092015v1/REQ-1</dws:url>
          </dws:CreateFolder>
       </soapenv:Body>
    </soapenv:Envelope>
    Response:
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
       <soap:Body>
          <CreateFolderResponse xmlns="http://schemas.microsoft.com/sharepoint/soap/dws/">
             <CreateFolderResult>&lt;Error ID="10">FolderNotFound&lt;/Error></CreateFolderResult>
          </CreateFolderResponse>
       </soap:Body>
    </soap:Envelope>

    Yes, you're probably hitting the 5000 list item threshold (
    http://sharepoint.stackexchange.com/questions/105937/overcoming-5000-file-document-library-limits ). I assume you can do it via the UI because you're probably logged in as an admin in which case, out of memory, the threshold is 20.000 items. You can extend
    this limit, but you probably shouldn't.
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

  • Document/literal web service

    Currently I deployed an rpc/encoded ejb web service.
    The ejb handles the request and response using Java methods. I can change this web service to document/literal by changing the style=document in Servicegen. Does this mean that I have to handle the
    SOAP/XML message programmatically? In other words, more work on my part. Any input would be much appreciated.
    Micx

    Currently I deployed an rpc/encoded ejb web service.
    The ejb handles the request and response using Java methods. I can change this web service to document/literal by changing the style=document in Servicegen. Does this mean that I have to handle the
    SOAP/XML message programmatically? In other words, more work on my part. Any input would be much appreciated.
    Micx

Maybe you are looking for

  • I can't backup my iPhone !

    Hey I have been trying to backup my iPhone but the bar is freezing it doesn't move !

  • 2 SKUs for same product in SNP

    Hello. My client is trying to close the following gap. Can anyone please suggest me or point in the right direction so as to solve this issue. We have a situation where for the same product there is the SKU A produced in the plant A and distributed t

  • Can I transfer my apple money into my iTunes account

    I Accidentally bought the wrong card and now I can't return it I havemy acrivated it yet and I put 61.75 dollars in it someone please help.

  • Safari Hijacking??!!

    Hi, First point, let's get this out of the way: I know there are neither virus nor malware in the wild for macs. Now, to the matter: Today, my Safari, Firefox and Mail app were hijacked several times, and were always redirected to this page: www.regi

  • First, Prev, Next, Last Display

    In NetDyanmics I was able to show or not show the First, Previous, Next and Last buttons depending on the state of the repeated. For instance, if the repeated was display the first rows of data and there were no previous rows, I would not display the