Design Suggestion on webapp using executable windows Web Service client

We have existing web application that needs to interface with a web service through a client exe file.
Inputs will be passed by xml file and output files generated after.
This client exe has configuration file, among the important items on this file is the settings on where the output files will be created.
I personally think this design is wrong but I will have to work through it because I am in no position to change the proposed solution.
A synchronized method for the complete cycle of the call to this method will not be acceptable due to bottle neck issue.
I'm planning to make a singleton class to provide the services for this this client.
I'm planning to get the client IP to use for making temporary working folder for each user.
File IO on creation of input file will be surrounded in a synchronized block.
Runtime.exec call will also be wrapped in a synchronized block.
I will be executing this single exe on seperate process each call,
As for the config file, I will have to edit the config file for each call, since i cannot discern the output files if I put them in single location.
/sigh
Advise would be greatly appreciated.

DarrylBurke wrote:
Seifer wrote:
Someone please tell me I'm doomed?If you say so.
You're doomed.
db
Note: That's a joke, I don't have any knowledge on the specifics of your question.I thought so. I figured one workaround, maintain multiple copies of the client exe, each with their own config referring to each unique output folder and make a pool manager to manage these babies.
I still think the better solution is to give away this client and have the webapp interact directly to the web service. The present kind of remind me how cgi process are used in the old times to serve web requests.

Similar Messages

  • NoClassdefFound Problem using EJB as web service client

    Hello there, I am trying to use a MDB as a web service client. The architecture,
    briefly is in the form of a java program communicating with a MDB via JMS, the
    MDB gets the data from some external server via SOAP. I am using JBuilder to generate
    the client side classes choosing the Axis framework. When my MDB is trying to
    bind using locator.getPort() it throws an error as follows:
    java.lang.NoClassDefFoundError: org.apache.axis.client.AxisClient. java.lang.NoClassDefFoundError:
    org.apache.axis.client.AxisClient at org.apache.axis.client.Service.getAxisClient()Lorg.apache.axis.client
    AxisClient;(Service.java:143) at org.apache.axis.client.Service.<init>()V(Service.java:152)
    Note that it works fine if I use the web services client as a standalone java
    program(no weblogic ). I tried putting the Axis.jar file as well as the relevant
    files from this jar file(JBuilder's feature) in the EJB module that is deployed,
    of no avail. Following is the classloader printed from the EJB's onMessage method
    if needed for better understanding
    weblogic.utils.classloaders.GenericClassLoader@afdd3a finder: weblogic.utils.cla
    ssloaders.MultiClassFinder@20d7479 annotation: SecurityEJBModule@
    Any help will be appreciated

    Slava, I did exactly that and it worked! I wish I had seen your reply before.
    Thanks
    "Slava Imeshev" <[email protected]> wrote:
    >
    "Santosh" <[email protected]> wrote in message news:405074c7$[email protected]..
    Hello there, I am trying to use a MDB as a web service client. Thearchitecture,
    briefly is in the form of a java program communicating with a MDB viaJMS, the
    MDB gets the data from some external server via SOAP. I am using JBuilderto generate
    the client side classes choosing the Axis framework. When my MDB istrying to
    bind using locator.getPort() it throws an error as follows:
    java.lang.NoClassDefFoundError: org.apache.axis.client.AxisClient.java.lang.NoClassDefFoundError:
    org.apache.axis.client.AxisClient at org.apache.axis.client.Service.getAxisClient()Lorg.apache.axis.client
    AxisClient;(Service.java:143) at org.apache.axis.client.Service.<init>()V(Service.java:152)
    Note that it works fine if I use the web services client as a standalonejava
    program(no weblogic ). I tried putting the Axis.jar file as well asthe relevant
    files from this jar file(JBuilder's feature) in the EJB module thatis deployed,
    of no avail. Following is the classloader printed from the EJB's onMessagemethod
    if needed for better understandingYou need to package all Axis jars and dependancoes into the EAR and
    refer tham
    in your ejb-jar MANIFEST.MF. If you are running weblogic 8.1, you may
    just put them
    into APP-INF/lib. Than you won't need to modify manifest.
    Hope this helps.
    Regards,
    Slava Imeshev

  • Sending xsi types using Axis from web service client

    Hello,
    I am using axis to consume a web service, the soap message generated contain xsi types which cause the validation of the message to fail. Example:
    xsi:type="xsd:string"I have tried to remove these types using call.setProperty(Call.SEND_TYPE_ATTR,Boolean.FALSE); but this does not seem to work.
    OPERATION_STYLE=document
    Can someone please help
    Thanks

    Haven't worked on this, but have you tried by putting the axis libraries inside the plugin lib folder when you are building up the plugin? Also you need to check asix2 compatibility with weblogic version with R2.
    -Bikash

  • Using SSL for Web Service Access

    Hi,
    I'm not sure if this the best forum, but this is technically a J2EE question.
    I'm using JDeveloper and OC4J. I have a java class that I'm publishing as a stateful webservice; however, the only clients will be other java routines. (I generated a WSDL file and then stubs.) This webservice has to run on a Windows 2000 box inside of OC4J. I have this done and can call it from across the network from a Linux box. This all works fine. However, I need to add security preferably by going to SSL. I can't find out how to do this. Does anyone know? Do I manually edit the generated stub files? Any chance there is some sample code somewhere?
    thanks,
    Joe Gamache

    Please look at Appendix A of the "Web Services Developer's Guide" from iAS v9.0.2 covers Oracle SOAP. The section, "Working With Oracle9 iAS SOAP
    Transport Security", covers using SSL.
    Here is a simple example with steps:
    Prerequisites
    1 . Suppose you have configured Apache to use SSL , that is
    -     Apache has a valid server certificate
    -     Apache requires the client certificate
    -     Apache has a bundle of root certificates of CA with wich it can trust client certificates
    -     Apache is in front of OC4J with mod_oc4j (9.0.2) or mod_proxy ( 1.0.2.2)
    For more information on this please refer to Oracle9i Application Server Security Guide
    2. Have a working knowledge of Oracle Wallet Manager
    Steps
    The following steps let you use an https web services client
    1.     First you need a certificate store in order to store the private key , the client X509 certificate and some trusted authorities. This store in our case is a wallet exported by Oracle Wallet Manager.
    2.     In order to generate a correct wallet you need :
    a.     Start the Oracle Wallet Manager ( OWM )
    b.     Create a new empty wallet
    c.     Generate a Certificate Signing Request (CSR )
    d.     Import the X509 certificate that the CA generated from the CSR
    e.     Import the root certificate of the CA that trusts the server certificate you would like to connect to ( that of Apache )
    f.     Export the wallet
    3.     Let's call exported_wallet the wallet that we exported from OWM , and lets put it under c:\temp . Suppose that the wallet password is camarda.
    4.     The JDK you plan to use for your client , in the extension directory ( that is $JDK_HOME/jre/lib/ext ) , must contains the following library
    a.     jcert.jar
    b.     jsse.jar
    c.     jssl-1_1.jar
    5.     Oracle SSL library use JNI in order to implement some low level encryption API , so you need a shared library usually located in $ORACLE_HOME/bin . For NT platform this library is njssl9.dll . Be sure to have this library in your path
    6.     Now given a WDSL , use the Jdeveloper wizard to generate a proxy
    7.     Modify the URL end-point from http to https
    8.     Add to the proxy the following lines of code
    System.setProperty("ssl.SocketFactory.provider","oracle.security.ssl.OracleSSLSocketFactoryImpl");
    System.setProperty("ssl.ServerSocketFactory.provider","oracle.security.ssl.OracleSSLServerSocketFactoryImpl");
    System.setProperty("java.protocol.handler.pkgs","HTTPClient");
    System.setProperty("oracle.wallet.location","C:\\temp\\exported_wallet");
    System.setProperty("oracle.wallet.password","camarda");
    Example
    In red : modified
    In blue : added
    import oracle.soap.transport.http.OracleSOAPHTTPConnection;
    import java.net.URL;
    import org.apache.soap.Constants;
    import org.apache.soap.Fault;
    import org.apache.soap.SOAPException;
    import org.apache.soap.rpc.Call;
    import org.apache.soap.rpc.Parameter;
    import org.apache.soap.rpc.Response;
    import org.w3c.dom.Element;
    import java.util.Vector;
    import java.util.Properties;
    import oracle.xml.parser.v2.*;
    * Generated by the Oracle9i JDeveloper Web Services Stub/Skeleton Generator.
    * Date Created: Mon May 20 14:24:48 CEST 2002
    * WSDL URL: http://26.2.197.119:8888/InterOp/Services.wsdl
    public class AnagInquireServicesEJBStub {
    public String endpoint = "https://26.2.197.119/InterOp/AnagInquireServices";
    private OracleSOAPHTTPConnection m_httpConnection = null;
    public AnagInquireServicesEJBStub() {
    m_httpConnection = new OracleSOAPHTTPConnection();
    public Element ricercaPF(String istat1, String istat2, String codiceFiscale) throws Exception {
    System.setProperty("ssl.SocketFactory.provider","oracle.security.ssl.OracleSSLSocketFactoryImpl");
    System.setProperty("ssl.ServerSocketFactory.provider","oracle.security.ssl.OracleSSLServerSocketFactoryImpl");
    System.setProperty("java.protocol.handler.pkgs","HTTPClient");
    System.setProperty("oracle.wallet.location","C:\\temp\\exported_wallet");
    System.setProperty("oracle.wallet.password","camarda");
    Element returnVal = null;
    URL endpointURL = new URL(endpoint);
    Call call = new Call();
    call.setSOAPTransport(m_httpConnection);
    call.setTargetObjectURI("AnagInquireServices");
    call.setMethodName("ricercaPF");
    call.setEncodingStyleURI(Constants.NS_URI_LITERAL_XML);
    Vector params = new Vector();
    params.addElement(new Parameter("istat1", String.class, istat1, Constants.NS_URI_SOAP_ENC));
    params.addElement(new Parameter("istat2", String.class, istat2, Constants.NS_URI_SOAP_ENC));
    params.addElement(new Parameter("codiceFiscale", String.class, codiceFiscale, Constants.NS_URI_SOAP_ENC));
    call.setParams(params);
    Response response = call.invoke(endpointURL, "");
    if (!response.generatedFault()) {
    Parameter result = response.getReturnValue();
    returnVal = (Element)result.getValue();
    else {
    Fault fault = response.getFault();
    throw new SOAPException(fault.getFaultCode(), fault.getFaultString());
    return returnVal;
    public void setMaintainSession(boolean maintainSession) {
    m_httpConnection.setMaintainSession(maintainSession);
    public boolean getMaintainSession() {
    return m_httpConnection.getMaintainSession();
    public void setTransportProperties(Properties props) {
    m_httpConnection.setProperties(props);
    public Properties getTransportProperties() {
    return m_httpConnection.getProperties();
    public static void main( String args[] ) {
    AnagInquireServicesEJBStub a = new AnagInquireServicesEJBStub();
    try {
    XMLElement e = (XMLElement) a.ricercaPF("102030","102030","CMRGPP69M29D761K");
    e.print(System.out);
    } catch (Exception ex) {
    ex.printStackTrace();
    } finally {

  • Web service client ignores http proxy settings

    I have a web service client using Weblogic's web service client library. I'm trying to instruct it to use a http proxy. I've set all the following system properties:
    -Dhttp.proxyHost=127.0.0.1
    -Dhttp.proxyPort=8080 -Dweblogic.webservice.transport.http.proxy.host=127.0.0.1 -Dweblogic.webservice.transport.http.proxy.port=8080
    No traffic is passing through the proxy.
    When the proxy is down, the application works fine too. I suspect that the proxy settings are completely ignored for some reason.
    I'm using Weblogic 8.1 SP4 on a Windows XP box and JDK 1.4.2 (Sun's bundled JDK with Weblogic).

    Sorry about the delay,
    You just need to use the standard java http proxy properties, take a look at:
    http://download-west.oracle.com/docs/cd/A97329_03/web.902/a95453/useservices.htm
    Does this help?
    Gerard

  • Deploying Web Service clients to earlier versions of AS

    Hello,
    I'm using JDeveloper to create web service proxy for existing service to use in my Web Service client. For development, I'm using JDeveloper 10.1.3.3, for deployment of client application I'm using Application Server 10.1.3.0.
    The problem is that AS 10.1.3.0 contains other versions of the libraries, for example, wsclient.jar, so, there's an error using Web Service Proxy (stub) as method setSOAPVersion() doesn't exist.
    The question is how can I use generated stub with earlier versions of Application Server.
    I've tried some things, but they didn't work. Maybe I did something wrong and step-by-step guidelines to deploy application are needed - I hope, it could be useful not only for me.
    So, I found JDev 10.1.3 Release Notes (http://www.oracle.com/technology/products/jdev/htdocs/10.1.3.0.3/readme.html) and the following abstract:
    Workaround for URL / WS Data Control Apps When Deploying to Third Party Application Servers or Oracle Application Server 10.1.2 (4931009)
    1. Copy the following JAR files to your target application server along with the rest of the ADF installed JAR files. The following JAR files are available under your JDeveloper's home directory.
    bc4j/jlib/dc-adapters.jar
    bc4j/jlib/adf-connections.jar
    j2ee/home/lib/http_client.jar
    webservices/lib/wsdl.jar
    webservices/lib/orajaxr.jar
    webservices/lib/orawsrm.jar
    webservices/lib/wsclient.jar
    webservices/lib/orasaaj.jar
    webservices/lib/xsdlib.jar
    webservices/lib/mdds.jar
    jlib/osdt_core.jar
    jlib/osdt_cert.jar
    jlib/osdt_xmlsec.jar
    jlib/osdt_wss.jar
    jlib/osdt_saml.jar
    jlib/ojpse.jar
    jlib/oraclepki.jar
    webservices/lib/wssecurity.jar
    webservices/lib/orawsdl.jar
    j2ee/home/jazncore.jar
    2. Shutdown the application server and modify the application server's class path to include all of the JAR files that were extracted from the archive. Please refer to the application server documentation for details on how to modify the class path.
    3. Restart the application server. You are now ready to deploy / run the application successfully.
    So, I've created a new Shared Library with Enterprise Manager, uploaded all this files and, deploying application, checked this library too. This didn't help.
    Thanks in advance, Valeriy

    Hi Valeriy,
    I have exactly the same problem. Have you been able to resolve this yet?
    Thanks
    Stu

  • Web service as another web service client - problem in JavaEE SE?

    Hello,
    I observed strange behaviour with OpenESB, Glassfish (build 33) and following scenario:
    I need to call web service from another web service. When I use simple schema:
    web service client -> web service (as EJB) -> another Web service
    everything works. But I would like to use JBI/ESB, so:
    web service client -> HTTP SOAP BC -> JAVAEE SE -> web service (as EJB) -> another Web service
    the following exception prevents success:
    com.sun.xml.ws.model.RuntimeModelerException: runtime modeler error: Wrapper class cz.muni.fi.yucca.client.jbiws.gamanager.Calculate is not fou
    nd. Have you run APT to generate them?
    at com.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:254)
    at com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:550)
    at com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:497)
    at com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:339)
    at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:225)
    at com.sun.xml.ws.client.WSServiceDelegate.addSEI(WSServiceDelegate.java:584)
    at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:287)
    at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:270)
    at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:263)
    at javax.xml.ws.Service.getPort(Service.java:92)
    at cz.muni.fi.yucca.client.jbiws.gamanager.GAManagerService.getGAManagerPort(GAManagerService.java:51)
    When I call both services separately they work correctly, when I don't use JBI it works correctly too.
    Should anybody help me solving this problem?
    Thanks in advice, Vlado

    Fine,
    I've found out that this problem is caused by different classloaders assigned to directly (EJBClassloader) and through-JBI (improperly configured URLClassloader) called web services.
    I've moved my question to GlassFish forum (http://forums.java.net/jive/thread.jspa?threadID=24901&tstart=0) beacause of it's "technical" nature.
    Despite this, any help is welcome:-)

  • Dynamic Logical Port for Web Service Client

    Hi *!
    We want to use the same Web Service Client code with different Web Service instances running on different systems. So I need to configure the logical port (especially the URL of the endpoint) dynamically at runtime.
    Please give me a hint, how this is done.
    (we are using WebAS 6.40 SP7)...
    Thanks in advance,
         Frank

    Hi Frank,
    I hope you were able to solve your issue on you own in the meantime.
    I was looking for the answer to this question today. This was the only thread I found on SDN. Unfortunately, it did not contain an answer yet. I was able to figure out a way to set the endpoint address dynamically after searching help.sap.com and after examining the interfaces offered by the Stub (logical port in this case) classes.
    Here's an extract from my code:
    // Connect to JNDI context
    InitialContext ic = new InitialContext();
    // Get reference to web service proxy from JNDI context
    Z_MSC_GET_SCHEDULE_WSDService service =
         (Z_MSC_GET_SCHEDULE_WSDService) ic.lookup("wsclients/proxies/iot-online.de/msc~srv_ejb~proxy/de.iot_online.msc.proxy.ScheduleReaderProxy");
    // Get reference to logical port from web service proxy
    Z_MSC_GET_SCHEDULE_WSD logicalPort = service.getLogicalPort();
    // Set URL of web service Endpoint
    logicalPort._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY, "http://<FQDN>:8010/sap/bc/srt/rfc/sap/Z_MSC_GET_SCHEDULE_WSD?sap-client=100");
    This is explained on
    http://help.sap.com/saphelp_nwce10/helpdata/en/45/113a1221337249e10000000a155369/frameset.htm
    You can also set the credentials (username / password) with the method _setProperty.
    Best regards
    Christian

  • Problem executing a web service using adaptive web service model

    Hi,<br/>
    I'm trying to execute a web servide using the adaptive web service model. The web service is generated by a java web application using apache axis 1.2<br/>
    I can import the model without problems, but when I try to run the application (containing a form for parameters, a button to execute the web service and a table to show results) it gives the following exception: <br/><br/>
    <code>
    java.lang.IllegalArgumentException: Target role name 'GetProductMaster' not defined for model class 'Request_GetProductMaster'
         at com.sap.tc.webdynpro.model.webservice.base.model.BaseGenericModelClass.retrieveTargetRoleInfo(BaseGenericModelClass.java:93)
         at com.sap.tc.webdynpro.model.webservice.base.model.BaseGenericModelClass.getRelatedModelObject(BaseGenericModelClass.java:388)
         at com.sap.tc.webdynpro.model.webservice.gci.WSTypedModelClass.getRelatedModelObject(WSTypedModelClass.java:66)
         at com.baufest.goe.wstest.model.Request_GetProductMaster.getGetProductMaster(Request_GetProductMaster.java:46)
         at com.baufest.goe.wstest.app.wdp.IPublicTestWS2App$IGetProductMasterNode.doSupplyElements(IPublicTestWS2App.java:529)
         at com.sap.tc.webdynpro.progmodel.context.Node.supplyElements(Node.java:406)
         at com.sap.tc.webdynpro.progmodel.context.Node.getElementList(Node.java:345)
         at com.sap.tc.webdynpro.progmodel.context.Node.createMappedElementList(Node.java:498)
         at com.sap.tc.webdynpro.progmodel.context.Node.supplyElements(Node.java:393)
         at com.sap.tc.webdynpro.progmodel.context.Node.getElementList(Node.java:345)
         at com.sap.tc.webdynpro.progmodel.context.Node.getElements(Node.java:333)
         at com.sap.tc.webdynpro.progmodel.context.Node.getElementAtInternal(Node.java:615)
         at com.sap.tc.webdynpro.progmodel.context.Paths.followPath(Paths.java:897)
         at com.sap.tc.webdynpro.progmodel.context.Paths.followPath(Paths.java:852)
         at com.sap.tc.webdynpro.progmodel.context.Paths.isValid(Paths.java:612)
         at com.sap.tc.webdynpro.clientserver.uielib.standard.impl.AbstractInputField._isValidBindingOfPrimaryProperty(AbstractInputField.java:1167)
         at com.sap.tc.webdynpro.progmodel.view.UIElement.getEnabled(UIElement.java:364)
         at com.sap.tc.webdynpro.clientserver.uielib.standard.impl.Label._isEnabled(Label.java:115)
         at com.sap.tc.webdynpro.progmodel.view.UIElement.getEnabled(UIElement.java:364)
         at com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.LabelAdapter.getEnabled(LabelAdapter.java:213)
         at com.sap.tc.ur.renderer.ie6.LabelRenderer.render(LabelRenderer.java:84)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)
         at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.renderMatrixLayoutCellFragment(MatrixLayoutRenderer.java:790)
         at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.renderMatrixLayoutRowFragment(MatrixLayoutRenderer.java:376)
         at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.renderMatrixLayoutFragment(MatrixLayoutRenderer.java:326)
         at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.render(MatrixLayoutRenderer.java:79)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)
         at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.renderScrollContainerFragment(ScrollContainerRenderer.java:619)
         at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.render(ScrollContainerRenderer.java:74)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)
         at com.sap.tc.ur.renderer.ie6.FlowLayoutRenderer.renderFlowLayoutItemFragment(FlowLayoutRenderer.java:254)
         at com.sap.tc.ur.renderer.ie6.FlowLayoutRenderer.renderFlowLayoutFragment(FlowLayoutRenderer.java:210)
         at com.sap.tc.ur.renderer.ie6.FlowLayoutRenderer.render(FlowLayoutRenderer.java:49)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)
         at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.renderScrollContainerFragment(ScrollContainerRenderer.java:619)
         at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.render(ScrollContainerRenderer.java:74)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.UiWindowRenderer.render(UiWindowRenderer.java:52)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)
         at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendHtml(HtmlClient.java:1042)
         at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.fillDynamicTemplateContext(HtmlClient.java:455)
         at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendResponse(HtmlClient.java:1229)
         at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.retrieveData(HtmlClient.java:252)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRetrieveData(WindowPhaseModel.java:595)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:156)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    </code>
    <br/><br/>
    The model is imported without errors, and gives the following tree:<br/><br/>
    <ul>
    <li>ProdMast</li>
    <ul>
    <li>                                          Model Classes</li>
    <ul>
    <li>                                                   GetProductMaster</li>
    <li>                                                   GetProductMasterResponse</li>
    <ul><li>                                                             GetProductMasterReturn</li></ul>
    <li>                                                   Product</li>
    <li>                                                   Request_GetProductMaster</li>
    <ul><li>                                                             GetProductMaster</li>
    <li>                                                             Response</li></ul>
    <li>                                                   Response_GetProductMaster</li>
    <ul><li>                                                             Fault</li>
    <li>                                                             GetProductMasterResponse</li></ul>
    <li>                                                   WebServiceException</li>
    </ul></ul></ul>
    <br/><br/>
    If you know what could be causing this problem or a way to make it work please let me know<br/>
    Thanks,<br/>
    Guillermo

    The WSDL that I'm using (generated by Apache Axis) is the following:<br/><br/>
    <code>
    &lt;?xml version="1.0" encoding="UTF-8"?&gt;<br/>&lt;wsdl:definitions targetNamespace="http://XXX.XXX.XXX.XXX:9876/axis/services/WebMasterData" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://XXX.XXX.XXX.XXX:9876/axis/services/WebMasterData" xmlns:intf="http://XXX.XXX.XXX.XXX:9876/axis/services/WebMasterData" xmlns:tns1="http://ws.web.test.company.com" xmlns:tns2="urn:Product" xmlns:tns3="urn:WebServiceException" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;<br/>&lt;!WSDL created by Apache Axis version: 1.2<br/>Built on May 03, 2005 (02:20:24 EDT)&gt;<br/> &lt;wsdl:types&gt;<br/>  &lt;schema elementFormDefault="qualified" targetNamespace="http://ws.web.test.company.com" xmlns="http://www.w3.org/2001/XMLSchema"&gt;<br/>   &lt;import namespace="urn:WebServiceException"/&gt;<br/>   &lt;import namespace="urn:Product"/&gt;<br/>   &lt;element name="getProductMaster"&gt;<br/>    &lt;complexType&gt;<br/>     &lt;sequence&gt;<br/>      &lt;element name="sessionId" type="xsd:string"/&gt;<br/>      &lt;element name="language" type="xsd:string"/&gt;<br/>     &lt;/sequence&gt;<br/>    &lt;/complexType&gt;>
       &lt;/element&gt;<br/>   &lt;element name="getProductMasterResponse"&gt;<br/>    &lt;complexType&gt;<br/>     &lt;sequence&gt;<br/>      &lt;element maxOccurs="unbounded" name="getProductMasterReturn" type="tns2:Product"/&gt;<br/>     &lt;/sequence&gt;<br/>    &lt;/complexType&gt;<br/>   &lt;/element&gt;<br/>  &lt;/schema&gt;<br/>  &lt;schema elementFormDefault="qualified" targetNamespace="urn:Product" xmlns="http://www.w3.org/2001/XMLSchema"&gt;<br/>   &lt;import namespace="urn:WebServiceException"/&gt;<br/>   &lt;complexType name="Product"&gt;<br/>    &lt;sequence&gt;<br/>     &lt;element name="num_conv_stat_cs" nillable="true" type="xsd:int"/&gt;<br/>     &lt;element name="cat_desc" nillable="true" type="xsd:string"/&gt;<br/>     &lt;element name="prod_typ" nillable="true" type="xsd:string"/&gt;<br/>     &lt;element name="dst_chan" nillable="true" type="xsd:string"/&gt;<br/>     &lt;element name="old_prod_nbr" nillable="true" type="xsd:string"/&gt;<br/>     &lt;element name="slsorg" nillable="true" type="xsd:string"/&gt;<br/>     &lt;element name="id" nillable="true" type="xsd:string"/&gt;<br/>     &lt;element name="div" nillable="true" type="xsd:string"/&gt;<br/>     &lt;element name="nwt_val" nillable="true" type="xsd:decimal"/&gt;<br/>     &lt;element name="sls_uom" nillable="true" type="xsd:string"/&gt;<br/>     &lt;element name="den_conv_alt_uom" nillable="true" type="xsd:int"/&gt;<br/>     &lt;element name="nwt_un" nillable="true" type="xsd:string"/&gt;<br/>     &lt;element name="num_conv_layer" nillable="true" type="xsd:int"/&gt;<br/>     &lt;element name="prod_grp" nillable="true" type="xsd:string"/&gt;<br/>     &lt;element name="brn_desc" nillable="true" type="xsd:string"/&gt;<br/>     &lt;element name="hilgt" nillable="true" type="xsd:string"/&gt;<br/>     &lt;element name="num_conv_pl" nillable="true" type="xsd:int"/&gt;<br/>     &lt;element name="den_conv_stat_cs" nillable="true" type="xsd:int"/&gt;<br/>     &lt;element name="den_conv_layer" nillable="true" type="xsd:int"/&gt;<br/>     &lt;element name="extl_prod_nbr" nillable="true" type="xsd:string"/&gt;<br/>     &lt;element name="net_vol_un" nillable="true" type="xsd:string"/&gt;<br/>     &lt;element name="num_conv_alt_uom" nillable="true" type="xsd:int"/&gt;<br/>     &lt;element name="den_conv_pl" nillable="true" type="xsd:int"/&gt;<br/>     &lt;element name="bs_uom" nillable="true" type="xsd:string"/&gt;<br/>     &lt;element name="net_vol_val" nillable="true" type="xsd:decimal"/&gt;<br/>     &lt;element name="prod_desc" nillable="true" type="xsd:string"/&gt;<br/>    &lt;/sequence&gt;<br/>   &lt;/complexType&gt;<br/>  &lt;/schema&gt;<br/>  &lt;schema elementFormDefault="qualified" targetNamespace="urn:WebServiceException" xmlns="http://www.w3.org/2001/XMLSchema"&gt;<br/>   &lt;import namespace="urn:Product"/&gt;<br/>   &lt;complexType name="WebServiceException"&gt;<br/>    &lt;sequence/&gt;<br/>   &lt;/complexType&gt;<br/>  &lt;/schema&gt;<br/>  &lt;schema elementFormDefault="qualified" targetNamespace="http://XXX.XXX.XXX.XXX:9876/axis/services/WebMasterData" xmlns="http://www.w3.org/2001/XMLSchema"&gt;<br/>   &lt;import namespace="urn:WebServiceException"/&gt;<br/>   &lt;import namespace="urn:Product"/&gt;<br/>   &lt;element name="fault" type="tns3:WebServiceException"/&gt;<br/>  &lt;/schema&gt;<br/> &lt;/wsdl:types&gt;<br/>   &lt;wsdl:message name="WebServiceException"&gt;<br/>      &lt;wsdl:part element="impl:fault" name="fault"/&gt;<br/>   &lt;/wsdl:message&gt;<br/>   &lt;wsdl:message name="getProductMasterRequest"&gt;<br/>      &lt;wsdl:part element="tns1:getProductMaster" name="parameters"/&gt;<br/>   &lt;/wsdl:message&gt;<br/>   &lt;wsdl:message name="getProductMasterResponse"&gt;<br/>      &lt;wsdl:part element="tns1:getProductMasterResponse" name="parameters"/&gt;<br/>   &lt;/wsdl:message&gt;<br/>   &lt;wsdl:portType name="WebMasterData"&gt;<br/>      &lt;wsdl:operation name="getProductMaster"&gt;<br/>         &lt;wsdl:input message="impl:getProductMasterRequest" name="getProductMasterRequest"/&gt;<br/>         &lt;wsdl:output message="impl:getProductMasterResponse" name="getProductMasterResponse"/&gt;<br/>         &lt;wsdl:fault message="impl:WebServiceException" name="WebServiceException"/&gt;<br/>      &lt;/wsdl:operation&gt;<br/>   &lt;/wsdl:portType&gt;<br/>   &lt;wsdl:binding name="WebMasterDataSoapBinding" type="impl:WebMasterData"&gt;<br/>      &lt;wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/&gt;<br/>      &lt;wsdl:operation name="getProductMaster"&gt;<br/>         &lt;wsdlsoap:operation soapAction=""/&gt;<br/>         &lt;wsdl:input name="getProductMasterRequest"&gt;<br/>            &lt;wsdlsoap:body use="literal"/&gt;<br/>         &lt;/wsdl:input&gt;<br/>         &lt;wsdl:output name="getProductMasterResponse"&gt;<br/>            &lt;wsdlsoap:body use="literal"/&gt;<br/>         &lt;/wsdl:output&gt;<br/>         &lt;wsdl:fault name="WebServiceException"&gt;<br/>            &lt;wsdlsoap:fault name="WebServiceException" use="literal"/&gt;<br/>         &lt;/wsdl:fault&gt;<br/>      &lt;/wsdl:operation&gt;<br/>   &lt;/wsdl:binding&gt;<br/>   &lt;wsdl:service name="WebMasterDataService"&gt;<br/>      &lt;wsdl:port binding="impl:WebMasterDataSoapBinding" name="WebMasterData"&gt;<br/>         &lt;wsdlsoap:address location="http://XXX.XXX.XXX.XXX:9876/axis/services/WebMasterData"/&gt;<br/>      &lt;/wsdl:port&gt;<br/>   &lt;/wsdl:service&gt;<br/>&lt;/wsdl:definitions&gt;<br/>
    </code>

  • Oracle Database Web Service Client using UTL_DBWS :: ORA-29532 Error

    Hi,
    I have the Oracle Database 10.2.0.1.0 :-
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - ProductionI have written a simple Web Services Client using the classes gfrom the UTL_DBWS package. I loaded the JAR file dbwsclient.jar in the SYS Schema and I am trying to use it in the USF Schema.
    However, I have hit this error & I ma unable to proceed :-
    SQL>  select get_stock_price from dual;
    select get_stock_price from dual
    ERROR at line 1:
    ORA-29532: Java call terminated by uncaught Java exception:
    java.lang.IllegalAccessException: javax.xml.rpc.ServiceException:
    java.security.AccessControlException: the Permission
    (java.lang.RuntimePermission getClassLoader) has not been granted to USF. The
    PL/SQL to grant this is dbms_java.grant_permission( 'USF',
    'SYS:java.lang.RuntimePermission', 'getClassLoader', '' )
    ORA-06512: at "USF.UTL_DBWS", line 193
    ORA-06512: at "USF.UTL_DBWS", line 190
    ORA-06512: at "USF.GET_STOCK_PRICE", line 17Can you please help me with this ?
    Regards,
    Sandeep

    Hi,
    The error message said
    the Permission(java.lang.RuntimePermission getClassLoader) has not been granted to USF.
    I'd follow the suggestion
    The PL/SQL to grant this is dbms_java.grant_permission( 'USF','SYS:java.lang.RuntimePermission', 'getClassLoader', '' )
    In case you have not done so, consult the Callout Users Guide @
    http://www.oracle.com/technology/sample_code/tech/java/jsp/callout_users_guide.htm
    Kuassi http://db360.blogspot.com

  • Getting 415 Unsupported Media Type error when calling a windows web service

    I have a BPEL process that invokes a windows web service. This process is working currently on the production system. When trying to run the process in a new test clustered environment, I'm getting the error below (bolded).
    We're using 10.1.3.3 Oracle Application Server and BPEL. Please advise on what config files might need to be tweaked to fix this.
    InvokeWindowsLoggingWebService(faulted)
    [2010/04/16 17:26:35] Faulted while invoking operation "WriteLog" on provider "WindowsLoggingWebService". less
    -<messages>
    -<input>
    -<InvokeWindowsLoggingWebService_InputVariable>
    -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="parameters">
    -<WriteLog xmlns="http://tempuri.org/">
    <FileAbsolutePath>
    R:\CV & RM\upload_from_test.log
    </FileAbsolutePath>
    <Content>
    ||*************************************************************************************|Append to log file 2010-04-16T16:57:08-04:00|*************************************************************************************||START DATE: 2010-04-16T16:57:08-04:00|END DATE: 2010-04-16T17:25:58-04:00|COUNT: 106|TRANSFER OF FILES TO TAS SUCCESSFUL
    </Content>
    <NewLineDelimiter>
    |
    </NewLineDelimiter>
    </WriteLog>
    </part>
    </InvokeWindowsLoggingWebService_InputVariable>
    </input>
    -<fault>
    -<remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    -<part name="summary">
    <summary>
    exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 415 Unsupported Media Type
    </summary>
    </part>
    </remoteFault>
    </fault>
    </messages>
    [2010/04/16 17:26:35] "{http://schemas.oracle.com/bpel/extension}remoteFault" has been thrown. less
    -<remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    -<part name="summary">
    <summary>
    exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 415 Unsupported Media Type
    </summary>
    </part>
    </remoteFault>

    I generated a proxy service in jdev and used the same parms as was done on OAS...
    <WriteLog xmlns="http://tempuri.org/">
    <FileAbsolutePath>
    R:\CV & RM\upload_from_test.log
    </FileAbsolutePath>
    <Content>
    ||*************************************************************************************|Append to log file 2010-04-16T16:57:08-04:00|*************************************************************************************||START DATE: 2010-04-16T16:57:08-04:00|END DATE: 2010-04-16T17:25:58-04:00|COUNT: 106|TRANSFER OF FILES TO TAS SUCCESSFUL
    </Content>
    <NewLineDelimiter>
    |
    </NewLineDelimiter>
    </WriteLog>
    and was able to call the service fine and it returned successful. Just seems to be an issue on the server when I execute it from there.

  • Using WebCenter Spaces Web Service API through JDeveloper's Data Control

    Hi,
    I'm trying to access WebCenter Spaces Web Service API (located at http://host:port/webcenter/SpacesWebService)
    using JDeveloper's Web Center Data Control.
    I created a data control in my portal project using JDeveloper's Web Service Data Control wizard.
    I also created and configured key stores (jps-config.xml) at both sides (spaces server and my portal client).
    How I created a data control:
    * First I entered the name and the URL (http://host:port/webcenter/SpacesWebService?WSDL)
    * Then I entered HTTP basic authentication details (user name and password)
    * After that I drag-and-drop the getGroupSpaces() method from the data control to a .jspx page as a ADF read-only table.
    * Then ran my portal project and navigated to this .jspx page and it worked. List of group spaces appeared well on that page.
    The problem is that I got only public group spaces and group spaces created by the user I entered on HTTP basic authentication details.
    I makes no sense to enter some static user details in a web service client (or a data control).
    So the question is; can I use identity propagation to get only group spaces created by the same user which I logged in my portal?
    Edited by: 832886 on Feb 18, 2011 3:09 AM

    Hi,
    You generally get NameError when you are executing the createCred/updateCred from a incorrect location. Are you using the wlst from oracle_common\common\bin?
    Also, In your steps I don't see what you did to populate the walllet at JDeveloper end after your updateCred failed. This is a required step. Use the wlst from the location emntioned above and you should be able to proceed.
    Thanks,
    Vishal

  • Create Lead with Oracle BPEL process using Siebel CRMOD web service

    I'm trying to create a lead in the siebel OD (hosted) with a oracle BPEL process and using the siebel web service (2.0). In my bpel process I've been able to
    1. Login to OD and get a session id
    2. create the partner link using Siebel OD (version 2.0) wsdl for Lead
    3. Assign the session id to the partner link
    4. Assign the inputs (lastname, firstname, leadowner, viewMode=Personal, lovLanguageMode=LDC) to lead
    5. Call the leadInsert operation on the partner link
    However, when I deploy and execute the bpel process it breaks after calling the leadInsert with the following error message:
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    <remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>Server</code>
    </part><part name="summary"><summary>The record with search specification '' in business component 'Lead' (integration component 'Lead') has been deleted by another user since it was retrieved.(SBL-EAI-04289)</summary>
    </part><part name="detail"><detail>&lt;detail>
    &lt;siebelf:siebdetail xmlns:siebelf="http://www.siebel.com/ws/fault" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    &lt;siebelf:logfilename xmlns:siebelf="http://www.siebel.com/ws/fault" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">OnDemandServicesObjMgr_enu_138636.log&lt;/siebelf:logfilename>
    &lt;siebelf:errorstack xmlns:siebelf="http://www.siebel.com/ws/fault" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    &lt;siebelf:error xmlns:siebelf="http://www.siebel.com/ws/fault" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    &lt;siebelf:errorcode xmlns:siebelf="http://www.siebel.com/ws/fault" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">(SBL-DAT-00494)&lt;/siebelf:errorcode>
    &lt;siebelf:errorsymbol xmlns:siebelf="http://www.siebel.com/ws/fault" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"/>
    &lt;siebelf:errormsg xmlns:siebelf="http://www.siebel.com/ws/fault" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">The record with search specification '' in business component 'Lead' (integration component 'Lead') has been deleted by another user since it was retrieved.(SBL-EAI-04289)&lt;/siebelf:errormsg>
    &lt;/siebelf:error>
    &lt;/siebelf:errorstack>
    &lt;/siebelf:siebdetail>
    &lt;/detail>
    </detail>
    </part></remoteFault>
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Any feedback as to what I'm doing worng woull be greatly appreciated.
    Thanks,
    --manoj                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi,
    We are also using BPEL to send data out to SIEBEL CRMOD.
    I've created a proxy that deals with authentication and session management.
    All you have to do is to deploy the proxy as a war file and refrence it as the end-point of your partner link.
    Code is here:
    http://another-soa-blog.blogspot.com/2010/02/oracle-siebel-on-demand-session-and.html
    Regards,
    Fred.

  • Getting Server Error Code: -2147024891 when using Biztalk Windows SharePoint Services Adapter to upload a document

    We are currently running
    1. BizTalk Server 2013 R2
    2. SharePoint 2013
    both in a Windows 2012 Server environment, in Azure.   The BizTalk and SharePoint are running on separate machines.
    I am using the Windows SharePoint Adapter to upload a Tif file to a SharePoint document library.  However, when the host instance is running under my team member's userid, I get the following error in the eventlog:
    The adapter failed to transmit message going to send port "SendOwnershipToSharePoint" with URL "wss://bp1amsapt218:34392/sites/BiztalkSc/Lists/Ownership". It will be retransmitted after the retry interval specified for this Send Port.
    Details:"[Microsoft.SharePoint.Client.ServerUnauthorizedAccessException] Access denied. You do not have permission to perform this action or access this resource. Server Error Code: -2147024891Trace:    at Microsoft.SharePoint.Client.ClientRequest.ProcessResponseStream(Stream
    responseStream)
       at Microsoft.SharePoint.Client.ClientRequest.ProcessResponse()
       at Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryToServer(ChunkStringBuilder sb)
       at Microsoft.SharePoint.Client.ClientRequest.ExecuteQuery()
       at Microsoft.SharePoint.Client.ClientRuntimeContext.ExecuteQuery()
       at Microsoft.SharePoint.Client.ClientContext.ExecuteQuery()
       at Microsoft.SharePoint.Client.Web.WebUrlFromPageUrlDirect(ClientContext context, Uri pageFullUrl)
       at Microsoft.BizTalk.KwTpm.WssAdapter.ClientOmAccessor.RequestInfo..ctor(String siteUrl, String sharePointOnlineUsername, String sharePointOnlinePassword)
       at Microsoft.BizTalk.KwTpm.WssAdapter.ClientOmAccessor.ListsAccessor..ctor(String siteUrl, String sharePointOnlineUsername, String sharePointOnlinePassword)
       at Microsoft.BizTalk.KwTpm.WssAdapter.ClientOmAccessor.ListsAccessor.TryOpenWebSite(String siteUrl, String sharePointOnlineUsername, String sharePointOnlinePassword, Exception& lastError)
    This error was triggered by the Windows SharePoint Services receive location or send port with URI wss://bp1amsapt218:34392/sites/BiztalkSc/Lists/Ownership.
    Windows SharePoint Services adapter event ID: 12310".
    This userid has already been added to the following groups on the BizTalk Server:
    Local Administrators Group
    BizTalk Server Administrators
    SSO Administrators
    BizTalk Isolated Host Users
    BizTalk Application Users
    I have also made sure the userid has full control access to the SharePoint site and the document library within the site.   I have confirmed that the user with this userid is able to access the SharePoint site and can upload documents to the
    document library, manually.   However,  when the host instance is running under this userid, I am not able to upload documents to the SharePoint document library.
    The Windows SharePoint Services Adapter is configured with the following values:
    Adapter Web Service Port:   34392
    Timeout:   100000
    Use Client OM: Yes
    Destination Folder URL:  Lists/Ownership
    FileName:  test.tif
    Overwrite:  Yes
    SharePoint Site URL: 
    http://bp1amsapt218:34392/sites/BiztalkSc/
    Microsoft Office Integration:  No
    Do you know what the cause for this error is?   We urgently need a resolution for this?

    If you create an XML document and upload it to the Windows SharePoint Services Web site. The Windows SharePoint Services adapter will take that message, archive it in the Archive document library, and then send it to the Destination document library. This
    procedure demonstrates how a document flows from a Sharepoint web site, through BizTalk Server, and to a Sharepoint Services Web site using the Windows Sharepoint Services adapter.
    This MSDN library article shows the procedure, please check whether it will be helpful to troubleshoot.
    Create a working directory
    Create an XML file
    Upload the XML file
    See: https://msdn.microsoft.com/en-us/library/aa560513.aspx

  • Windows Web Services - Unsupported media type

    Hi,
    I'm trying to migrate a web service from .NET WCF to C++ Windows Web Services API. I generated .c and .h files using WSDL, create few wrappers and incorporated it into the C++ code and try it using a gSOAP client. Sadly, it wasn't working.
    Here is the response from the WWS:
    HTTP/1.1 415 Unsupported Media Type
    Server: Microsoft-HTTPAPI/2.0
    Date: Mon, 14 Jul 2014 10:50:23 GMT
    Connection: close
    Content-Length: 0
    I debug it for a while, and found out, that WWS apparentely cannot handle action parameter in Content-Type.
    Content-Type: text/xml; charset=utf-8; action="http://tempuri.org/IReferenceClockWebService/SetRecordTimeLeftDiff"
    After I remove the action parameter, everything is working.
    Why is this happening. Isn't an action parameter common part of SOAP HTTP requests? Is there any workaround?
    Thanks in advance.

    Hi,
    I'm trying to migrate a web service from .NET WCF to C++ Windows Web Services API. I generated .c and .h files using WSDL, create few wrappers and incorporated it into the C++ code and try it using a gSOAP client. Sadly, it wasn't working.
    Here is the response from the WWS:
    HTTP/1.1 415 Unsupported Media Type
    Server: Microsoft-HTTPAPI/2.0
    Date: Mon, 14 Jul 2014 10:50:23 GMT
    Connection: close
    Content-Length: 0
    I debug it for a while, and found out, that WWS apparentely cannot handle action parameter in Content-Type.
    Content-Type: text/xml; charset=utf-8; action="http://tempuri.org/IReferenceClockWebService/SetRecordTimeLeftDiff"
    After I remove the action parameter, everything is working.
    Why is this happening. Isn't an action parameter common part of SOAP HTTP requests? Is there any workaround?
    Thanks in advance.

Maybe you are looking for

  • Mountain Lion brings bugs and breaks Automator Services

    Just love this Automator tool, been using it to make my Finder dance for a while now.  My fresh install (Erase/USB) of Mountain Lion seems to be reproducibly broken for adding Services, and also appears to have a bug for editing existing Services...

  • I need a utility that allows OC from within windows

    Hi, I have a P6N SLI V2 mobo, E4400, 7600gt, 1gb ddrII 800Mhz running XP pro sp2. The MSI utility "dual core center" is absolutely useless as it won't let me access any MB parameters (maybe MSI should test their f***ing software before they ship it),

  • Mac OS X Mountain Lion Up-to-Date Program

    Hi all, I just wanna know who or where to contact apple for quires regarding the up-to-date program. My case is not about voucher code not working but i've entered my personal e-mail address instead of the e-mail/account used to purchase my Macbook P

  • Importing Preferences - parser problem

    Hi, I try to import some Preferences from an XML file. At the following statement, systemPrefs.importPreferences(xmlInputStream); the following exception is thrown: java.lang.ClassCastException: org.apache.crimson.tree.Doctype My first idea was some

  • Answer incoming calls in sleep mode

    New to this smart phone stuff... when a call is incoming and I want to answer, is there any way to set the phone to allow me to answer without having to unlock first?