Web service Assembler Tool

Hi,
I try to do the exemple : How to process SOAP headers with JAX-RPC Web Service. the ant task use Web services Assembler tool (wsa) can any one give me more information about it ? I try to search on otn about web service assembler tool and I found any document.
does this tools used by Jdeveloper ?
thanks,
Lila

From the documentation mentioned above, page 149:
'The contents of the classpath are not copied to the archive. If you specify the
classpath or lib arguments to any of the *Assemble commands, you must be
sure that the classes found in the classpath are also available in the server.
You can add files to an EAR or WAR file before it is archived by the *Assemble
commands. For more information, see "Adding Files to an Archive".'
In your case, you should add a copy target before the assemble:
<copy file="library.jar" todir="build/war/WEB-INF/>
Make sure the target directory match with your setup.

Similar Messages

  • Web services assembler tool

    Is there any tutorial that shows how to use wsa tool ?
    How-to documents just provide code but no how to build or work with wsa from scratch.
    Thanks

    We have recently added a "How To" document that may be of help. The focus of the demo is on using TopLink's new object-to-xml mapping to create a custom serializer for a web service. Included in the "How To" are instructions on using the web service assembler (wsa).
    Oracle TopLink as a Custom Serializer in a JAX-RPC 1.1 Web Service
    http://www.oracle.com/technology/products/ias/toplink/preview/10.1.3dp4/howto/jaxRpc11/index.htm
    -Blaise

  • Errors when compiling the web service (SAP Web Service Design Tool)

    After downloading and installing the SAP de Web Service Design Tool (for Crystal Reports Server) I created a connection, a simple query and was able to deploy a web services. I tested the web service with an Xcelsius dashboard within InfoView. Thereafter I created a second connection (other name but same ODBC connection / server) and created another simple query with two date(range) parameters and a group by year and month function in order to do a select count(). It executes fine, but when I try to publish the web service I get an error.
    There are errors when compiling the web service.
    Is does not say whatu2019s wrong or how I can solve this problem.
    Who can help me?
    Some notes:
    1) Within expert mode I used a MONTH() SQL function which does not show in the normal mode.
    2) It seams that the u2018administrationu2019 of Web Service Design Tool got u2018corruptedu2019 after only creating the two connections, queries and services mentioned above. I believe so because I could select one of two queries when I created the second service, but within the current connection I had only one query.
    Thanks for any help,
    Ron
    ADDITIONAL INFO: The parameters seam to be the problem. After removing the parameters I can publish the service. But without parameters it is NO SOLOTION.
    Edited by: RonKoudijs on Aug 26, 2010 6:28 PM

    Hello Taylan,
    I think the error that you received was due to packaging issues.I placed the
    UtilClass.java file under a directory called data which was present under
    the project directory.
    When you want to access a java class, you can either place the compiled
    class file in the WEB-INF/classes folder or you can place the java file
    under the project directory.
    I have attached the sample project that I created with your files.
    Let me know if you have any other questions.
    Thanks
    Raj Alagumalai
    WebLogic Workshop Support
    "taylan" <[email protected]> wrote in message
    news:3d6351b0$[email protected]..
    >
    I am trying to write a simpe web service in WebLogic Workshop, but havingan error
    which I could not understand. Could you please help me? Thanks in advance.
    Regards,
    Taylan
    My web service code is like belows:
    import weblogic.jws.control.JwsContext;
    import data.*;
    public class WebService1
    /** @jws:context */
    JwsContext context;
    * @jws:operation
    public UtilClass testType(UtilClass tTest){
    UtilClass returnObj=new UtilClass();
    if(tTest.getName()!= null){
    returnObj.setName(tTest.getName());
    return returnObj;
    and my UtilClass is placed in the data directory under the same directorywith
    my web service code. It is a simpe class as belows:
    package data;
    public class UtilClass
    private String name;
    public void setName(String name){
    this.name=name;
    public String getName(){
    return name;
    However I got an error when I try to compile the webservice class. Theerror is
    like belows:
    File Line Message
    WebService1.jws 0 Resource found on system classpath: data.UtilClass
    Build complete - 1 error(s), 0 warning(s)
    [ngroup.zip]

  • Web Services Management tools

    Given the capabilities of the WebLogic Enterprise Platform&#8482; to build, deploy,
    manage, and integrate enterprise-class Web Services, is there still a need for
    Web Services Management tools like Talking Blocks, Interkeel, West Global, Infravio,
    etc., or can the BEA product handle all of their functionality?

    Given the limitations of Weblogic's web services the third party tools probably still
    make sense. Try using a .NET client on a Weblogic Web Service for instance, it won't
    work. This is not BEA's fault, but a problem nonetheless.
    Ron wrote:
    Given the capabilities of the WebLogic Enterprise Platform&#8482; to build, deploy,
    manage, and integrate enterprise-class Web Services, is there still a need for
    Web Services Management tools like Talking Blocks, Interkeel, West Global, Infravio,
    etc., or can the BEA product handle all of their functionality?

  • SAP Web Services Design Tool on Windows 7 64-bit

    Hi,
    I have:
    - Windows 7 Pro 64-bit
    - Crystal Reports 2008 Build 12.3.0.601
    - Crystal Reports Server 2008 V1 SP3
    I want to install the SAP Web Service Design Tool, but during the installation I get an error message :
    Error 1920. Service SAPLicenseService failed to start. Verify that you have sufficient privileges to start system services
    I'm administrator of this machine - be sure.
    Any idea?
    Best regards,
    Mike

    Scott,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • Access web service from tool area

    Hi,
    I want to edit the tool Area iView to invoke an external web services.
    I created a tool Area iView to be customized by importing “com.sap.portal.navigation.toolarea.par.bak” file from the NW2004s and create new portal project.
    I know how to edit add or remove any part from the tool area iview
    But how I can access the web service proxy? or what is the best way to implement that.

    Stumbled into a small problem:
    I have this method in my web service:
    @WebMethod(operationName = "test")
        public Integer test(@WebParam(name = "number")
        int number) {
        return number;
    }My client looks like this
    public static void main(String[] args) {
        try {
             String BODY_NAMESPACE_VALUE = /*namespace url*/;
             QName port = new QName(/*Service name*/);
             ServiceFactory factory = ServiceFactory.newInstance();
             Service service = factory.createService(new QName(/*Service name*/));
             Call call = service.createCall(port);
             call.setTargetEndpointAddress(/*WSDL location*/);
             call.setReturnType(XMLType.XSD_INT);
             call.setOperationName(new QName(BODY_NAMESPACE_VALUE, "test"));
             call.addParameter("number", XMLType.XSD_INT, ParameterMode.IN);
             Integer[] i = new Integer[1];
             i[0] = new Integer(20);
             System.out.println("test :"+call.invoke(i));
        } catch (Exception ex) {
            ex.printStackTrace();
    } I get return values ok from the web service in my java client since I tried getting a constant from the web service. However, in the case above I am trying to send 20 from the client to the web service and receive it back. However I am receiving 0. Does anyone know why sending parameters from client to web service is not working?
    Thanks and regards,
    Krt_Malta

  • How to start Web Service Creation Tool in CRM 6.0 ?

    Hi,
    I am trying to create new web service in CRM 6.0. I have gone through the documentation and no where I see how to start this tool. Can anyone explain how to start this tool please.
    Thanks for reading this message. Your help will be appreciated.
    Regards,
    Phani.

    Hi,
    There are 2 ways how you could call up the WebService Tool. The first one is already described before, this is directly from the component workbench (see comment before) in the test mode.
    The second one is to integrate it into any role directly and start it directly from that role. Therefore you have to do the following:
    1. Go to the IMG - Customizing in SAP Gui (transaction SPRO)
    2. there in Customer Relationship Managment-> UI Framework-> Technical role definition enter "define navigation bar profile"
    3. There you will find an logical link (which is the basis for you beeing able to navigate to the WebService tool) named "WEB-SER".
    4. You have to assign this link in the next folder to a Work Center Link Group under "assigned links"
    5. Then you go to the next folder "Define Work Center" and there you assign your "work center link group" to a work center
    Now you have done the basics and now you have to decide in which Role you want to have it displayed. Therefore you go to "Define Profile" further down in the same Tree
    1. Select the role where you want to assign the Work Center to
    2. Go to assign WorkCenters and add it there
    3. Decide on the position number where the work center should appear in your role.
    If you have done this you should and you have not done it so far, go to "Business role" (you could do this in IMG or in the WebUI). As you are already in IMG lets assume you stay there:
    1. Go to "Define Business Role"
    2. Check at the details of the business role that your Navigation bar Profile used in "Define Profile" above is assigned to your business role
    3. Go to "Adjust Work Center" and make sure your work center is there and is not set to "invisible".
    4. In "Ajust Work Center Link Groups" decide if the your new entrie should be displayed in the 2nd Level Menue of your role via flagging "in menu" or if it just should be reachable via the work center (not flagging in menue) but have it visible.
    Via this the new entry should appear in the Work Center (when the user is pressing on the left side just the button of your Work Center or also in the second level menue when he uses the little arrow on the Menue itself.
    Hope this helps
    Florian

  • Deploying a Web Service developed for WebSphere to Oracle App Server

    I have an EAR file containing a web service (exposed as a servlet) that was developed using WebSphere Studio and originally deployed to a WebSphere application server. It should be J2EE 1.4 compliant. I now want to deploy it as a web service on Oracle Application Server.
    Is it as simple as just deploying the EAR to OAS? Or do I need to (re-)assemble the EAR using the Web Service Assembler tool and then deploy it? What is the best practices approach for this scenario? My goal is to develop a web service that is deployable to both WebSphere and OAS with as little fuss as possible.
    Thanks

    using Ant.
    check apache.org project there they have the ant section.
    Regards

  • Consuming a web service from a Servlet on OC4J

    In my web application, I have a servlet, and that servlet calls a webservice running on an external server. To connect to the web service, I am using a java proxy class that was generated using the WebServicesAssembler tool (the webservice runs on an OC4J server). When I use the proxy in a stand alone application, it works fine. Unfortunately, when I try to use it in my servlet, I get a SOAP Exception. This is some information I get from my log.
    2007-07-23 11:36:39,861 [HttpRequestHandler-19288329] INFO
    Message: Unsupported response content type "text/html", must be: "text/xml". Response was:
    <HTML><HEAD><TITLE>404 Not Found</TITLE></HEAD><BODY><H1>404 Not Found</H1>Resource /webservices/StationService/ not found on this server</BODY></HTML>
    2007-07-23 11:36:39,861 [HttpRequestHandler-19288329] INFO [com.georss.GeoRss:190] - Cause: null
    2007-07-23 11:36:39,861 [HttpRequestHandler-19288329] INFO
    Localized Message: Unsupported response content type "text/html", must be: "text/xml". Response was:
    <HTML><HEAD><TITLE>404 Not Found</TITLE></HEAD><BODY><H1>404 Not Found</H1>Resource /webservices/StationService/ not found on this server</BODY></HTML>
    2007-07-23 11:36:39,861 [HttpRequestHandler-19288329] INFO
    Fault Code: SOAP-ENV:Protocol
    So from the error message in the Localized message, it seems like the application is receiving a 404 error. In the proxy stub code, I know the url for the service is correct, so I dont know why it is not working. Any idea?
    Thanks.
    Message was edited by:
    Mynameisbt

    I am sure that the URL is right because I can use the same client class for the web service in a stand alone application. I did not change the endpoint URL in the client at all. The client was generated by OC4J's web services assembler tool. Also, the same URL will work in a browser.
    Does OC4J require some sort of deployment descriptor to connect to an external web service? My web application only uses a .war file and it is packaged in an .ear file. It is a J2EE 1.3 application.
    this is what I have in my web.xml file:
    <web-app>
    <servlet>
    <servlet-name>myServlet</servlet-name>
    <display-name>myServlet</display-name>
    <description>description</description>
    <servlet-class>com.controller</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>myServlet</servlet-name>
    <url-pattern>/servlet/myServlet</url-pattern>
    </servlet-mapping>
    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
    </web-app>
    In my web.xml descriptor, do I need to add anything related to the web service i am trying to access?
    Message was edited by:
    Mynameisbt

  • J2EE Web services and JAX-RPC

    Hello..
    While working with J2EE web services using JDeveloper and OC4J, I noticed that it really doesn't confirm to Sun's JAX-RPC standard. The Web Service interface class does not extend the "Remote" and all methods don't throw "RemoteException" as mandated by JAX-RPC standard.
    I have few questions:
    (1) Are the OC4J J2EE web services completey different from JAX-RPC based web services.??
    (2) Does Oracle have any implementation of JAX-RPC??
    (3) Is Sun the only one promoting and implementing the JAX-RPC standard? Or are there other players?
    thanks...

    (1) Are the OC4J J2EE web services completey different from JAX-RPC based web services.??
    OC4J J2EE Web Services originate from Oracle/Apache SOAP with several differences:
    a. A model where each type of implementation gets a specific servlet (e.g. one for EJB's, one for PL/SQL, one for stateless and stateful Java classes. Architecturally, you can see the picture here:
    http://otn.oracle.com/docs/products/ias/doc_library/903doc_otn/generic.903/b10004/orawebservices.htm#1024808
    (scroll down a half page for the picture)
    b. The packaging of the Web services rather than using the Apache SOAP registration mechanism uses something closer to JSR 109 (also known as Web Services for J2EE, part of J2EE 1.4 with JAX-RPC, SAAJ [SOAP API forAttachments in Java] and JAXP [Java API for XML Parsing]), where the Web service is packaged as an ordinary ear file for deployment.
    Oracle built this implementation by extrapolating from the JAX-RPC documentation that was available last year before it was a final specification in an effort to release a production quality Web services implementation that was aligned with JAX-RPC. It has been through two releases - Oracle9iAS 9.02 and Oracle9iAS 9.0.3 and is now being evolved to JAX-RPC as we move to J2EE 1.4.
    (2) Does Oracle have any implementation of JAX-RPC??
    We are planning to release a JAX-RPC implementation in the new year (I don't have specific dates yet) on OC4J. The production implementation of this will be as seamless a migration as possible from the existing implementation. Oracle9i JDeveloper will also add support for JAX-RPC as a 3rd option in its list of choices available. You can get a sense of how such a migration would work by running the Web services wizard in JDev for Apache SOAP and then, in a separate project, running it for Oracle9iAS J2EE Web Services - imagine there being another option for JAX-RPC. The work to migrate should be as simple as running a wizard or command line utility (known as the Web Services Assembler tool in Oracle9iAS).
    (3) Is Sun the only one promoting and implementing the JAX-RPC standard? Or are there other players?
    Pretty much every one in the Java side of industry will be implementing JAX-RPC. The important time to note is when J2EE 1.4 is released ... sometime in the new year ... I believe around March but may be mistaken. Part of J2EE 1.4 is required support for JAX-RPC, SAAJ, Web Services for J2EE etc etc. This will standardize the implementation of Web services. Oracle, like others in the industry, supports the standard protocols, (SOAP), interfaces (WSDL) and registries (UDDI) - what J2EE 1.4 does is standardize the packaging, deployment and implementation (the wrappers generated by the tooling).
    My guess is that around JavaOne (June 2003) there will be a rash of announcements from J2EE vendors announcing support of JAX-RPC and J2EE 1.4 (or early implementations) as we will be in the same race that happened in 2001/2002 when J2EE 1.3 was the spec to announce implementations around.
    Mike.

  • Web services design issues.... for a newbie

    I have to develop several web services (JDev 9.0.2.822 and 9iAS R2). Almost all examples that can be downloaded from OTN expose simple web services that user java datatype like strings, ints and the like. In my case, the web services I should develop transfer custom information which are modeled as value classes or entity EJB's in my app. We deal with complex objects which contain collections/arrays/lists of other objects, and although most of the bussiness logic of the app is exposed via stateless session beanss and clases, I can not select their nethods since there ar no custom serializers for them.
    By reviewing the sample newsfeed web service I noticed that int their implementation they decided to "hard-code" the data by doing an XML-query to the db and constructing a custom XML document. this document is returned as a java string so the web-service is, at the end a very simple one, which uses no custom serializers. Of course there is code to create the XML doc, and there should be some XML parsing at the client in order to deserialize the XML into java in order to do something with it.
    My question is, is this the "preferred" method to deal with custom complex datatypes. should I include code in my beans and value classes so they "serialize" itself to XML so my web services have to deal with simple java strings? I have no experience in developing serializers, and I can't see why they are used? I am not sure which path should I follow, for example, should I use an array serializer to serialize a collection/array of object or should I better develop a method which will create a custom XML document repesenting the array? Are there any trade-off?
    I have to start development right away, so please give me some insinght.
    Thanks,
    Fedro.

    Yes, Oracle9iAS is currently production on 9.0.2. The target for OC4J 9.0.3 was end of summer but I have not seen it arrive yet. It is supposed to work in conjunction with 9.0.2 - i.e. you can use the OC4J 9.0.3 with the rest of your Oracle9iAS implementation. I think you are reasonably safe assuming it will be here by year end. I sit on the JDev side of the house so don't have specifics on what their actual delivery dates are but would guess sometime during September. The developer preview of OC4J 9.0.3 is currently available here on OTN as per the headline in the Web services Center at: http://otn.oracle.com/tech/webservices.
    There are two big advantages of OC4J 9.0.3:
    1. Interoperability testing ... it has been put through the SOAPBuilder's interoperability tests and includes a test suite for you to try it out 9.0.2 is fine here but you have evidence in 9.0.3;
    2. Feature/functionality - support for Web services based on JMS, document style Web service support, testing harness at the end-point, J2EE 1.3 certification, custom serialization support (not there in 9.0.2), cleaner PL/SQL based Web services and more - see:
    http://otn.oracle.com/products/ias/daily/jul22.html
    The development environment that goes along with it is JDeveloper 9.0.3. While OC4J 9.02/9.03 comes with what is called the Web services assembly tool for those who like scripting/command-driven approaches, JDev puts a traditional visual dev environment on top of the OC4J 9.0.3 environment (and also Apache SOAP 2.2/2.3.1, incidently) The developer preview of JDev 9.03 is due out within days here on OTN ... probably Tuesday based on what I understand. JDev 9.0.3 production is scheduled to arrive probably in late September mid-October.
    Hope this gives some background to help with your decision.
    Mike.

  • JMS Web Service Sample (News service application)

    Hi,
    The Web service client (NewsServiceProxy) invokes send() and this calls NewsQueueEJB. Where do we define NewsQueueEJB to be used as Web service? Is it in config /etc? Does the Web Services assembly tool make than happen?
    Thanks,
    Mustafa

    in config.xml.., you say that the Queue with the context jms/newsQueue is exposed as web service..,this config.xml is read by webservices assembler tool to generate the required config for OC4J. But the web service engine doesnot know who reads the message that is going to be enqueued in this queue. The work of the web service engine is to only get its payload sent to it .., generate a jms message with what was given to it .., and enqueue this message to the queue specified..,it doesnot bother about who is going to dequeue this message..,and process it..
    <jms-doc-service>
    <uri>NewsService</uri>
    <!-- Queue to which message has to be sent when 'send()' operation is invoked-->
    <connection-factory-resource-ref>jms/newsQueueConnectionFactory</connection-factory-resource-ref>
    <queue-resource-ref>jms/newsQueue</queue-resource-ref>
    <!-- Topic from which response can be received when 'receive()' operation is invoked -->
    <reply-to-connection-factory-resource-ref>jms/newsTopicConnectionFactory</reply-to-connection-factory-resource-ref>
    <reply-to-topic-resource-ref>jms/newsTopic</reply-to-topic-resource-ref>
    </jms-doc-service>
    Then , you configure that any message enqueued in jms/Queue must invoke NewsQueueEJB
    The above is defined in ejb-jar.xml and orion-ejb-jar.xml
    <message-driven>
    <description>Message Driven Bean</description>
    <display-name>NewsQueue</display-name>
    <ejb-name>NewsQueue</ejb-name>
    <ejb-class>oracle.otnsamples.jmswebservice.ejb.NewsQueueEJB</ejb-class>
    <transaction-type>Container</transaction-type>
    <acknowledge-mode>Auto-acknowledge</acknowledge-mode>
    <message-driven-destination>
    <destination-type>javax.jms.Queue</destination-type>
    </message-driven-destination>
    <resource-ref>
    <res-ref-name>jms/newsQueue</res-ref-name>
    <res-type>javax.jms.Queue</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    orion-ejb-jar.xml
    <message-driven-deployment name="NewsQueue" max-instances="-1" min-instances="1"
    destination-location="jms/newsQueue"
    connection-factory-location="jms/newsQueueConnectionFactory"
    >
    </message-driven-deployment>
    hope this helps
    Elango

  • Security for web services in 9.0.3?

    Hello all,
    With regular Java Class Web Services, how do you declare logical security roles? Also, how do you declare method-level permissions based on those roles? Lastly, how about the security role mappings?
    I am looking at http://otn.oracle.com/docs/products/ias/doc_library/903doc_otn/generic.903/a97681/security.htm
    However, it does not mention anything about web services. Any help would be appreciated!
    Thanks,
    James

    I am not sure it is possible to do what you want to do ... here are the two approaches you have:
    1. When you publish a class the Web services publisher (either JDev or the Web Services Assembler tool), lets you wrap the class with an interface which becomes the available methods to the outside world. This is your first level of restriction regardless of authentication or authorization.
    2. Then I can use constructs in the web.xml to map users of a specific URL pattern. Here, for example, is a sample for a class mypackage1.Class1 and its web.xml with BASIC authentication:
    <web-app>
    <description></description>
    <servlet>
    <servlet-name>mypackage1.Class1</servlet-name>
    <servlet-class>oracle.j2ee.ws.StatelessJavaRpcWebService</servlet-class>
    <init-param>
    <param-name>class-name</param-name>
    <param-value>mypackage1.Class1</param-value>
    </init-param>
    <init-param>
    <param-name>interface-name</param-name>
    <param-value>mypackage1.IClass1</param-value>
    </init-param>
    </servlet>
    <servlet-mapping>
    <servlet-name>mypackage1.Class1</servlet-name>
    <url-pattern>/mypackage1.Class1</url-pattern>
    </servlet-mapping>
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>ws</web-resource-name>
    <url-pattern>/mypackage1.Class1</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>BasicRole</role-name>
    </auth-constraint>
    <user-data-constraint>
    <transport-guarantee>NONE</transport-guarantee>
    </user-data-constraint>
    </security-constraint>
    <login-config>
    <auth-method>BASIC</auth-method>
    <realm-name>Enter a valid user</realm-name>
    </login-config>
    <security-role>
    <role-name>BasicRole</role-name>
    </security-role>
    </web-app>
    The crux of this method is the URL pattern ... once I match the URL pattern I will be subject to the security.
    I also have to map from the orion-web.xml to the underlying authentication mechanism - here for example in the following I just use the default principals.xml, rather than working into JAAS and Oracle Internet Directory, where the users of BasicGroup might actually be defined:
    <orion-web-app>
    <security-role-mapping name="BasicRole">
    <group name="BasicGroup"/>
    </security-role-mapping>
    </orion-web-app>
    As the method is actually defined, assuming RPC, in the SOAP message that is posted, the URL pattern will not capture method level invocations.
    Not sure this is what you are after but perhaps when you respond I will better understand where you want to go - the bottom line is that the Web services security is simply leveraging the Servlet model; it doesn't have method level security as say, for example, the underlying EJB model does.
    Hope this helps.
    Mike.

  • Can we deploy a java web service on OC4J within EBS 12.1.3

    Hi,
    I needed some instructions if this is possible to deploy a java web service on OC4J in EBS 12.1.3.
    We don't have SOA gateway integration. The web service is simple SOAP web service.
    Is there any document that can be referred for this ?
    Thanks

    I would try a number of things:
    1) Try generating the web service artifacts by using the web service assembler tool that comes with oc4j 10.1.3 dp3. You can use either the command line or ant assembly tasks that are available with the download. There are some fairly detailed examples of using the ant tasks for web service generation at http://www.oracle.com/technology/tech/java/oc4j/1013/howtos/index.html (under the "web services" heading).
    2) Try deploying the generated ear file using the admin console. I believe that should work.
    3) If for some reason that doesn't work you can try to use the deployment ant tasks (also detailed in the how to examples).
    I believe the reason you did not deploy successfully is that even though the core service implementation class, SEI, and JAX-RPC descriptor are portable the artifacts generated in order to deploy the service to a particular application server are unique. JWSDP is tailored to the sun platform.
    Hope that helps.
    -- Jon

  • 3rd Party Web Service Tool Usage

    Hello Raja,
    Could you let me know some step by step process?
    I am trying to use as per your instruction:
    what you need is to find out the request format of this webservice . to get this format you can use some third party tools
    i prefer the following tool which is free
    http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=65a1d4ea-0f7a-41bd-8494-e916ebc4159c
    I get the following error:
    Initializing
    Generating WSDL
    System.InvalidOperationException: General Error http://FQDN:PORT/sap/bc/srt/rfc/sap/Z_SFLIGHT_VI?sap-client=500&wsdl=1.1 ---> System.Net.WebException: There was an error downloading 'http://FQDN:PORT/sap/bc/srt/rfc/sap/Z_SFLIGHT_VI?sap-client=500&wsdl=1.1'. ---> System.Net.WebException: The request failed with HTTP status 401: Unauthorized.
       --- End of inner exception stack trace ---
       at System.Web.Services.Discovery.DiscoveryClientProtocol.Download(String& url, String& contentType)
       at System.Web.Services.Discovery.DiscoveryClientProtocol.DiscoverAny(String url)
       at WebServiceStudio.Wsdl.ProcessRemoteUrls(DiscoveryClientProtocol client, StringCollection urls, XmlSchemas schemas, ServiceDescriptionCollection descriptions)
       --- End of inner exception stack trace ---
       at WebServiceStudio.Wsdl.ProcessRemoteUrls(DiscoveryClientProtocol client, StringCollection urls, XmlSchemas schemas, ServiceDescriptionCollection descriptions)
       at WebServiceStudio.Wsdl.Generate()
    Thanks
    Arun

    Hello Anton,
    It worked. But when i tried to Invoke the Service i got the following Error:
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.
    Exception Text **************
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Client found response content type of 'text/html; charset=iso-8859-1', but expected 'text/xml'.
    The request failed with the error message:
    body { font-family:tahoma,helvetica,sans-serif;color:#333333;background-color:#FFFFFF; }td { font-family:tahoma,helvetica,sans-serif;font-size:70%;color:#333333; }h1 { font-family:tahoma,helvetica,sans-serif;font-size:160%;font-weight:bold;margin-top:15px;margin-bottom:3px;color:#003366; }h2 { font-family:verdana,helvetica,sans-serif;font-size:120%;font-style:italic;font-weight:bold;margin-top:6px;margin-bottom:6px;color:#999900; }p { font-family:tahoma,helvetica,sans-serif;color:#333333;margin-top:4px;margin-bottom:4px; }ul { font-family:tahoma,helvetica,sans-serif;color:#333333;list-style-type:square;margin-top:8px;margin-bottom:8px; }li { font-family:tahoma,helvetica,sans-serif;color:#33333;margin-top:4px; }.emphasize .note a { font-family:tahoma,helvetica,sans-serif;text-decoration:underline;color:#336699; }a:visited a:hover { text-decoration:none; }
    h1. Anmeldung fehlgeschlagen
    h2. Was ist passiert ?
    Der Aufruf der URL http://FQDN:PORT/sap/bc/srt/rfc/sap/Z_SFLIGHT_VI wurde aufgrund fehlerhafter Anmeldedaten abgebrochen.
    Hinweis
    Die Anmeldung wurde im System BWQ ausgeführt. Hierbei wurden keine Anmeldedaten bereitgestellt.
    h2. Was können Sie tun ?
    Fehlercode: ICF-LE-http-c:500-l:-T:-C:3-U:-P:-L:6
    HTTP 401 - Unauthorized
    Ihr SAP Internet Communication Framework Team
    Falls Sie noch über keine Benutzerkennung verfügen, so wenden Sie sich an Ihren Systemadministrator.
       at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at Z_SFLIGHT_VIService.BAPI_SFLIGHT_GETLIST(String AFTERNOON, String AIRLINECARRIER, BAPISFLIST[]& FLIGHTLIST, String FROMCITY, String FROMCOUNTRYKEY, Int32 MAXREAD, Boolean MAXREADSpecified, String TOCITY, String TOCOUNTRYKEY)
       --- End of inner exception stack trace ---
       at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean isBinderDefault, Assembly caller, Boolean verifyAccess)
       at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean verifyAccess)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at WebServiceStudio.MainForm.InvokeWebMethod()
       at WebServiceStudio.MainForm.buttonInvoke_Click(Object sender, EventArgs e)
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ButtonBase.WndProc(Message& m)
       at System.Windows.Forms.Button.WndProc(Message& m)
       at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    Loaded Assemblies **************
    mscorlib
        Assembly Version: 1.0.5000.0
        Win32 Version: 1.1.4322.2032
        CodeBase: file:///c:/winnt/microsoft.net/framework/v1.1.4322/mscorlib.dll
    WebServiceStudio
        Assembly Version: 0.0.0.0
        Win32 Version: 0.0.0.0
        CodeBase: file:///C:/Download/WebserviceStudio20/bin/WebServiceStudio.exe
    System.Windows.Forms
        Assembly Version: 1.0.5000.0
        Win32 Version: 1.1.4322.2032
        CodeBase: file:///c:/winnt/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
    System
        Assembly Version: 1.0.5000.0
        Win32 Version: 1.1.4322.2032
        CodeBase: file:///c:/winnt/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
    System.Drawing
        Assembly Version: 1.0.5000.0
        Win32 Version: 1.1.4322.2032
        CodeBase: file:///c:/winnt/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
    System.Xml
        Assembly Version: 1.0.5000.0
        Win32 Version: 1.1.4322.2032
        CodeBase: file:///c:/winnt/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
    pd2b0qph
        Assembly Version: 0.0.0.0
        Win32 Version: 1.1.4322.2032
        CodeBase: file:///c:/winnt/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
    System.Web.Services
        Assembly Version: 1.0.5000.0
        Win32 Version: 1.1.4322.2032
        CodeBase: file:///c:/winnt/assembly/gac/system.web.services/1.0.5000.0__b03f5f7f11d50a3a/system.web.services.dll
    System.Web
        Assembly Version: 1.0.5000.0
        Win32 Version: 1.1.4322.2037
        CodeBase: file:///c:/winnt/assembly/gac/system.web/1.0.5000.0__b03f5f7f11d50a3a/system.web.dll
    System.Data
        Assembly Version: 1.0.5000.0
        Win32 Version: 1.1.4322.2032
        CodeBase: file:///c:/winnt/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll
    nvktnwnf
        Assembly Version: 0.0.0.0
        Win32 Version: 0.0.0.0
        CodeBase: file:///C:/DOCUME1/arunp/LOCALS1/Temp/nvktnwnf.dll
    phkxn3pb
        Assembly Version: 0.0.0.0
        Win32 Version: 1.1.4322.2032
        CodeBase: file:///c:/winnt/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
    System.Design
        Assembly Version: 1.0.5000.0
        Win32 Version: 1.1.4322.2032
        CodeBase: file:///c:/winnt/assembly/gac/system.design/1.0.5000.0__b03f5f7f11d50a3a/system.design.dll
    wseext
        Assembly Version: 0.0.0.0
        Win32 Version: 0.0.0.0
        CodeBase: file:///C:/Download/WebserviceStudio20/bin/WSEExt.DLL
    Accessibility
        Assembly Version: 1.0.5000.0
        Win32 Version: 1.1.4322.573
        CodeBase: file:///c:/winnt/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll
    JIT Debugging **************
    To enable just in time (JIT) debugging, the config file for this
    application or machine (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    For example:
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the machine
    rather than being handled by this dialog.
    Thanx
    Arun

Maybe you are looking for

  • Java SFTP API/Sample application

    I'm looking for either sample java code of how to send files via sftp or a java api to do this. Jscape looks to be the standard for doing this although it costs quite a bit, wondering if there is free code out there? Thanks for any help in advance!!!

  • How to use the same element in different Web-Services?

    I have defined a web-services in two WSDL files. I want to use the same type in this two services. Because if one service call the other one, it could pass the class it just got. Otherwise, the classes can't be casted. Web-Service1: public com.packag

  • Transformation is adding unformatting data

    I am very new with XSLT and all the details, so excuse me is I don't see the error in my ways. I also realize this is probably a very long post, but I did not want to leave anything out just in case someone wanted to see the xml, xsl or html. What I

  • Error # 2032 while opening SAP BI Query in Xcelsius using Direct connectivi

    Hi Experts, I have following set up - Xcelsius Enterprise 2008 SP3 SAP BI EHP1 - SP5 Operating System - XP SAP GUI 710. I have two systems - 1. Internal IDES and 2. Client system I open a Xcelsius and try to create a connection "SAP BW NetWeaver conn

  • Monitor color temperature is switching after launching a CC product

    Hello, i'm running OS X 10.8.5 on a Macbook Pro I didn't change nothing and never play with color profil on my computer Since this morning when i launch Photoshop CC or Illustrator CC color temperature switch automaticly to a cold white during softwa