Problem building a synchronous web service in XI 3.0

The scenario: HTTP Client on my desktop <-> XI 3.0 Plain
HTTP Adapter <-> XI 3.0 RFC Adapter -> RFC enabled
function module in a 4.6C backend system
I have been testing this interface with different tools.
Below list the testings I have done and the results.
1. Using an HTTP client with QoS=Exactly Once: The HTTP
client HTML code is attached. If I run this client with
QoS = Exactly Once, the client receives successful return
code 200 and the request does go into the backend system.
But no response payload comes back to the client. Looking
into the XI message monitoring, I could see the request
message but there is no response message.
2. Using the HTTP client with QoS=Best Effort: If I run
this client with QoS = Best Effort, the client receives
successful return code 200 with the response payload
having value 1 (wrong value) in the response data field,
but the request has never reached XI. Looking into the XI
message monitoring, I could not find the request message.
3. Using the Test Message tab of the integration engine
under component monitoring in RWB with QoS=Exactly Once:
After sent the test tool shows a Message sent with a
green light. The message has reached XI and the backend
system. A response message is also found in XI but it
says "Acknowledgement not possible".
4. Using the Test Message tab of the integration engine
under component monitoring in RWB with QoS=Best Effort:
After sent the test tool shows a Message sent with a
green light. But no message can be found in XI message
monitoring for this request.
I could not find much discussion on using the plain HTTP
adapter. Not sure what I did wrong and how I can
troubleshoot. The HTTP client HTML code is attached below
if you like to give it a try. Any hint or pointer to
related discussion will be very appreciated.
<html>
<script type="text/javascript">;
<!--
function button1_onclick() {
var result = "Result: ";
var payload = "<?xml version="1.0" encoding="UTF-8" ?>";
// escape "http://"
var senderNamespace = escape(document.MessageParameters.SenderNamespace.value);
var reqString = "http://"
reqString = reqString + document.MessageParameters.Server.value+":";
reqString = reqString + document.MessageParameters.Port.value + "/sap/xi/adapter_plain?";
reqString = reqString + "namespace=" + senderNamespace;
reqString = reqString + "&interface=" + document.MessageParameters.SenderInterface.value;
reqString = reqString + "&service=" + document.MessageParameters.SenderService.value;
reqString = reqString + "&party=" + document.MessageParameters.SenderParty.value;
reqString = reqString + "&agency=" + document.MessageParameters.SenderAgency.value;
reqString = reqString + "&scheme=" + document.MessageParameters.SenderScheme.value;
reqString = reqString + "&QOS=" + document.MessageParameters.qos.value;
reqString = reqString + "&queueid=httpclient";
reqString = reqString + "&sap-user=xiappluser&sap-password=xipass";
reqString = reqString + "&sap-client=" + document.MessageParameters.Client.value + "&sap-language=D";
var xhttp = new ActiveXObject("msxml2.xmlhttp");
xhttp.open ("POST", reqString, false);
if (document.MessageParameters.Source[0].checked == true) {
payload = "<?xml version="1.0" encoding="UTF-8" ?> "+ document.MessageParameters.xmlData.value;
xhttp.send (payload);
else{
var xmlDoc = new ActiveXObject("microsoft.xmldom");
xmlDoc.async=false;
xmlDoc.load (document.MessageParameters.xmlFile.value);
xhttp.send (xmlDoc);
//result = result + "n" + xhttp.responseText;
result = result + "nhttp-Status:  " + xhttp.status + " " + xhttp.statusText + " nPayload:n" + xhttp.responseText;
xhttp.close;
document.MessageParameters.response.value=result;
//-->
</script>
<head></head>
<body>
<h3>Client Http Adapter </h3>
<form name="MessageParameters">
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
<h4>Header</h4>
<tbody>
<tr>
<td width="10%"><label>Server Host</label> </td>
<td width="22%">
<!-- Change server and port here -->
<input type="text" id="host" name="Server"
value="YourServer" size="20"/> </td>
<td width="10%"><label>Server Port</label> </td>
<td width="22%"><input type="text" id="port" name="Port" value="8000" size="10"/> </td>
</tr>
<tr>
<td width="10%">Client</td>
<td width="22%">
<!-- Change client here -->
<input type="text" id="client" name="Client"
value="100" size="3"/></td>
<td width="10%"> </td>
<td width="22%"> </td>
</tr>
<tr>
<td width="10%"><label>Sender Service</label> </td>
<td width="22%">
<!-- Change sender service here -->
<input type="text" id="senderService"
name="SenderService" value="TravelAgencyCS" size="40"/> </td>
<td width="10%">Quality of Service</td>
<td width="22%">
      <select size="1" name="qos">
      <option value="BE">Best Effort (synchronous)</option>
      <option value="EO" selected>Exactly Once (asynchronous)</option>
      <option value="EOIO">Exactly Once in Order</option>
      </select>
</td>
</tr>
<tr>
<td width="10%"><label>Sender Interface</label> </td>
<td width="22%"><input type="text" id="senderInterface"
name="SenderInterface" value="BookingOrdersOut" size="40"/> </td>
<td width="10%"><label>Sender Namespace</label> </td>
<td width="22%">
<input type="text" id="senderNamespace"
name="SenderNamespace" value="http://sap.com/xi/rkt/CaseStudy/group99"
size="40"/></td>
</tr>
</tbody>
</table>
<br>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
<h4>Optional Parameters</h4>
<tbody>
<tr>
<td width="10%">Sender Party</td>
<td width="22%"><input type="text" id="senderParty" name="SenderParty"
size="40"/> </td>
</tr>
<tr>
<td width="10%">Sender Agency</td>
<td width="22%"><input type="text" id="senderAgency" name="SenderAgency"
size="40"/> </td>
<td width="10%">Sender Scheme</td>
<td width="22%"><input type="text" id="senderScheme" name="SenderScheme"
size="40"/> </td>
</tr>
</tbody>
</table>
<br>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
<h4>Payload</h4>
<tbody>
<tr>
<fieldset style="padding: 2">
<td width="50%"><input type="radio" name="Source" value="Textarea" checked="checked"/>Type in XML</td>
<td width="50%"><input type="radio" name="Source" value="File"/>Upload File</td>
</fieldset>
</tr>
<tr>
<td width="50%"><textarea name="xmlData" rows="10" cols="60"><a>test</a></textarea></td>
<td width="50%"><input type="file" name="xmlFile" size="40"/> </td>
</tr>
</tbody>
</table>
<p>
<input type="button" value="Send" id="button1" name="button1" LANGUAGE="javascript" onclick="button1_onclick()"/>
</p>
<hr/>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
<h4>Result</h4>
<tbody>
<tr>
<td width="50%"><textarea name="response" rows="5" cols="60"></textarea></td>
</tr>
</tbody>
</table>
</form>
</body>
</html>

After reading Michal Krawczyk's weblog on why I cannot see some of my messages in the SXMB_MONI and changed the XI logging_sync setting, now I can see logging of my sychronous messages.  Thanks to Michal now I can continue with my PoC.

Similar Messages

  • Getting BPM response in a synchronous web service

    We have a synchronous web service - an EJB whose methods are exposed as web service
    methods. The EJB acts as a broker, and channels web service requests to the BPM.
    Each web service request (i.e. each EJB method) needs to interact with a few AppView
    services. We plan to use the BPM as an intermediate layer. Hence each EJB method
    needs to start a BPM workflow, wait for its completion (as the web service is
    synchronous) and get the output response XML to return to the web service client.
    In this scenario, we have questions in two major areas -
    1) How does the EJB get the response from the workflow? For e.g. If we use sendXMLToClient
    in the workflow, how is it received by this EJB? Alternatively, is it better to
    put all the response in workflow variables, and inspect it after the workflow
    completes i.e. after WorkflowInstance.waitForCompletion() ? What would happen
    in case of exceptions = where would they be caught?
    2) There are various simultaneous tasks in the workflow, and we want to merge
    the XML response of all of these. How is it best done?
    Note that all of these are dynamic and need to be done in code i.e. Human intervention
    through worklist / studio is not expected.
    Please advise.
    Regards,
    Milind Prabhu
    [mailto:[email protected]]

    You can try the message driven bean.
    It will slove your problem.
    and you can use the database to save your run time xml response.
    Good luck!
    "Milind Prabhu" <[email protected]> wrote in message
    news:3c55830c$[email protected]..
    >
    We have a synchronous web service - an EJB whose methods are exposed asweb service
    methods. The EJB acts as a broker, and channels web service requests tothe BPM.
    Each web service request (i.e. each EJB method) needs to interact with afew AppView
    services. We plan to use the BPM as an intermediate layer. Hence each EJBmethod
    needs to start a BPM workflow, wait for its completion (as the web serviceis
    synchronous) and get the output response XML to return to the web serviceclient.
    In this scenario, we have questions in two major areas -
    1) How does the EJB get the response from the workflow? For e.g. If we usesendXMLToClient
    in the workflow, how is it received by this EJB? Alternatively, is itbetter to
    put all the response in workflow variables, and inspect it after theworkflow
    completes i.e. after WorkflowInstance.waitForCompletion() ? What wouldhappen
    in case of exceptions = where would they be caught?
    2) There are various simultaneous tasks in the workflow, and we want tomerge
    the XML response of all of these. How is it best done?
    Note that all of these are dynamic and need to be done in code i.e. Humanintervention
    through worklist / studio is not expected.
    Please advise.
    Regards,
    Milind Prabhu
    [mailto:[email protected]]

  • Invoking Synchronous Web Service from BAm alerts ( 11g)

    I am invoking a synchronous web service for BAM Alerts ( defined in rules )
    There r 2 actions Email and Call web service.
    EMail works fine
    But for calling a web service I get the following error in logs
    Content-Type = text/html
    Server = Oracle-Application-Server-10g/10.1.3.4.0 Oracle-HTTP-Server
    Date = Tue
    Date = 29 Dec 2009 17:09:54 GMT
    <html>
    <head>
    <title>Exceptional Event Occurred</title>
    </head>
    <body>
    <br>
    An exception occurred while processing your request, please contact your Manager or Supervisor.
    <br>
    </body>
    </html>
    Dec 29, 2009 11:09:54 AM oracle.bam.common.logging.Log writeLine
    SEVERE: EventEngine: Action exception: EEInstEv60 EEInstAct21 Rule Id: 7 exception: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html
    Dec 29, 2009 11:09:54 AM oracle.bam.common.logging.Log writeLine
    WARNING: EventEngine: Exception stack trace:
    at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call2(HttpSOAPConnection.java:209)
    at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:136)
    at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:129)
    at oracle.bam.eventengine.engine.event.action.TakeWSAction.invokeService(TakeWSAction.java:143)
    at oracle.bam.eventengine.engine.event.action.ActionProcessor.callWebService(ActionProcessor.java:1023)
    at oracle.bam.eventengine.engine.event.action.ActionProcessor.actionHandler(ActionProcessor.java:434)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.bam.system.Delegate$Sink.invoke(Delegate.java:80)
    at oracle.bam.system.Delegate.dynamicInvoke(Delegate.java:186)
    at oracle.bam.common.threading.threadpool.ThreadPoolController$PoolQueueItem.processWorkRequest(ThreadPoolController.java:154)
    at oracle.bam.common.threading.threadpool.ThreadPoolController$PoolQueueItem.run(ThreadPoolController.java:128)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
    The alert history shows both actions
    And also one more question related to alerts:
    Suppose we have selected rule as status =fail and flag =y , frequency 3 secs
    Then until the status is fail and flag is y the action should occur every 3 secs
    The behavior I see right now is
    whenever I update the Data object and condition meets the action happens
    but the rule i select was data field d meets criteria not data field update as criteria

    I replied to you by email but for the benefit of others, I will paste email content here:
    Let me take the questions one by one:
    1. Regarding Webservice action issue, I am going to need little more information as:
    a) Have you tested the webservice with some external tool like soapui using the same endpoint url and same payload to see if it works fine?
    b) Is it a secure webservice?
    c) Does it require any policy to be attached?
    d) If response to a) is yes, and if it is okay with you, can you share the webservice wsdl url with us along with the operation to be selected and the payload?
    2. On Alert behavior:
    Alerts by design fire only for the runtime changes that happen to the dataobject and satisfy the condition you choose and not for the conditions that are satisfied by the data that exists before alert is created and activated. So, in your case, not only for update but even for insert and delete of data, alert will fire if condition is met but the requirement is those changes should be happening to the dataobject after alert has been activated.
    Moreover, I would also like to make the behavior of Frequency Constraint clear here - I am copying the below text from official BAM Alerts doc, this will make it clear that frequency constraint doesn't mean that every x seconds, alert will evaluate the condition but rather that if within x seconds, condition gets met multiple times, alert will fire only once.
    Frequency Constraint
    The Frequency Constraint feature prevents a user's email inbox from being flooded with alerts by limiting the number of alert messages that can be sent out during a given time interval.
    Frequency Constraint can be edited only if it is appropriate for the event selected. otherwise it is disabled. It can be set to a value of time which could be in seconds, minutes, or hours.
    This limits the number of times the rule launches in a given time period. With real-time data, transactions can occur every millisecond, so alerting frequency must be controlled.

  • Problem while Introspecting a Web-Service in OBPM 10GR3 studio

    I get the following problem while Introspecting a Web-Service in OBPM 10GR3 studio:-
    Introspecting...
    downloading /test-ws/testc?wsdl [Error] Instrospection exception: Web Service WSDL parse exception: HTTPS hostname wrong: should be <test-01.test.net>...
    Any idea why?
    It runs well in a browser, eclipse and SOAP UI?

    have you create the destination?
    do  you use the wizard to generate code?
    usually there is catch clause for this line of code
    wdContext.currentRequest_SERVICE_MDM_LOOKUPElement().modelObject().execute();
    Edited by: John Wu on Dec 16, 2010 11:51 PM

  • Need Suggestion to build a simple web service demo

    I'm planning to build a demo using java packages JAX* for my team using my workstation and another standalone box.
    I got a Sun One Web Services Platform DVD from JavaOne, but it only support Win200 or XP, too bad our company still using Win NT SP6.
    I only need a very simple web service that will bring data from server DB. I knew I can download the JWSDP1.2, but there is no tutorial right now. And I have tried JWSDP1.1 but not really understand what it is doing(because only Hello world service is working). I need to do some modification to change the default server port from 80 to 81, and I need to modified localhost to [my-machine-name] so that the other machine can talk to the JWSDP server.
    My question is how can I build up a web service demo really easy and quick and what tool should I used, any suggestion will be appreciated! Thanks in advance!
    Henry

    1. Use XML Spy Enterprise edition editor.
    2. Goto www.xmethods.com, select service you want to create demo of.
    3. Get its WSDL url.
    4. In XML Spy SOAP menu there is a command 'create new soap request'. Press that, enter the WSDL url. You will get a SOAP request.
    5. Edit SOAP request parameters. Type parameters of your choice.
    6. Press 'send request to server'. You will get SOAP response. It will contain result from the requested method.
    7. Paste that response inside a JSP.
    8. Write a local method which will return same response (remote method's return value) that came from remote web service.
    9. Paste that method inside abovementioned JSP. Replace static response in that JSP with the response generated by local method. The method parameters will come from client's SOAP request. Parse SOAP request to get request parameters. (As it's your demo, you know the data types of the parameters).
    10. Host that JSP on any Servlet/JSP engine.
    That makes your Web Service.
    You can use any package like Aapche SOAP, AXIS or JAX-RPC to generate a SOAP client. Use the URL of JSP(step 10) as "endpoint".
    Note: Indside JSP make sure that there in no endline and carriage return character. Otherwise it won't be a valid SOAP response.
    Good luck.

  • Usage of fault message in a synchronous web service call from PI ccBPM

    In a PI ccBPM call to synchronous web service,  how can I use the fault message created and attached to the synchronous interface call.
    Mike

    I see nowhere so far, that says not possible. Can you direct me to the appropriate help. Client asking for the same, i have been trying to get this done for a while, can't given an answer NO unless i show them the legit document or something.
    I am in the processing of getting sap help and i have an open ticket. Support never mentioned so far about no possibility to get this done either. I am still crossing my fingers. But will update this thread accordingly with either of the solutions

  • SOAP vs. XML-RPC for synchronous Web Services applications

    Hi everyone, I have to finish one project soon and I have to make a decision. Because I don't have much time I want to ask if anyone can answer me, what are the major differences bettween SOAP vs. XML-RPC for synchronous Web Services applications. I'll be very grateful if you help me!
    Thanks in advance!

    Come on guys i know you can help me, please don't hesitate to write some row

  • How to build, package & deploy web services manually without ant on JWSDP

    Hello,
    How can I Build, Package & Deploy web services manually without using ant tool on JWSDP 1.3?.
    Because I am having difficulties in using ant tool for my own webservices. ant is very tightly coupled with the directory hierarchy & configuration files (as I go throught the examples of JWSDP1.3). Also I need to learn the overall process going on behind the scene.
    I have to teach the simplest required steps to build, package & deploy any webservice to any container independent of application server & OS without using ant tool. It would also help me to understand which items are required as specified in the Web Services Specifications & which one are implementation or platform specific.
    Any help would be greatly appreciated.
    Thanks,
    Iftikhar.

    Just follow the step of the JWSDP1.3 tutorial..

  • Getting an error while building a sample web service

    Hi,
    I am beginner in web services and started working on a sample application in a web service tutorial.
    Build is failing in build.xml file while building sample web service using ant tool.
    antBuildfile: build.xml
    clean:
    setup:
    [mkdir] Created dir: /tmp/output/WEB-INF/classes
    [mkdir] Created dir: /tmp/client_classes
    compile.server:
    [javac] Compiling 1 source file to /tmp/output/WEB-INF/classes
    webservice.build:
    webss.build:
    BUILD FAILED
    Z:/JAVA-COBOL/sample1/tutorial/sample1/build.xml:43: The following error occurred while executing this line:
    Z:/JAVA-COBOL/sample1/tutorial/sample1/build-webss.xml:10: Problem: failed to create task or type source2wsdd*_
    Cause: The name is undefined.
    Action: Check the spelling.
    Action: Check that any custom tasks/types have been declared.
    Action: Check that any <presetdef>/<macrodef> declarations have taken place.
    Can anyone look into this and let me know if you have any idea on this?
    Thanks,
    SRoop.
    Edited by: SRoop on Jun 20, 2008 9:11 AM
    Edited by: SRoop on Jun 20, 2008 9:14 AM
    Edited by: SRoop on Jun 21, 2008 5:51 AM

    Hi,
    I am beginner in web services and started working on a sample application in a web service tutorial.
    Build is failing in build.xml file while building sample web service using ant tool.
    antBuildfile: build.xml
    clean:
    setup:
    [mkdir] Created dir: /tmp/output/WEB-INF/classes
    [mkdir] Created dir: /tmp/client_classes
    compile.server:
    [javac] Compiling 1 source file to /tmp/output/WEB-INF/classes
    webservice.build:
    webss.build:
    BUILD FAILED
    Z:/JAVA-COBOL/sample1/tutorial/sample1/build.xml:43: The following error occurred while executing this line:
    Z:/JAVA-COBOL/sample1/tutorial/sample1/build-webss.xml:10: Problem: failed to create task or type source2wsdd*_
    Cause: The name is undefined.
    Action: Check the spelling.
    Action: Check that any custom tasks/types have been declared.
    Action: Check that any <presetdef>/<macrodef> declarations have taken place.
    Can anyone look into this and let me know if you have any idea on this?
    Thanks,
    SRoop.
    Edited by: SRoop on Jun 20, 2008 9:11 AM
    Edited by: SRoop on Jun 20, 2008 9:14 AM
    Edited by: SRoop on Jun 21, 2008 5:51 AM

  • Problem deploying document style web service(urgent help required)

    I am getting this particular exception on my browser when I am trying to view the list of services after having deployed the service. The exception and complete stack trace is follows. I have also included the portion of the WSDD file giving details about the service.
    And now... Some Services
    AXIS error
    Sorry, something seems to have gone wrong... here are the details:
    Exception - org.apache.axis.ConfigurationException: java.lang.ClassCastException
    java.lang.ClassCastException
         at org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeployableItem.java:302)
         at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
         at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
         at org.apache.axis.deployment.wsdd.WSDDDeployment.getHandler(WSDDDeployment.java:394)
         at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:276)
         at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
         at org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:125)
         at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
         at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
         at org.apache.axis.deployment.wsdd.WSDDService.makeNewInstance(WSDDService.java:430)
         at org.apache.axis.deployment.wsdd.WSDDDeployment.getDeployedServices(WSDDDeployment.java:503)
         at org.apache.axis.configuration.FileProvider.getDeployedServices(FileProvider.java:296)
         at org.apache.axis.transport.http.AxisServlet.reportAvailableServices(AxisServlet.java:482)
         at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:260)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
         at java.lang.Thread.run(Thread.java:534)
    org.apache.axis.ConfigurationException: java.lang.ClassCastException
    java.lang.ClassCastException
         at org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeployableItem.java:302)
         at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
         at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
         at org.apache.axis.deployment.wsdd.WSDDDeployment.getHandler(WSDDDeployment.java:394)
         at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:276)
         at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
         at org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:125)
         at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
         at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
         at org.apache.axis.deployment.wsdd.WSDDService.makeNewInstance(WSDDService.java:430)
         at org.apache.axis.deployment.wsdd.WSDDDeployment.getDeployedServices(WSDDDeployment.java:503)
         at org.apache.axis.configuration.FileProvider.getDeployedServices(FileProvider.java:296)
         at org.apache.axis.transport.http.AxisServlet.reportAvailableServices(AxisServlet.java:482)
         at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:260)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
         at java.lang.Thread.run(Thread.java:534)
         at org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeployableItem.java:304)
         at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
         at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
         at org.apache.axis.deployment.wsdd.WSDDDeployment.getHandler(WSDDDeployment.java:394)
         at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:276)
         at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
         at org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:125)
         at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
         at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
         at org.apache.axis.deployment.wsdd.WSDDService.makeNewInstance(WSDDService.java:430)
         at org.apache.axis.deployment.wsdd.WSDDDeployment.getDeployedServices(WSDDDeployment.java:503)
         at org.apache.axis.configuration.FileProvider.getDeployedServices(FileProvider.java:296)
         at org.apache.axis.transport.http.AxisServlet.reportAvailableServices(AxisServlet.java:482)
         at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:260)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
         at java.lang.Thread.run(Thread.java:534)
    The snippet from the WSDD is as follows:
    <handler name="RequestHandler" type="java:com.doc.service.DataHandler"/>
    <service name="AddCalcService" provider="java:MSG">
    <parameter name="allowedMethods" value="*"/>
    <parameter name="className" value="com.doc.service.AddCalcService"/>
    <requestFlow>     
         <handler type="RequestHandler"/>
    </requestFlow>
    <responseFlow>
         <handler type="RequestHandler"/>
    </responseFlow>
    </service>
    Could someone tell what the cause of this exception and how it could be resolved.

    Hi Bruce,
    Thanks for all the links - am trudging through them now.
    -Leena
    Bruce Stephens <[email protected]> wrote:
    Hi Lenna,
    You might take a look at the SOAPBuilders interop tests.
    See: http://www.whitemesa.com/r3/interop3.html and notice the DocLit
    tests.
    Our endpoints are http://webservice.bea.com:7001 and the code for the
    client and servers can be located here:
    http://webservice.bea.com/index.html#qz40
    The good folks with WS-I have spent many cycles on interop issues. You
    might have a look at their work:
    http://www.ws-i.org/Profiles/Basic/2003-08/BasicProfile-1.0a.html
    Hope this is of some value,
    Bruce
    leena wrote:
    Hi,
    I am trying to build a synchronous document-style web service, andthe bea
    site doesnt seem to have much documentation on it. I have a samplewritten with
    SOAPElement as the input and output of my method, no schemas, my reqand response
    are anyType, but im not sure if that is the best way to go. AND, itdoesnt work
    yet.
    Can anyone point me to a place where i can look for information ?i am on weblogic
    8.1. I would eventually also want my input/output xml to be definedby my schema.
    I see in examples that DOM Documents may also be passed as parameters(inand out)
    ? is there any place i can read up on this and decide what the bestoption for
    me is ? Also, i will be running a .Net client against this, so if thereis anything
    i need to keep in mind, i would appreciate it if anyone gave me anyinfo.
    Thanks in advance!
    leena.

  • WLI: Can't call synchronous web services from async business process?

    I have three web services, X, Y, and Z, that I want to call from a business process B. X is asynchronous, Y and Z are synchronous. Therefore, B must be asynchronous. B is called from another business process, A, that must be synchronous. So, I have A call B synchronously using the SyncAsync pattern described in "Best Practices for Oracle WebLogic Integration Application Life Cycle". This worked fine in earlier development when I was only calling X from B. However, when I try to add synchronous calls to Y or Z and run A, I get the following error message from B:
    com.bea.control.classic.ServiceControlException: Attempting to perform the client
    callback 'doY' while servicing a blocking request from the same client.  This can
    result in a deadlock condition.  An @jws:message-buffer tag should be placed on
    the synchronous operation or on this callback.This is obviously an old error message, since it recommends an annotation in the old style. Anyway, what can I do? Shouldn't it be possible to invoke web services synchronously from process B? If so, then how? I don't know what synchronous operation it's talking about -- is it A's call to B? As for the callback, I don't see a separate callback. Annotating the SBControl's method with weblogic.jws.MessageBuffer did no good, and I can't use com.bea.control.annotations.MessageBuffer because the method doesn't return void. Can I make this work without rewriting B, and if so, how? It'd be nice if I could call X, and then call Y and Z while waiting for X's callback.
    Alternatively, I could rewrite my processes so that A calls a new process C synchronously, which in turn calls B (which calls X), Y, and Z. That should work, right? Thanks for any help y'all can give me.

    Greetings everyone,
    We have found a solution to this problem, and it is very much like one offered by Trinidad, except there was some confusion in my understanding.
    http://sql-patch/B1WS/webreferences/LoginService.wsdl
    Indeed, the url http://localhost/Service.asmx appears in the WSDL files, as well as the web.config.
    I changed it to http://sql-patch/B1WS/webreferences/LoginService.wsdl in the WSDL files only.  This did not work.
    We then found it in the web.config file also, and changed it to http://sql-patch/B1WS/webreferences/LoginService.wsdl also.
    The reason I was using this URL is because the files exist there.  Looking at IIS, there is no Service.asmx anywhere in the B1WS path, and this confused me.
    This got us one step further, but now a new error was showing itself -- 405 Method Not Allowed.
    It turns out that the URL we needed to change it to is this:
    http://sql-patch/B1WS/Service.asmx
    That is, we replace localhost with the name of the machine, and NOTHING else.
    This seems to have solved it for us, and is hopefully useful for you.
    Thanks all,
    Mike

  • Problem with 10.13 web services tutorial

    I have just tried to complete the following oracle tutorial Developing, Deploying and Managing Web Services Using JDeveloper and Oracle Application Server that is available here http://www.oracle.com/technology/obe/obe1013jdev/ws/wsandascontrol.htm.
    I have successfully completed the first 10 steps without any problems and the class compiles, but when I reach step 5 of the second section entitled Creating a Web Service on the Java Class I can not progress any further.
    Step 5 states:
    On the methods page of the wizard, select the check boxes next to both methods from teh available methods and click finish.I can not do this because both of the check boxes are greyed out and not active. The only thing I can select is the why not? button. Upon pressing this I get the following message The class datapackage.GetDates contains compilation errors which means the validity of the methods could not be determined .
    I can not understand why I am getting this message as I have followed the tutorial through up until this point exactly.
    I am using JDeveloper 10.1.3.0.4 (SU4) Build JDEVADF_10.1.3_NT_060125.0900.3673
    A colleague of mine has also tried to complete the tutorial and is having the same problem as me.
    I'd appreciate your thoughts and suggestions in fixing this problem.
    Thanks in advance
    David

    Hi Sunil,
    I am not experiencing any compilation errors - that is why I am confused.
    the class compiles without any problems as per the instructions
    Compiling...
    C:\JDev1013\jdk\jre\bin\java.exe -jar C:\JDev1013\jdev\lib\ojc.jar -noquiet -warn -nowarn:320 -nowarn:486 -nowarn:487 -deprecation:self -nowarn:560 -nowarn:704 -nowarn:489 -nowarn:415 -nowarn:909 -nowarn:412 -nowarn:414 -nowarn:561 -nowarn:376 -nowarn:371 -nowarn:558 -nowarn:375 -nowarn:413 -nowarn:377 -nowarn:372 -nowarn:557 -nowarn:556 -nowarn:559 -source 1.5 -target 1.5 -encoding Cp1252 -g -d C:\dev\java\1013\JavaWebService\GetDates\classes -make C:\dev\java\1013\JavaWebService\GetDates\classes\GetDates.cdi -classpath  C:\JDev1013\jdk\jre\lib\rt.jar;C:\JDev1013\jdk\jre\lib\i18n.jar;C:\JDev1013\jdk\jre\lib\sunrsasign.jar;C:\JDev1013\jdk\jre\lib\jsse.jar;C:\JDev1013\jdk\jre\lib\jce.jar;C:\JDev1013\jdk\jre\lib\charsets.jar;C:\JDev1013\jdk\jre\classes;C:\dev\java\1013\JavaWebService\GetDates\classes -sourcepath  C:\dev\java\1013\JavaWebService\GetDates\src;C:\JDev1013\jdk\src.zip C:\dev\java\1013\JavaWebService\GetDates\src\datespackage\GetDates.java
    [13:00:49] Successful compilation: 0 errors, 0 warnings.The problem I am getting is that tick boxes which the instructions state to tick in step 5 of the second section entitled creating a web service on the java class are greyed out and not active.
    Any ideas???
    Thanks
    David

  • Problem when defining a web service

    Hello,
    I have defined several BAPI that I am calling from an external application by exopsing those BAPI using the SOAP adaptor.
    All goes well for all of them except one.
    For the one having problems the Integrantion engine is routing that call to different webservice than the one I expect it to do it,
    these are some of the paramenters I use when defining the web service in the Integration Builder:
    Interface name: MI_BAPI_PPMSRVAPS_GETLIST
    Communitcation chanel: CC_SOAP_BAPI_PPMSRVAPS_GETLIST
    Address: http://sapxi:50000/xisoapadapter/messageservlet?channel=:BS_WEBSERVICE_GREYCON:CC_SOAP_BAPI_PPMSRVAPS_GETLIST
    but instead when I test the generated wsdl using soapUI: the integration engine returns this error:
    Canceled with Errors 02.06.2010 15:04:22 02.06.2010 15:04:23   [websericename]     [namespace]MI_BAPI_PDSSRVAPS_GETLIST
    My guess is that at some point I defined wrong the web service but I have no way to redefine it or revert how it was defined.
    I redefined the webservice with correct parameters, but there is no change in behaviour.
    I checked server address and port (it is the exact same of the other BAPIs that work)
    Where can I see all defined web services when they are defined via the Integration builder define web service option?
    How to delete a webservice published this way?
    Any advise?
    Any help is very much appreciated.
    Regards,
    Mauricio Pego

    Hello there.
    Error: 404 Not Found
    Description: The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.
    Possible Tips:- for HTTP_RESP_STATUS_CODE_NOT_OK 404
    u2022 404 is an HTTP response code that indicates that the resource in question couldn't be found. Usually this is due to an incorrect URL, so it is better to cross check all URLs. Check pipeline URL in the SLD in the business system of the Integration Server For this go to SLD->Business System-><yourIntegrtaion Server>->Pipeline URL: It should be like this http://<host>:<port>/sap/xi/engine?type=entry Where host is the host name of the Integration Server and port is the HTTP(8xxx) port. To verify this in Integration Server you can do like this. Go to SXMB_ADM->Integration Engine Configuration->Choose Edit from Menu -> Change Global Configuration Data to switch to change mode. Then select System Landscape - Load Configuration. (This is not required always)
    u2022 Check that the port really is the ICM HTTP Port and not the J2EE port i.e SMICM then menu GOTO --> SERVICES and check the port number for HTTP. It should be HTTP port
    u2022 If the error is Page cannot be displayed, cannot find server in https configurations Check and correct the SSL configuration for the ABAP and the J2EE side of the system
    u2022 If the error is because of integration server when using Proxy communications then check these. i.e SXMB_ADM->Integration Engine Configuration->Corresponding Integration Server enrty should be dest://<Http Integration server-Destination> Where < Http Integration server -Destination > is the RFC destination (SM59) of type HTTP connection (type H) to the Integration Server. In this case, host name, port, and path prefix are saved in the RFC destination.
    Try some of the recommendations that most apply to your case.
    Hope it helps!
    Regards,
    Caio Cagnani

  • Building & Consuming Async Web Service

    I'm fairly new to web services.  I built a WCF Web Service.  It works fine when making synchronous calls.  I'm stuck trying to make an async call.  On the client side in Visual Studio, I get a "Cannot await TestWebServices.QuotingEngineService.SmallGroupQuote[]"
    error when trying to make the call.  Below is the pic of client configuration, the client code followed by the web service code. If you can point me in the right direction it would be greatly appreciated:
    Client Web Config:
    <bindings>
    <basicHttpBinding>
    <binding name="BasicHttpBinding_IQuotingService" maxReceivedMessageSize="2147483647" maxBufferPoolSize="524288" maxBufferSize="2147483647" />
    </basicHttpBinding>
    </bindings>
    <client>
    <endpoint address="http://10.32.0.99/QuotingWebServiceHMO/Service.svc"
    binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IQuotingService"
    contract="QuotingEngineService.IQuotingService" name="BasicHttpBinding_IQuotingService" />
    </client>
    Screen Shot of Configuration:
    Page Load:
    protected void Page_Load(object sender, EventArgs e)
    List<int> corpIDs = new List<int>() { 57 };
    fetchRenewalAsync(corpIDs);
    fetchRenewalAsync - Where I get the error in VS:
    private static async void fetchRenewalAsync(List<int> corpIDs)
    using (QuotingServiceClient client = new QuotingServiceClient())
    var task1 = client.GetSmallGroupRenewals(corpIDs.ToArray(), "3/1/2015", "2/23/2015", 121);
    return await task1;
    Quoting Service Interface:
    [ServiceContract]
    public interface IQuotingService
    // Small Group Renewals:
    [OperationContract]
    List<SmallGroupQuote> GetSmallGroupRenewals(List<int> corpIDs, string effectiveDate, string activeDate, int censusBatchID);
    Quoting Service:
    namespace QuotingServices
    public class QuotingService : IQuotingService
    #region List<SmallGroupQuote> GetSmallGroupRenewals
    public List<SmallGroupQuote> GetSmallGroupRenewals(List<int> corpIDs, string effectiveDate, string activeDate, int censusBatchID)
    return SmallGroup.GetSmallGroupRenewals(corpIDs, effectiveDate, activeDate, censusBatchID);
    #endregion
    Another thing I noticed is the Async option is not available when I run the Web Service in debug mode, if that indicates anything.
    Thanks

    Hi Jamezn2013,
    I see that you have used the following code:
    private static async void fetchRenewalAsync(List<int> corpIDs)
    using (QuotingServiceClient client = new QuotingServiceClient())
    var task1 = client.GetSmallGroupRenewals(corpIDs.ToArray(), "3/1/2015", "2/23/2015", 121);
    return await task1;
    If you want to make the asynchronous WCF call, please try to modify the client.GetSmallGroupRenewals as client.GetSmallGroupRenewalsAsync:
    private static async void fetchRenewalAsync(List<int> corpIDs)
    using (QuotingServiceClient client = new QuotingServiceClient())
    var task1 = client.GetSmallGroupRenewalsAsync(corpIDs.ToArray(), "3/1/2015", "2/23/2015", 121);
    return await task1;
    For more information, please try to refer to the following article:
    http://www.codeguru.com/columns/experts/building-and-consuming-async-wcf-services-in-.net-framework-4.5.htm .
    Best Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Problem requesting WSDL from web service.

    Hello,
    I am rather new to creating web services, but I have been writing software for some time now. Please be gentle.
    I am writing a webservice "document first". I have a schema and an WSDL that were already written. I generated the code for a server from the WSDL and then wrote an implementing class from the interface it generated. All of my actual code compiles successfully and unit tests okay.
    I then looked at one of the examples included with JAX-WS to find out how to create the war to deploy to an application server (I am using Tomcat 5.5). After modifying the web.xml, build.xml, and sun-jaxws.xml files to work with my project structure I built and deployed the webservice.
    My problem is tomcat shows it is running, but when ever I try to point my client where I think the WSDL should be the "resource insn't available" I tried curl and just browsing there as well. What is the URI to retrieve the WSDL?
    Thanks for all your help in advance.
    Edited by: blindingillusion on Jun 5, 2008 1:10 PM

    Hi,
    I'm also new to web services. I created a hello world web service in MyEclipse using the wizard. How I pointed to the WSDL was by typing the following:
    http://localhost:8080/WebServiceProject/services/HelloWorldService?WSDL

Maybe you are looking for

  • Mini - DVI/HDMI - Onkyo TX-SR674 - Philips 42" LCD | Problem

    OK, I just got my new Mini (1.66 Core Duo) to hook up to my Philips 42" 1080P HDTV LCD. I have the video signal going via a DVI to HDMI cable through my Onkyo TX-SR674 Receiver. The reason for this setup is that the Onkyo receiver controls my video s

  • Can anyone disambiguate all the various product names?

    One thing that bugs me about Oracle is the have such a great love for 1) Giving EVERYTHING its own separate name, 2) Making those names really unhelpful as to what exactly the software does, and 3) assigning version numbers AND release levels AND upd

  • How can I select shutdown & close the display w/o going into sleep mode?

    I have learned to wait untill the MBP full shuts down before closing the display. In the past I have pressed shutdown closed the display only to find out later the MBP goes into sleep mode before fully shuting down. When I reopen the display the comp

  • Preview.app ignoring system prefs, bug?

    greetings, switched to 10.7 recently.  seem to be having a problem with preview.app. i have various setting saved as follows: system pref -> general:      restore windows... = unselected      highlight color = Gold      show scroll bars = always syst

  • 0ORGUNIT Hierarchy load failure

    Hi Friends, I have loaded 0ORGUNIT hierarchy through proicess chain. load is getting failed with the below error message Node ID 00000613 , char.value 40000136 , exists several times under node ID 00000153 Node ID 00002561 , char.value 40000136 , exi