Implementing Multiple Web Service operations

Currently using JCAPS 5.1.3.2. Supposedly there is a way to implement a web service with multiple operations without using bpel. I haven't been able to figure out how to do this except by creating multiple WSDLs, each having one operation which invokes one jcd. Is there a way to do this with one WSDL?
Thanks.
Sharon

Sharon,
when you import a WSDL, you have to export the XSD nodes to an OTD in order to use them in a WebService Collabale JCD. With this JCD you create your own operation.
Normally you have a Request and Reply element in your WSDL.
I think you can define more of these "operations" in your WSDL which you can export to XSD nodes and then use in separate JCDs (= operation).
You can handle only 1 operation per WebService collable JCD.
Hope this helps some.
Regards,
Madere

Similar Messages

  • Multiple web services sharing same session?

    I was wondering if anyone has ever implemented multiple web services for an application that allowed the web services to share the same session?
    Furthermore, I was wondering if support might be included/buried in the WSDL spec. somewhere?

    There are a number of standards emerging to support long-running conversations among Web services as well as Web service composition. Can you expand on what you're trying to achieve?
    Doron.
    Collaxa, Inc.

  • Implementing differents web services in the same composite

    hi everybody,
    what are the bests practises to implement differents web services in the same composite:
    - creating one WSDL with differents portTypes and expose one web service for each portype
    - creating differents WSDL for each web services
    Thanks,

    Hi
    I would prefer different WebServices for each set of Operations. Please note that you can have multiple operations with different input and output xsd parametes. So its like One WebService -> One Port -> Multiple Operations. Only draw back is, you have to deploy all these webservices as multiple WAR files. Or one big EAR that has all these WAR Files.
    I tried once One WebService -> 2 Ports -> Each Port with its own set of operations. I ran into problem when I tried to generate client for this webservice. The JAXB generated classes was odd and this did not work.
    There may be some other option also. Hopefully someone can share their thoughts.
    Thanks
    Ravi Jegga

  • How to Call web service operation by creating plain SOAP message in client?

    Hi
    Thank you for reading my post.
    I have some questions about using web methods of a web service which i would be very gratfull if you could answer.
    I should implement a web service that should receive a file with some other parameters from client and another web service which should receive some parameters and return a file.
    I used a mechanism like the following one to handle the condition and it just works. But I have a problem, I need to create dynamic invocation and I must create soap message and send it to webservice (no IDE generated code)
    What i need is one or two tips or a sample that shows how we can send and receive files by web services.
    I want to know how we can create the SOAP message ourself and then send it to the web service endpoint and it call the web method and ....
    Imagine the following web method, How i can invoke it by creating soap message myself and sending it to end point.
    @WebMethod
    public String saveFile(@WebParam(name = "fileName") String fileName, @WebParam(name = "fileContent") byte[] fileContent) {
    // TODO implement operation
    return "Something";
    Another question is :
    Does this mechanism that i used to transfer files is OK?
    Is it optimized or there are some other ways to do this job.
    I should say that i put one week on handlers to use soap attachments and i get no result.
    So, Please let me know if you know or have some sample that show me how to do the above job.
    Thanks.

    Hi
    From NW04s SP8 you can create webservice systems from within VC , and you will have the option of adding a user and password to authenticate. You can find it at Tools>>Define web service system. You will see a check box url requires user and password.
    If for some reason you can not do it in VC then you should create the system in the portal and fill out the usermapping screens.
    Jarrod Williams

  • Multiple Web Services in one Jdeveloper project

    Hi all,
    I'm currently trying to implement a series of web services, all relating to one application. I'm using the top-down approach, where I generate the web service from a WSDL file, and add my implementation to the generated classes. The WSDL file imports all sorts of XML Schemas (xsd-files) and Jdeveloper correctly generates all the necessary java-classes for me. Lets call the first web service I create WS-1.
    This all works fine and I'm a happy panda. I can call the web service, it works, I can modif the wsdl and regenerate the web service to e.g. change the input etc. All this works.
    Just until the point where I want to create a second web service (lets call this WS-2). This new web service doesn't use all the XML Schemas that the first web service does, it is more simple with regards to in-/output. The problem arises when I modify WS-2 and Jdeveloper regenerates the Web service files (.java and the files in the WEB-INF/wsdl-directory). When I do this, it deletes the imported xsd-files that WS-1 uses (removes them from WEB-INF/wsdl).
    And when I regenerate WS-1 to get my xsd-files in again, then when I regenerate WS-2 it imports all the unnecessary xsd-files into the wsdl for WS-2.
    Something tells me, that there is a connection or shared library between all web services in one Jdeveloper project. That they all imports and uses the xsd-files in WEB-INF/wsdl.
    Is this true? Can't I have multiple web services (and wsdl-files) using different types (schema definitions) in the the same Jdeveloper project?
    One solution I can think of, is to have all my web services in different projects under the same application. But is this really necessary?
    I'm using Jdeveloper 10.1.3.3.0.

    Hi,
    pure from a coder instinct I think I would prefer them to be in separate projects for better reuse and clean separation. If I need project 1 to access aclass from Project 2, I can check the dependency check box in the project properties. Is there any business requirement that makes you think having all of these in a single project will help ?
    Frank
    Btw.: I agree that JDeveloper shouldn't constraint developers from doing what they want and if this is a limitation the feel free to file a bug

  • Certificate error while connecting to multiple web service

    I am having a web service test client through which I can connects and get reports from multiple web services.
    In Development unix box, we are using "self-signed certificate" using keystore type JKS. In Production server, we are using certificate from CA.
    The web service is running in Development and in Production.
    Now I have developed single test client with a drop down selection for different web services. For example, if we select "Development", the request will go the development web service and if we select "Production", the request will go to Production web service.
    Now while connecting to Develpment service, we are settings the below certificates details Because we are using the self signed certificate.
    System.setProperty("javax.net.ssl.keyStore",keyStoreFileLocation);
    System.setProperty("javax.net.ssl.keyStorePassword",keyStorePassword);
    System.setProperty("javax.net.ssl.keyStoreType", keyStoreType);
    System.setProperty("javax.net.ssl.trustStoreType",trustStoreType);
    System.setProperty("javax.net.ssl.trustStore",trustStoreFileLocation);
    System.setProperty("javax.net.ssl.trustStorePassword",trustStorePassword);
    I am clearing the System properties using the System.clearProperty() while pointing to Production service. because in Production we are using the CA certificate from Thawte so these details are not required at all and our JRE (java 5) is pre configured to support that CA certificate.
    I am using Resin-2.1.12, axis1.2 and java5.
    Now the problem is
    (1) for the first time, when I send the request to Production Service URL, the report gets generated. For the next time when we are running against Development, it's giving below certificate error.
    sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    (2) Now restart resin and run the test client against Developemnt service URL, here report gets generated and for the next time, run the test client against Production, it's giving the certificate error.
    So for the 2nd request, it always gives the error irrespective of the web service instance selected.
    Please suggest ....thanks in advance.

    Hi  ,
    No, due to the issue is happening only on one computer.
    The error "(401) Unauthorized" usually indicates that the connection has been established but the permission check fails.  InfoPath Form Services uses the application pool identity of the web
    application to connect to resources.
    Does the account  which login the computer have permission to connect to User Profile Service Application?
    For a workaround, you can go to IIS Manager , set the User Profile Application Pool to Anonymous Access and try again.
    Also you can have a look at the blog:
    http://sharepointconnoisseur.blogspot.in/2011/04/how-to-resolve-401-unauthorized-error.html
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Web service operation ... with parameters {} cannot be found

    Hi All,
    I am accessing a web service of a web site using ColdFusion.Each time I am calling the web service I am getting the message "Web service operation ... with parameters {} cannot be found".The wsdl file showing the parameter as complex type .So I have passed value to the particular method using structure and xml type each time I gets that error message.I can not post here the wsdl for security reason.
    When I am calling this Web service from .net it is working without any problem. .NET directly creating the objects of the parameter which the method is needed from the wsdl but I don't know whether it is possible in ColdFusion or not.Also I don't know whether the web service in .net or in other language.
    Please suggest something.
    Thanks
    Upen

    Thanks for your response.
    Yes, I have passed all the arguments but it seems the web application is coded in .net and by googling I came to know that if the .net receives a complex type of object then it creates problem when we pass argument from coldfusion.(means type mismatch)
    If you know about it please suggest .

  • Web service operation could not be found.

    Would CF give this error if there was simply an error in the
    cffunction code? The service is there and it looks fine. In fact,
    most of the code comes from another cffunction in the same file,
    but with more arguments and some additional code. I have cleared
    the server cache several times.
    It's driving me nuts. The error codes sometimes just don't
    make any sense or are misleading. I hope future versions of CF deal
    with this better.
    Web service operation "RegisterFiles" with parameters
    {groupID={185},folder={/},filename={MOV04684.MPG},userName={xxxx},userPassword={xxxx},fil eType={video}}
    could not be found.

    NealCrankshaw, in your case you definitaly need to use java
    in order to create and use complex data types arguments with your
    web service. Here are the steps to follow in nutshell
    1. Use wsdl2java tool (CF_HOME/runtime/bin) tsupplying URL to
    webservice WSDL to create java code.
    2. Create java classes by compiling java code created in step
    1
    3. Create jar file(s) from classes in step 2
    4. Put jar file in CF classpath or just copy it to
    CF_HOME/lib directory
    5. Using <cfscript> create required objects, arrays and
    other arguments and supply them to web service method call.

  • OWSM and Webservices -Define policies once for multiple web services

    I thought that through using OWSM we had the possibility to use the same Policy Lines for multiple web services.
    Mostly when web services are used/integrated within an application, the same rules need to be defined and I thought this requirement could be met when using OWSM.
    But you need to define the policy requirements on each web service that's passing through a gateway or agent, why isn't it supported to define policy lines one level higher to be able to use the same requirements for multiple web services?

    Nathalie,
    For this purpose OWSM allows you to use Template Policy Pipelines.
    For individual services, you can than replace the pipeline with the Template.
    But I have to agree with you here: the templating functions are rough on the edges, e.g. limited editing capabilities.
    Hope this helps.
    Best regards, Sjoerd

  • Regarding multiple web service

    Hi,
    I am working on web services in EJB.
    for securing the web service, we use jboss-wsse security.
    Can i have multiple web services with few web services being secured and the others in-secured?
    Thanks in advance.

    Friends,
    Can you please help me out with this logic? Thanks!

  • Can't have multiple Web Service connections in SP1

    Hello,
    I'm currently interested in adding more than 1 Web Service connection to a particular xcelsius file, but after adding the first connection, the option is disabled in the Data Manager screen. Is there a workaround for this, since before service pack 1 you could have any amount of connections and as off upgrading this was changed.
    Regards

    Yeah I totally agree, It's like someone giving you a bunch of new appliances for your home but then telling you that your not going to have any electricity.  This product is pretty much usless to me now.
    Just the thought of having to partially develop in one version of xcelsius and then port over to a version that has SP1 installed makes me ill.  From what I can tell Xcelsius Engage Server still has multiple web service connection functionality enabled (http://www.businessobjects.com/product/catalog/xcelsius_engage/comparison.asp), I'm interested to see what the cost will be to upgrade to Server.

  • Detail; The fault returned when invoking the web service operation

    Hi,
    We are getting below errors from Coldfusion, I am not a coldfusion expert engg. so unable to trace it futher..kindly suggest some move to get this resolve.
    Detail; The fault returned when invoking the web service operation is:<br> <pre>AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server faultSubcode: faultString: java.lang.reflect.UndeclaredThrowableException faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:java.lang.reflect.UndeclaredThrowableException at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:221) at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:128) at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:10 87) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch( Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(U... ''</pre>
    Message: Cannot perform web service invocation getStudentByNRIC.
    StackTrace: coldfusion.xml.rpc.ServiceProxy$ServiceInvocationException: Cannot perform web service invocation getStudentByNRIC. at coldfusion.xml.rpc.ServiceProxy.invokeImpl(ServiceProxy.java:230) at coldfusion.xml.rpc.ServiceProxy.invoke(ServiceProxy.java:143) at 

    I expected something like:
    http://localhost:8500/opensource/QBWC_Shell.cfc?wsdl
    Apart from that, your code looks right.

  • Implement the web-service API on an external service desk

    Hi,
    I want to implement the web-service API on an external service desk
    system.
    I am working with the IMG and got to the point where I define a logical
    port. At this point I need the web-service to be implemented on the
    external system.
    I have web-service API documentation and also read note 962383 - but I
    did not find any specific instructions how to implement the web-service.
    Can you assist me with documentation for the web-service implementation
    on external system procedure?
    or if someone can share a step-by-step - it would be great.
    Thanks,
    Shelly

    Hello Shelly,
    Please use the following link to Read a blog Service Desk Implementation Guide Part II
    Service Desk Implementation Guide Part II
    This blog describes the following.
    1) Integrate New data in the Service Transaction
    2) Implement new action: send mail to creator on message modification.
    3) Configure an interface to an external service Desk
    4)Implement a new action that send the message to the external system and change automatically the status.
    Hope it helps.
    Cheers,
    Satish.

  • Is it possible to define multiple web services in one project?

    I'd like to publish multiple components within one project as web services. but when I try to create it using the project New menu, it only prompts me and allows me to select one component . So does this mean only one web service can exist in one project?

    Sunil
    Thanks for the prompt reply.
    I think I should have worded my question more clearly.
    I have a project with multiple Java classes. I'd like to convert two of them into web services.
    There are two ways to co this.
    1. I right click on each class and select the Generate J2EE Web Service option. This will work correctly and allow multiple web services to be generated.
    but this is not what I want to do .
    What we are trying to do is to generate web services at the project level. I am following instructions in OTN web services tutorial :
    http://www.oracle.com/technology/obe/obe1013jdev/ws/wsandascontrol.htm
    So , this is what I do :
    1. Right-click on my project and select New from the context menu.
    2. In the New Gallery, expand Business Tier in the Categories list and select Web Services, then select Java Web Service from the Items list. Click OK.
    3. In the Select J2EE Web Service Version dialog, select J2EE 1.4 (JAX-RPC) Web Service, then click OK.
    4. Click past the welcome page
    5. This brings me to the page where I can select the web service and class.
    This is where I am stuck - it seems I can only select one web service here . Unless I am missing something.
    Or should I just repeat the process multiple times - running the wizard once for each class ?
    Thanks for the help.

  • Web Service Operation Timeout - How can this be done?

    Good day.
    We are running OC4J 10.1.3.3 in a standalone container. We are deploying stateless Web Services. I am wondering if there is a way for us to specify a timeout at the operation level from all clients? Right now, we are observing that some requests just never seem to timeout. For example, the web service operation is calling a 3rd party component that might take a while to complete, but we don't want to have our clients wait.
    I realize that we can just have the client timeout, however, it does not affect the application server as the request seems to keep on going. I have had some requests being as old as 28 days. Is this handled by the global thread pool? I know we can do min / max etc, but what about a timeout of an active thread?
    So, I am curious if anyone has tackled this before? I know we can code this into the request, however, this seems like something the container / service should be able to handle via a configuration.
    Any insights / suggestions would be great. Is this a possibility?
    Thanks,
    BradW

    Several ways to do this (I don't work enough in Motion to advise there), but in FCP...one way would be...
    V1 - background visual
    V2 - Rectangle Shape (from Shapes Generator/bottom right of viewer)
    V3 - Primary keyed image (car in the video clip)
    V4 - Same as V2 (only tweak the Rectangle settings)
    V5 - Same as V3 (duplicated shot of car)
    V6/V7 - V8/V9 repeat as needed for different layers...
    Apply 'Composite Mode - Travel Matte/Luma) to each of the 'car' video layers.
    Then offset each pair of car/rectangle layers as you wish to see them over time.
    This approach will not give you drop shadow abilities. There are ways to make that happen, along with different approaches to the effect itself.
    Play around...it's one of the best ways to learn FCP capabilites for editing/compositing.
    K

Maybe you are looking for