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?

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 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.

  • Oracle9iAS Web services download

    I want to set up a web service UDDI registry. I am trying to look for the Oracle9iAS Web services bundle to download. Does anybody know where can i find the software to download.
    Thanks

    The UDDI registry is in the Oracle9iAS product itself rather than being available standalone. You can download the full Oracle9iAS Release 2 at:
    http://otn.oracle.com/software/products/ias/devuse.html
    It is also available in the standard edition of the application server but for the moment only the enterprise edition of Oracle9iAS R2 is available for download. Also bear in mind it is currently available for HP-UX, Solaris and Linux. I am told Windows 2000 is due shortly, however, I don't know an exact date.
    Mike.

  • 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

  • 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.

  • 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

  • Document style Web Service the standard?

    Hi,
    A colleague of mine just told me that we should not be building RPC style web services since document style are the standard now. Is this true? I couldn't find any such phrase in WS-I BP 1.0.
    If this is not true then is it even a possiblity that in future Document style will be the standard?
    Thanks, Sid.

    In this context I think your friend is using 'standard' to mean 'reasonably common and quite trendy at the moment'.
    RPC based WS was a bad idea in because it destroys some of the loose coupling you gain using WS rather than say, CORBA, which is the number three reason for using WS. (number one being your boss spent lots of money on the tools and would look silly if you don't use them, and number two being WS tunnelling through firewalls).
    Pete

  • Does DII support document based web service?

    Hi,
    I am writing a web service cleint DII, the web service is document based. I followed the sample in
    https://bpcatalog.dev.java.net/nonav/soa/standalone-client/
    Everything seems correct. When I call call.invoke, I got an exception saying "operation style: \"document\" not supported".
    Here is the code fragment, can anyone tell me what's wrong or does DII support document based service?
    Thanks a lot!
    Y. Zhao
    try {
    ServiceFactory factory = ServiceFactory.newInstance();
    service = factory.createService(new QName(EXTRACTURLSERVICE));
    port = new QName(EXTRACTURLPORT);
    } catch (Exception se) {
    // throw new Exception("Can not create stock service: " + se.getMessage());
    _endPointAddr = "http://www.atomic-x.com/xmlservices/HyperlinkExtractor.asmx";
    _qnameNamespaceURI = new QName("ExtractUrl");
    requestQname = new QName(NAMESPACE_URI, "ExtractUrl");
    responseQname = new QName(NAMESPACE_URI, "ExtractUrlResponse");
    Call call = null;
         try {
    call = service.createCall(port);
    call.setTargetEndpointAddress(_endPointAddr);
    call.setProperty(Call.SOAPACTION_USE_PROPERTY,
    Boolean.TRUE);
    call.setProperty(Call.SOAPACTION_URI_PROPERTY, "http://www.atomic-x.com/xmlservices/HyperlinkExtractor/ExtractUrl");
    call.setProperty("javax.xml.rpc.encodingstyle.namespace.uri", "");
    call.setProperty(Call.OPERATION_STYLE_PROPERTY, "document");
    call.setProperty(Call.ENCODINGSTYLE_URI_PROPERTY, "literal");
    call.addParameter("parameters", requestQname, ExtractUrl.class, ParameterMode.IN);
    call.setReturnType(responseQname, ExtractUrlResponse.class);
    result = (ExtractUrlResponse)call.invoke((Object[])params);
         } catch (Exception ex) {
    //throw new ServiceException("Can not get service: " + ex.getMessage());
    String msg = ex.getMessage();
    ex.printStackTrace();
         }

    There shouldn't be any restriction on the type of payload that's specific to DII.
    I did come across a similar message, but I found the cause back in the WSDL rather than the client code. Have a look at the WSDL and see if it mentions "RPC" meaning the web service is making available a remote procedure call interface.

  • Question about document/literal web service

    Hello every body.
    I have some question about document/literal web service.
    I’ve been working with Axis before.
    Axis has four valid signatures for your message-style service methods:
    public Element [] method(Element [] bodies);
    public SOAPBodyElement [] method (SOAPBodyElement [] bodies);
    public Document method(Document body);
    public void method(SOAPEnvelope req, SOAPEnvelope resp);
    The same I am trying to do with WebLogic API for webservices.
    But when I am trying to test web service (public Document method (Document body); )
    I have serialized exceptions for org.w3c.dom.Document.
    Do I have to write a custom class for org.w3c.dom.Document serialization?
    If yes can you give me some idea or example?
    The all idea behind this web service is. I have just one web service and mane classes for XML processing. Depends what xml document will be during runtime, web service will be using different class for xml processing. It works fine with Axis, but in case of WebLogic I have some problem.
    One more question… How I have to call this web service from java client?
    I have seen this example http://www.manojc.com/?sample31 ,
    but this web service looks like (Document helloDom()). I need to send Document.
    This example works for Dynamic Proxy, but does not work for static call.
    Any ideas?? Thank in advance.

    Hi,
    I am getting a similar issue. I created a Document-style/literal webservice and deployed on Weblogic 9.2 . Then I generated client stubs using clientgen. I get the following exception stack trace:
    java.rmi.RemoteException: web service invoke failed: javax.xml.soap.SOAPException:
    failed to serialize class java.lang.Objectweblogic.xml.schema.binding.SerializationException: type mapping lookup failure on
    class=class com.sun.org.apache.xerces.internal.dom.DeferredDocumentImpl TypeMapping=TYPEMAPPING SIZE=3
    ENTRY 1:
    class: java.lang.Object
    xsd_type: ['http://xmlns.ozarkexpress.com/business/sell']:stns:echoDocumentResponse
    ser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@1125127
    deser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@18dfef8
    ENTRY 2:
    class: java.lang.Object
    xsd_type: ['http://xmlns.ozarkexpress.com/business/sell']:stns:echoDocument
    ser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@15e83f9
    deser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@2a5330
    ENTRY 3:
    class: java.lang.Object
    xsd_type: ['http://www.w3.org/2001/XMLSchema']:xsd:anyType
    ser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@bb7465
    deser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@d6c16c

Maybe you are looking for

  • List of Standard formats for multisampling on Feature Set 9_3 ?

    Is there a list of Standard formats for multisampling on Feature Set 9_3 (or for Windows Phone 8 basically) ? I know the max samples for 9_3 is 4 but I'm only getting this as valid for a RGBA8 texture. I'm trying to create a R32 texture with AA and m

  • Constant re-authorization of purchased music

    When I open Itunes, i can play all my purchased music fine. But when I open IDVD or an IPhoto slide show that uses purchased music, it constantly asks to authorize the computer to play the song again. Its to the point where I cannot even open idvd wi

  • How to Update Extended Attributes For the Users in SRM Organization?

    Hi, I am using 'BBP_UPDATE_ATTRIBUTES' function module to load the Default Attributes for the users in a custom program. I am able to update many attributes like company code, Movement type, catalog id, material usage, shop on behalf of and address s

  • Settlement rule for Network activity

    hi, in my project, settlement rule of network activity is automatic to the superior WBS..  however i noticed that the default settlement rule is FUL.. is it possible to make setting such that the default settlement rule would still be to the superior

  • HTML5 Encoder issue with publishing - URGENT

    I am running Captivate 8 on a Mac. I have created a course with many .flv files. (These were converted from other formats, then uploaded - I did not try to add then let the Encoder convert them upon upload.) The course publishes fine to .swf. When I