Webservice Datacontrol Java files

Hi,
Is it possible to generate Java files for my Webservice DataControl? I want to have more control over it.
I tried to generate Webservice client and proxy (also in JDeveloper 10 that doesn't use annotations), but that doesn't work in Java ME 1.4.
Thanks

We're looking into this but currently there is no support for generating proxy classes. There will be some helper methods available soon to make this type of work easier.

Similar Messages

  • Error to generate webservice from java file with JAXWS

    I need to build a webservice to run on Glassfish, but I have problems, I did downloaded the latest JAX-WS recently(2 days).
    I have the follow class to generate a wsdl file:
    package com.dudhoo.farmacopedia.web;
    import com.dudhoo.farmacopedia.web.hibernate.FarmacopediaKey;
    import com.dudhoo.farmacopedia.web.key.KeyGenerator;
    import java.util.Calendar;
    import java.util.Date;
    import javax.jws.WebMethod;
    import javax.jws.WebService;
    @WebService(serviceName="FarmacoWebService", name="nomeservice")  
    public class FarmacoWebService {
        public FarmacoWebService() {
        @WebMethod()
        public Date getServerTime(){
            return Calendar.getInstance().getTime();
        public FarmacopediaKey generateSerial(Date ini, int dias){
            return new KeyGenerator().generateKey(ini, dias);
    }I have the follow ant code:
    <?xml version="1.0" encoding="windows-1252" ?>
    <!--Ant buildfile generated by Oracle JDeveloper 10g-->
    <!--Generated 01/08/2006 22:56:00-->
    <project name="FarmacoWeb" default="all" basedir=".">
      <property file="build.properties"/>
      <path id="classpath">
        <fileset dir="../libs/" includes="**/*.jar"/>   
      </path>
      <path id="jaxws.classpath">
        <fileset dir="../libs/jaxws" includes="**/*.jar"/>   
      </path>
      <target name="init">
        <tstamp/>
        <mkdir dir="${output.dir}"/>
        <mkdir dir="${output.dir}/new"/>
        <mkdir dir="${output.dir}/res"/>
      </target>
      <target name="all" description="Build the project" depends="compile,copy"/>
      <target name="clean" description="Clean the project">
        <delete includeemptydirs="true" quiet="true">
          <fileset dir="${output.dir}" includes="**/*"/>
        </delete>
      </target>
      <target name="compile" description="Compile Java source files" depends="init">
        <javac destdir="${output.dir}" classpathref="classpath"
               debug="${javac.debug}" nowarn="${javac.nowarn}"
               deprecation="${javac.deprecation}" encoding="Cp1252" source="1.5"
               target="1.5">
          <src path="src"/>
        </javac>
      </target>
      <target name="copy" description="Copy files to output directory"
              depends="init">
        <patternset id="copy.patterns">
          <include name="**/*.gif"/>
          <include name="**/*.GIF"/>
          <include name="**/*.jpg"/>
          <include name="**/*.JPG"/>
          <include name="**/*.jpeg"/>
          <include name="**/*.JPEG"/>
          <include name="**/*.png"/>
          <include name="**/*.PNG"/>
          <include name="**/*.properties"/>
          <include name="**/*.xml"/>
          <include name="**/*-apf.xml"/>
          <include name="**/*.ejx"/>
          <include name="**/*.xcfg"/>
          <include name="**/*.cpx"/>
          <include name="**/*.dcx"/>
          <include name="**/*.wsdl"/>
          <include name="**/*.ini"/>
          <include name="**/*.tld"/>
          <include name="**/*.tag"/>
        </patternset>
        <copy todir="${output.dir}">
          <fileset dir="src">
            <patternset refid="copy.patterns"/>
          </fileset>
        </copy>
      </target>
      <target name="-pre-dist" >
            <taskdef name="wsgen" classname="com.sun.tools.ws.ant.WsGen">
                <classpath refid="classpath"/>
            </taskdef>
            <wsgen
                debug="true"
                keep="true"
                destdir="${output.dir}/new"
                resourcedestdir="${output.dir}/res"
                sei="com.dudhoo.farmacopedia.web.FarmacoWebService">
                <classpath>
                    <pathelement path="${jaxws.classpath}"/>
                    <pathelement location="${output.dir}"/>               
                </classpath>
            </wsgen>
        </target>
    </project>When I run ant the the follow error is throwed:
    Buildfile: /home/duduzera/jdevhome/mywork/Farmaco/FarmacoWeb/build.xml
    -pre-dist:
        [wsgen] Problem encountered during annotation processing;
        [wsgen] see stacktrace below for more information.
        [wsgen] java.lang.NoSuchMethodError: javax.jws.WebMethod.exclude()Z
        [wsgen]      at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.hasWebMethods(WebServiceVisitor.java:373)
        [wsgen]      at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.shouldProcessWebService(WebServiceVisitor.java:349)
        [wsgen]      at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.visitClassDeclaration(WebServiceVisitor.java:143)
        [wsgen]      at com.sun.tools.apt.mirror.declaration.ClassDeclarationImpl.accept(ClassDeclarationImpl.java:95)
        [wsgen]      at com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.buildModel(WebServiceAP.java:345)
        [wsgen]      at com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.process(WebServiceAP.java:230)
        [wsgen]      at com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationProcessor.process(AnnotationProcessors.java:60)
        [wsgen]      at com.sun.tools.apt.comp.Apt.main(Apt.java:454)
        [wsgen]      at com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:448)
        [wsgen]      at com.sun.tools.apt.main.Main.compile(Main.java:1075)
        [wsgen]      at com.sun.tools.apt.main.Main.compile(Main.java:938)
        [wsgen]      at com.sun.tools.apt.Main.processing(Main.java:95)
        [wsgen]      at com.sun.tools.apt.Main.process(Main.java:85)
        [wsgen]      at com.sun.tools.apt.Main.process(Main.java:67)
        [wsgen]      at com.sun.tools.ws.wscompile.CompileTool.buildModel(CompileTool.java:603)
        [wsgen]      at com.sun.tools.ws.wscompile.CompileTool.run(CompileTool.java:536)
        [wsgen]      at com.sun.tools.ws.util.ToolBase.run(ToolBase.java:54)
        [wsgen]      at com.sun.tools.ws.ant.WsGen.execute(WsGen.java:457)
        [wsgen]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        [wsgen]      at org.apache.tools.ant.Task.perform(Task.java:364)
        [wsgen]      at org.apache.tools.ant.Target.execute(Target.java:341)
        [wsgen]      at org.apache.tools.ant.Target.performTasks(Target.java:369)
        [wsgen]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
        [wsgen]      at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
        [wsgen]      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
        [wsgen]      at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
        [wsgen]      at oracle.jdevimpl.ant.runner.AntLauncher.launch(AntLauncher.java:321)
        [wsgen]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        [wsgen]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        [wsgen]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        [wsgen]      at java.lang.reflect.Method.invoke(Method.java:585)
        [wsgen]      at oracle.jdevimpl.ant.runner.InProcessAntStarter.runAnt(InProcessAntStarter.java:293)
        [wsgen]      at oracle.jdevimpl.ant.runner.InProcessAntStarter.mav$runAnt(InProcessAntStarter.java)
        [wsgen]      at oracle.jdevimpl.ant.runner.InProcessAntStarter$1.run(InProcessAntStarter.java:71)
        [wsgen] error: compilation failed, errors should have been reported
        [wsgen]
    BUILD SUCCESSFUL
    Total time: 3 secondsI'm using JDeveloper 10g. Did someone had problems like this?
    I think the problem maybe is caused by jar lib concurrences...
    thanks

    You get that error when response headers have already been sent to the client (browser). This can happen in two ways that I know of:
    - you flushed data to the client, or somewhere the data was automatically flushed
    - you already did a redirect/forward and are attempting to do a second one.
    So if you want to prevent yourself from getting the error, you'll need to make sure that neither of the situations has occurred. Don't output content unless you are absolutely certain that you won't need to foward/redirect later and don't do a redirect/forward twice in the same resource.

  • I am trying to use java  file as Model layer and jsf as presentation layer

    I am trying to use java file as Model layer and jsf as presentation layer and need some help
    I successfully get the value of h:outputText from java file by doing simple binding operation but I am facing problems when I am trying to fill h:dataTable
    I create java file
    package oracle.model;
    import java.sql.;*
    import java.util.;*
    *public class TableBean {*
    Connection con ;
    Statement ps;
    ResultSet rs;
    private List perInfoAll = new ArrayList();
    *public List getperInfoAll() {*
    perInfoAll.add(0,new perInfo("name","username","blablabla"));
    return perInfoAll;
    *public class perInfo {*
    String uname;
    String firstName;
    String lastName;
    *public perInfo(String firstName,String lastName,String uname) {*
    this.uname = uname;
    this.firstName = firstName;
    this.lastName = lastName;
    *public String getUname() {*
    return uname;
    *public String getFirstName() {*
    return firstName;
    *public String getLastName() {*
    return lastName;
    right click on the file and choose 'create data control'
    then i wrote the jsf file:
    *<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>*
    *<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>*
    *<f:view>*
    *<h:dataTable id="dt1" value="#{bindings.perInfoAll}"*
    var="item" bgcolor="#F1F1F1" border="10"
    cellpadding="5" cellspacing="3" rows="4" width="50%"
    dir="LTR" frame="hsides" rules="all"
    *>*
    *<f:facet name="header">*
    *<h:outputText value="This is 'dataTable' demo" id="ot6"/>*
    *</f:facet>*
    *<h:column id="c2">*
    *<f:facet name="header">*
    *<h:outputText value="First Name" id="ot1"/>*
    *</f:facet>*
    *<h:outputText style="" value="#{item.firstName}"*
    id="ot2"/>
    *</h:column>*
    *<h:column id="c4">*
    *<f:facet name="header">*
    *<h:outputText value="Last Name" id="ot9"/>*
    *</f:facet>*
    *<h:outputText value="#{item.lastName}" id="ot8"/>*
    *</h:column>*
    *<h:column id="c3">*
    *<f:facet name="header">*
    *<h:outputText value="Username" id="ot7"/>*
    *</f:facet>*
    *<h:outputText value="#{item.uname}" id="ot4"/>*
    *</h:column>*
    *<f:facet name="footer">*
    *<h:outputText value="The End" id="ot3"/>*
    *</f:facet>*
    *</h:dataTable>*
    *</center>*
    *</af:document>*
    *</f:view>*
    but nothing is appear in my table
    I know that there is something wrong in calling the binding object
    I need help pls and where can i find some help to deal with another tag types
    thanks

    i dragged the "perInfoAll" from my "Data Controls" and choosed adf table (even I know that new table with adf tags well be generated and i want table with jsf tags)
    and this code is generated
    *<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"*
    *"http://www.w3.org/TR/html4/loose.dtd">*
    *<%@ page contentType="text/html;charset=UTF-8"%>*
    *<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>*
    *<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>*
    *<%@ taglib uri="http://xmlns.oracle.com/adf/faces/rich" prefix="af"%>*
    *<f:view>*
    *<af:document id="d1">*
    *<af:messages id="m1"/>*
    *<af:form id="f1">*
    *<af:table value="#{bindings.perInfoAll1.collectionModel}" var="row"*
    *rows="#{bindings.perInfoAll1.rangeSize}"*
    *emptyText="#{bindings.perInfoAll1.viewable ? 'No data to display.' : 'Access Denied.'}"*
    *fetchSize="#{bindings.perInfoAll1.rangeSize}"*
    *rowBandingInterval="0"*
    *selectionListener="#{bindings.perInfoAll1.collectionModel.makeCurrent}"*
    *rowSelection="multiple" id="t1">*
    *<af:column sortProperty="uname" sortable="false"*
    *headerText="#{bindings.perInfoAll1.hints.uname.label}"*
    *id="c1">*
    *<af:inputText value="#{row.bindings.uname.inputValue}"*
    *label="#{bindings.perInfoAll1.hints.uname.label}"*
    *required="#{bindings.perInfoAll1.hints.uname.mandatory}"*
    *columns="#{bindings.perInfoAll1.hints.uname.displayWidth}"*
    *maximumLength="#{bindings.perInfoAll1.hints.uname.precision}"*
    *shortDesc="#{bindings.perInfoAll1.hints.uname.tooltip}"*
    *id="it3">*
    *<f:validator binding="#{row.bindings.uname.validator}"/>*
    *</af:inputText>*
    *</af:column>*
    *<af:column sortProperty="firstName" sortable="false"*
    *headerText="#{bindings.perInfoAll1.hints.firstName.label}"*
    *id="c2">*
    *<af:inputText value="#{row.bindings.firstName.inputValue}"*
    *label="#{bindings.perInfoAll1.hints.firstName.label}"*
    *required="#{bindings.perInfoAll1.hints.firstName.mandatory}"*
    *columns="#{bindings.perInfoAll1.hints.firstName.displayWidth}"*
    *maximumLength="#{bindings.perInfoAll1.hints.firstName.precision}"*
    *shortDesc="#{bindings.perInfoAll1.hints.firstName.tooltip}"*
    *id="it2">*
    *<f:validator binding="#{row.bindings.firstName.validator}"/>*
    *</af:inputText>*
    *</af:column>*
    *<af:column sortProperty="lastName" sortable="false"*
    *headerText="#{bindings.perInfoAll1.hints.lastName.label}"*
    *id="c3">*
    *<af:inputText value="#{row.bindings.lastName.inputValue}"*
    *label="#{bindings.perInfoAll1.hints.lastName.label}"*
    *required="#{bindings.perInfoAll1.hints.lastName.mandatory}"*
    *columns="#{bindings.perInfoAll1.hints.lastName.displayWidth}"*
    *maximumLength="#{bindings.perInfoAll1.hints.lastName.precision}"*
    *shortDesc="#{bindings.perInfoAll1.hints.lastName.tooltip}"*
    *id="it1">*
    *<f:validator binding="#{row.bindings.lastName.validator}"/>*
    *</af:inputText>*
    *</af:column>*
    *</af:table>*
    *</af:form>*
    *</af:document>*
    *</f:view>*
    but when run it i see the following errors
    *Class oracle.adf.model.adapter.bean.BeanDataControl can not access a member of class nl.amis.hrm.EmpManager with modifiers "private"*
    *Object EmpManager of type DataControl is not found.*
    *java.lang.NullPointerException*
    *Class oracle.adf.model.adapter.bean.BeanDataControl can not access a member of class nl.amis.hrm.EmpManager with modifiers "private"*
    *Object EmpManager of type DataControl is not found.*
    *java.lang.NullPointerException*
    :(

  • Visual Studio download a document from a document libary and upload it to a jaxrs webservice in java

    I have created a custom ribbon action and a application page in visual studio. The user
    presses my ribbon in sharepoint and it calls the application page that in turn downloads that file. here is the code:
    namespace Save_to_PLM.Layouts.Save_to_PLM
    public partial class ApplicationPage : LayoutsPageBase
    protected void Page_Load(object sender, EventArgs e)
    if (Request.QueryString["file"] != null)
    DownloadDocument(Request.QueryString["file"].ToString());
    private void DownloadDocument(string fileName)
    SPSecurity.RunWithElevatedPrivileges(delegate()
    using (SPSite oSiteCollection = new SPSite(SPContext.Current.Site.Url))
    using (SPWeb mi_web = oSiteCollection.OpenWeb())
    string path = System.Web.HttpContext.Current.Server.MapPath(fileName);
    string name = System.IO.Path.GetFileName(path);
    Console.WriteLine(name);
    Microsoft.SharePoint.SPFile spFile = mi_web.GetFile(fileName);
    Response.ClearHeaders();
    Response.ClearContent();
    Response.ContentType = "application/force-download";
    Response.AppendHeader("content-disposition", "attachment; filename=" + name);
    Response.BinaryWrite(spFile.OpenBinary());
    Response.End();
    But i want to http post that file to my jaxrs webservice in java. How do  i do that
    programmatically? I am very new .net i usually code in java.

    Hi,
    Here is a blog about how to call a Java EE Web Service from a .Net Client for your reference:
    http://blogs.msdn.com/b/bursteg/archive/2008/07/19/how-to-call-a-java-ee-web-service-from-a-net-client.aspx
    If you want to download a document from a Sharepoint library, we can use the REST API provided by SharePoint and use Apache HttpComponents in Java.
    http://www.rgagnon.com/javadetails/java-get-document-sharepoint-library.html
    About how to upload file using jaxrs webservice in C# code, I suggest you post it to C# or ASP.Net Forum, you will get more help and confirmed answers from there.
    https://social.msdn.microsoft.com/Forums/en-US/home?forum=csharpgeneral
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Calling a WebServices From Java Stored Proc fails with Connection refused

    I have followed the example in Note:220662.1 on Metalink step by step.
    I am using two windows machines (2000 SP4). I have Oracle 9.2.0.5 EE on one of them and OC4J 9.0.4 standalone on the other(running on JVM 1.4.2_05-b04). The 2 servers "see" each other over the network.
    I can execute the stub from the database machine:
    C:\WebServices\HelloWorld>java HelloWorldImplWSStub
    Hello World - The current time is Sat Aug 21 11:56:20 EDT 2004When running it from the database, I get:
    SQL> select ws_hello_world from dual;
    select ws_hello_world from dual
    ERROR at line 1:
    ORA-29532: Java call terminated by uncaught Java exception: [SOAPException:
    faultCode=SOAP-ENV:IOException; msg=Connection refused;
    targetException=java.net.ConnectException: Connection refused]
    Elapsed: 00:00:21.02The trace file generated on the database server machine looks like:
    [SOAPException: faultCode=SOAP-ENV:IOException; msg=Connection refused; targetException=java.net.ConnectException: Connection refused]
      at oracle.soap.transport.http.OracleSOAPHTTPConnection.send(OracleSOAPHTTPConnection.java:765)
      at org.apache.soap.rpc.Call.invoke(Call.java:261)
      at HelloWorldImplWSStub.sayHelloWorld(HelloWorldImplWSStub.java:52)Here is the stub code generated using JDeveloper 9.0.5.1:
    import oracle.soap.transport.http.OracleSOAPHTTPConnection;
    import org.apache.soap.encoding.SOAPMappingRegistry;
    import java.net.URL;
    import org.apache.soap.rpc.Call;
    import org.apache.soap.Constants;
    import java.util.Vector;
    import org.apache.soap.rpc.Response;
    import org.apache.soap.rpc.Parameter;
    import org.apache.soap.Fault;
    import org.apache.soap.SOAPException;
    import java.util.Properties;
    public class HelloWorldImplWSStub  {
      public HelloWorldImplWSStub() {
        m_httpConnection = new OracleSOAPHTTPConnection();
        m_smr = new SOAPMappingRegistry();
      public static String endpoint = "http://oc4jsrv:8888/MyWorkarea-OC4J-context-root/HelloWorldImplWS";
      public String getEndpoint() {
        return _endpoint;
      public void setEndpoint(String endpoint) {
        _endpoint = endpoint;
      private static OracleSOAPHTTPConnection m_httpConnection = null;
      private static SOAPMappingRegistry m_smr = null;
      public static String sayHelloWorld() throws Exception {
        String returnVal = null;
        URL endpointURL = new URL(_endpoint);
        Call call = new Call();
        call.setSOAPTransport(m_httpConnection);
        call.setTargetObjectURI("HelloWorldImplWS");
        call.setMethodName("sayHelloWorld");
        call.setEncodingStyleURI(Constants.NS_URI_SOAP_ENC);
        Vector params = new Vector();
        call.setParams(params);
        call.setSOAPMappingRegistry(m_smr);
        Response response = call.invoke(endpointURL, "");
        if (!response.generatedFault()) {
          Parameter result = response.getReturnValue();
          returnVal = (String)result.getValue();
        else {
          Fault fault = response.getFault();
          throw new SOAPException(fault.getFaultCode(), fault.getFaultString());
        return returnVal;
      public void setMaintainSession(boolean maintainSession) {
        m_httpConnection.setMaintainSession(maintainSession);
      public boolean getMaintainSession() {
        return m_httpConnection.getMaintainSession();
      public void setTransportProperties(Properties props) {
        m_httpConnection.setProperties(props);
      public Properties getTransportProperties() {
        return m_httpConnection.getProperties();
       public static void main(String[] argv) throws Exception   {    
        HelloWorldImplWSStub hstub = new HelloWorldImplWSStub();    
        System.out.println(hstub.sayHelloWorld());  
    }The PL/SQL function code:
    CREATE OR REPLACE FUNCTION ws_hello_world RETURN VARCHAR2
    AS LANGUAGE JAVA
    NAME 'HelloWorldImplWSStub.sayHelloWorld() return java.lang.String';Any help would be greatly appreciated.

    Hello,I have the same problem. Did you find any solution to it?
    Thanks. Diego (Argentina)

  • Wsdlc Ant Task - Problem creating java files in the correct package

    In eclipse, for weblogic 9.2
    Using the wsdlc WebLogic Web Services Ant Task, I am trying to auto-generate the java files for the web service based on the WSDL. I have specified the packageName as one of the parameters. However the java files are being created and packaged based on the TargetNameSpace of the WSDL rather then under the package name specified. Following is part of my build.xml
    autogen.src.dir=../code/java/beaAutoGen
    base.dest=../../../var/build/wsmToPlmWS
    bea.build.dir=beaBuild
         <target name="generate-from-wsdl" depends="prepare">
              <delete dir="${src.dir}" includeemptydirs="true" />
              <delete dir="${autogen.src.dir}" includeemptydirs="true" />
              <wsdlc srcWsdl="../config/sourceWSDL/MRPBindingPort.wsdl"
                   destJwsDir="${base.dest}/${bea.build.dir}/compiledWsdl" destImplDir="${base.dest}/${bea.build.dir}/impl"
                   packageName="com.lmco.iplm.webservices.wsmtoplm" debug="on"
                   srcServiceName="WSPlmMto_Service"
                   debugLevel="DEBUG" autoDetectWrapped="true" jaxRPCWrappedArrayStyle="true"
                   verbose="on" classpathref="bea-classpath" />
    <!-- unjar to get the all the details so we can tokenize -->
              <unjar dest="${autogen.src.dir}"
                   src="${base.dest}/${bea.build.dir}/compiledWsdl/MRPBindingPort_wsdl.jar" />
    <!-- copy over the impl file -->
              <copy todir="../code/java/src">
                   <fileset dir="${base.dest}/${bea.build.dir}/impl" />
              </copy>
         </target>

    In eclipse, for weblogic 9.2
    Using the wsdlc WebLogic Web Services Ant Task, I am trying to auto-generate the java files for the web service based on the WSDL. I have specified the packageName as one of the parameters. However the java files are being created and packaged based on the TargetNameSpace of the WSDL rather then under the package name specified. Following is part of my build.xml
    autogen.src.dir=../code/java/beaAutoGen
    base.dest=../../../var/build/wsmToPlmWS
    bea.build.dir=beaBuild
         <target name="generate-from-wsdl" depends="prepare">
              <delete dir="${src.dir}" includeemptydirs="true" />
              <delete dir="${autogen.src.dir}" includeemptydirs="true" />
              <wsdlc srcWsdl="../config/sourceWSDL/MRPBindingPort.wsdl"
                   destJwsDir="${base.dest}/${bea.build.dir}/compiledWsdl" destImplDir="${base.dest}/${bea.build.dir}/impl"
                   packageName="com.lmco.iplm.webservices.wsmtoplm" debug="on"
                   srcServiceName="WSPlmMto_Service"
                   debugLevel="DEBUG" autoDetectWrapped="true" jaxRPCWrappedArrayStyle="true"
                   verbose="on" classpathref="bea-classpath" />
    <!-- unjar to get the all the details so we can tokenize -->
              <unjar dest="${autogen.src.dir}"
                   src="${base.dest}/${bea.build.dir}/compiledWsdl/MRPBindingPort_wsdl.jar" />
    <!-- copy over the impl file -->
              <copy todir="../code/java/src">
                   <fileset dir="${base.dest}/${bea.build.dir}/impl" />
              </copy>
         </target>

  • What are the steps to create a webservice from java

    i followed the doc. of weblogic 10.3 but something is missing..i am using ubuntu
    1)
    i created a webservice ping.java which placed in myproject/HelloWorld directory
    package HelloWorld;
    import javax.jws.WebMethod;
    import javax.jws.WebService;
    import javax.jws.soap.SOAPBinding;
    import javax.xml.ws.BindingType;
    @WebService(name="SimplePortType", serviceName="SimpleService",
    targetNamespace="http://example.org")
    @SOAPBinding
    @BindingType
    public class ping {
    @WebMethod
    public String main(String p){
    System.out.println("sayHello:" + p);
    return "Here is the message: '" + p + "'";
    2) and created a build.xml and placed it in myproject folder
    <project default="all">
    <target name="all"
    depends="clean,build-service,deploy" />
    <target name="clean">
    <delete dir="output" />
    </target>
    <path id="*my.path*">
         <pathelement path="/home/suresh/bea/jdk160_05/lib/tools.jar"/>
    <pathelement path="/home/suresh/bea/wlserver_10.3/server/lib/weblogic.jar"/>
    </path>
    <taskdef name="jwsc"
    classname="weblogic.wsee.tools.anttasks.JwscTask" classpath="/home/suresh/bea/wlserver_10.3/server/lib/weblogic.jar" />
    <target name="build-service">
    <jwsc srcdir="HelloWorld" destdir="output/helloWorldEar">
    <jws file="ping.java" type="JAXWS"/>
    </jwsc>
    </target>
    <taskdef name="wldeploy" classname="weblogic.ant.taskdefs.management.WLDeploy" classpath="/home/suresh/bea/wlserver_10.3/server/lib/weblogic.jar"/>
    <target name="deploy">
    <wldeploy action="deploy"
    name="myproject"
    source="output/helloworldEar" user="weblogic"
    password="weblogic"
    adminurl="t3://${wls.hostname}:${wls.port}"
    targets="${wls.server.name}"/>
    </target>
    </project>
    3) after that how to start weblogic and how to set any needed env or domain properties.How to publish it to server?
    4) how to configure security
    can i use netbeans to do all the above things?
    Thanks
    Suresh

    what my.path indicates in the above wsdl?
    or which path i have to give there?

  • Sending Acknowledgement back to webservice SOAP to File Scenario

    I need to receive information from a webservice to a file for which I have configured Sender SOAP Adapter and file adapter to generate file.
    Now I need to send and acknowldegment to
    webservice back if File is generated successfully..How do I do it ?
    Points will be awarded

    thanks..
    but I am not getting error when I tru to send request thru altovaxml spy iget following error in response
    <?xml version="1.0"?>
    <!-- see the documentation -->
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
         <SOAP:Body>
              <SOAP:Fault>
                   <faultcode>SOAP:Server</faultcode>
                   <faultstring>Server Error</faultstring>
                   <detail>
                        <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
                              <context>XIAdapter</context>
                             <code>ADAPTER.JAVA_EXCEPTION</code>
                             <text><![CDATA[
    com.sap.aii.af.ra.ms.api.DeliveryException: XIAdapterFramework:GENERAL:com.sap.aii.af.ra.ms.api.DeliveryException: www.w3schools.com
         at com.sap.aii.adapter.xi.ms.XIEventHandler.onTransmit(XIEventHandler.java:455)
         at com.sap.aii.af.ra.ms.impl.core.queue.CallConsumer.onMessage(CallConsumer.java:133)
         at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:855)
         at com.sap.aii.af.ra.ms.runtime.MSWorkWrapper.run(MSWorkWrapper.java:56)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
              ]]></text>
                        </s:SystemError>
                   </detail>
              </SOAP:Fault>
         </SOAP:Body>
    </SOAP:Envelope>

  • IMessage interface Comp Controller (JAVA file) generated incompletely

    Hi Experts,
    I am doing a web dynpro java component, it has two views A & B (Comp view)
    I have rebuild the DC but not yet deployed it so no class files yet
    When i checked on the java code of my component controller it implements the IMessage interface, the corresponding package is imported, yet i can not call any values saying "<VALUE> can not be resolved"
    when i checked on the /wdp folder the java file for the IMessage<CompControllerName> does not contain the values, which explains the case above saying value can not be resolved.
    My question is why was this java file generated incompletely (without the values)?
    As i understand this java file is automatically generated by the WD code generator.
    Do i need to define the values manually in the file (by editing it),  or do i specify it graphically?
    Below SHOULD be the complete code generated::
    // This file has been generated by the Web Dynpro Code Generator
    // DON'T MODIFY!!! CHANGES WILL BE LOST WHENEVER THE FILE GETS GENERATED AGAIN
    // $JL-GENERATED-SOURCE$
    package com.ides.soa.cmp.ssc.ui.goodsmovementcomp.wdp;
    * This interface encapsulates all texts / messages for this component.
    * The message constants of type IWDMessage can be used in
    * conjunction with the IWDMessageManager.reportMessage method.
    * All constants can be used in conjunction with IWDTextAccessor.
    @SuppressWarnings("all")
    public interface IMessageGoodsMovementComp {
       * ErrorMessage <code>"Enter a valid {0} to proceed."</code> using
       * key "INVALID_INPUT".
      public static final com.sap.tc.webdynpro.progmodel.api.IWDMessage INVALID__INPUT = new com.sap.tc.webdynpro.progmodel.gci.impl.GCIMessage( com.ides.soa.cmp.ssc.ui.goodsmovementcomp.GoodsMovementComp.class, "INVALID_INPUT", com.sap.tc.webdynpro.services.message.WDMessageType.ERROR );
       * ErrorMessage <code>"Invalid input for goods movement"</code> using
       * key "MISSING_GOODS_INPUT".
      public static final com.sap.tc.webdynpro.progmodel.api.IWDMessage MISSING__GOODS__INPUT = new com.sap.tc.webdynpro.progmodel.gci.impl.GCIMessage( com.ides.soa.cmp.ssc.ui.goodsmovementcomp.GoodsMovementComp.class, "MISSING_GOODS_INPUT", com.sap.tc.webdynpro.services.message.WDMessageType.ERROR );
       * ErrorMessage <code>"The response from the service {0} is null"</code> using
       * key "NULL_RESPONSE".
      public static final com.sap.tc.webdynpro.progmodel.api.IWDMessage NULL__RESPONSE = new com.sap.tc.webdynpro.progmodel.gci.impl.GCIMessage( com.ides.soa.cmp.ssc.ui.goodsmovementcomp.GoodsMovementComp.class, "NULL_RESPONSE", com.sap.tc.webdynpro.services.message.WDMessageType.ERROR );
    I am trying to consume a webservice in wd java
    Thanks in advance

    What you will do in your controller is get a reference to the AM via the pageContext object.
    Like this:
    OAApplicationModule am=(OAApplicationModule)pageContext.getRootApplicationModule();
    Use the am ref to call methods in the am.
    Kristofer Cruz

  • Missing java file via eclipse.please help

    There is a java file missing in my eclipse when i do an update
    via svn.
    the error class the class shows 'Trade cannot be resolved to a type
    How do I import via SVN fo that specific file that is missing?
    I tried doing a fresh update but still its missing?
    please help

    Suresh,
    there are multiple ways to achieve that. If it is a "pure" java application create a java project.
    If you put java files into portal, webservice etc projects, they be compiled with the projects build process.
    To compile a single class you have also the option to configure an entry in the tool section (which points to javac for example) and run the tool, when your file is open (like in Visual Studio).
    -kai

  • Autotype won't generate java files from wsdl

    Hi!
    I'm having troube generating the java classes for a non built-in datatype from
    wsdl. The autotype ant task will only generate a types.xml file, but it does not
    generate the corresponding java files for the non-built in datatypes, nor does
    it generate any serializer/deserializer classes.
    Thanks in advance for any help on this!
    The WSDL defines the following datatype:
    <xsd:complexType name="w2Edisoprec">
              <xsd:complexContent>
                   <xsd:restriction base="SOAP-ENC:Array">
                        <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="w2EdisoprecArrayItem[]"/>
                   </xsd:restriction>
              </xsd:complexContent>
         </xsd:complexType>
         <xsd:complexType name="w2EdisoprecArrayItem">
              <xsd:sequence>
                   <xsd:element name="sAs_soptunnus" type="xsd:string" minOccurs="1" maxOccurs="1"/>
                   <xsd:element name="sAs_soptun_alk" type="xsd:string" minOccurs="1" maxOccurs="1"/>
                   <xsd:element name="lAs_soptun_lop" type="xsd:string" minOccurs="1" maxOccurs="1"/>
                   <xsd:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
              </xsd:sequence>
              <xsd:anyAttribute processContents="lax"/>
         </xsd:complexType>
         <xsd:element name="w2Edisoprec" type="w2EdisoprecArrayItem" />
    I'm using the following build.xml file:
    <project name="buildWebservice" default="generate-types">
         <target name="generate-types">
         <autotype
         wsdl="http://localhost/Lak_hEdisopLK.wsdl"
         packageName="ssi3Client.types"
         destDir="c:/tuxedo2sap/l158/ssi3/wsdl/types"
         />
         </target>
    </project>
    The types.xml file generated by autotype is:
    <wsdd:type-mapping xmlns:wsdd="http://www.bea.com/servers/wls70"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    <wsdd:type-mapping-entry xmlns:lcl0="http://www.webMethods.com/noNamespace/"
    class-name="javax.xml.soap.SOAPElement"
    type="lcl0:w2Edisoprec"
    serializer="weblogic.webservice.core.encoding.stream.SOAPElementCodec"
    deserializer="weblogic.webservice.core.encoding.stream.SOAPElementCodec">
    </wsdd:type-mapping-entry>
    <wsdd:type-mapping-entry xmlns:lcl0="http://www.webMethods.com/noNamespace/"
    class-name="javax.xml.soap.SOAPElement"
    type="lcl0:v2EdisoprecArrayItem"
    serializer="weblogic.webservice.core.encoding.stream.SOAPElementCodec"
    deserializer="weblogic.webservice.core.encoding.stream.SOAPElementCodec">
    </wsdd:type-mapping-entry>
    <wsdd:type-mapping-entry xmlns:lcl0="http://www.webMethods.com/noNamespace/"
    class-name="javax.xml.soap.SOAPElement"
    type="lcl0:w2EdisoprecArrayItem"
    serializer="weblogic.webservice.core.encoding.stream.SOAPElementCodec"
    deserializer="weblogic.webservice.core.encoding.stream.SOAPElementCodec">
    </wsdd:type-mapping-entry>
    <wsdd:type-mapping-entry xmlns:lcl0="http://www.webMethods.com/noNamespace/"
    class-name="javax.xml.soap.SOAPElement"
    type="lcl0:v2Edisoprec"
    serializer="weblogic.webservice.core.encoding.stream.SOAPElementCodec"
    deserializer="weblogic.webservice.core.encoding.stream.SOAPElementCodec">
    </wsdd:type-mapping-entry>
    </wsdd:type-mapping>

    Hi Hans,
    It is a known issue that the XML schema processor in WLS 7.0, doesn't currently
    handle the <xsd:anyAttribute processContents="lax"/> and <xsd:any processContents="lax"
    minOccurs="0" maxOccurs="unbounded"/> lines in your xsd. This may be corrected
    in the next service pack - SP2.
    Regards,
    Mike Wooten
    "Hans Dumbrajs" <[email protected]> wrote:
    >
    Hi!
    I'm having troube generating the java classes for a non built-in datatype
    from
    wsdl. The autotype ant task will only generate a types.xml file, but
    it does not
    generate the corresponding java files for the non-built in datatypes,
    nor does
    it generate any serializer/deserializer classes.
    Thanks in advance for any help on this!
    The WSDL defines the following datatype:
    <xsd:complexType name="w2Edisoprec">
              <xsd:complexContent>
                   <xsd:restriction base="SOAP-ENC:Array">
                        <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="w2EdisoprecArrayItem[]"/>
                   </xsd:restriction>
              </xsd:complexContent>
         </xsd:complexType>
         <xsd:complexType name="w2EdisoprecArrayItem">
              <xsd:sequence>
                   <xsd:element name="sAs_soptunnus" type="xsd:string" minOccurs="1"
    maxOccurs="1"/>
                   <xsd:element name="sAs_soptun_alk" type="xsd:string" minOccurs="1"
    maxOccurs="1"/>
                   <xsd:element name="lAs_soptun_lop" type="xsd:string" minOccurs="1"
    maxOccurs="1"/>
                   <xsd:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
              </xsd:sequence>
              <xsd:anyAttribute processContents="lax"/>
         </xsd:complexType>
         <xsd:element name="w2Edisoprec" type="w2EdisoprecArrayItem" />
    I'm using the following build.xml file:
    <project name="buildWebservice" default="generate-types">
         <target name="generate-types">
         <autotype
         wsdl="http://localhost/Lak_hEdisopLK.wsdl"
         packageName="ssi3Client.types"
         destDir="c:/tuxedo2sap/l158/ssi3/wsdl/types"
         />
         </target>
    </project>
    The types.xml file generated by autotype is:
    <wsdd:type-mapping xmlns:wsdd="http://www.bea.com/servers/wls70"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    <wsdd:type-mapping-entry xmlns:lcl0="http://www.webMethods.com/noNamespace/"
    class-name="javax.xml.soap.SOAPElement"
    type="lcl0:w2Edisoprec"
    serializer="weblogic.webservice.core.encoding.stream.SOAPElementCodec"
    deserializer="weblogic.webservice.core.encoding.stream.SOAPElementCodec">
    </wsdd:type-mapping-entry>
    <wsdd:type-mapping-entry xmlns:lcl0="http://www.webMethods.com/noNamespace/"
    class-name="javax.xml.soap.SOAPElement"
    type="lcl0:v2EdisoprecArrayItem"
    serializer="weblogic.webservice.core.encoding.stream.SOAPElementCodec"
    deserializer="weblogic.webservice.core.encoding.stream.SOAPElementCodec">
    </wsdd:type-mapping-entry>
    <wsdd:type-mapping-entry xmlns:lcl0="http://www.webMethods.com/noNamespace/"
    class-name="javax.xml.soap.SOAPElement"
    type="lcl0:w2EdisoprecArrayItem"
    serializer="weblogic.webservice.core.encoding.stream.SOAPElementCodec"
    deserializer="weblogic.webservice.core.encoding.stream.SOAPElementCodec">
    </wsdd:type-mapping-entry>
    <wsdd:type-mapping-entry xmlns:lcl0="http://www.webMethods.com/noNamespace/"
    class-name="javax.xml.soap.SOAPElement"
    type="lcl0:v2Edisoprec"
    serializer="weblogic.webservice.core.encoding.stream.SOAPElementCodec"
    deserializer="weblogic.webservice.core.encoding.stream.SOAPElementCodec">
    </wsdd:type-mapping-entry>
    </wsdd:type-mapping>

  • Ejb webservice..wsdl file

    hi all,
    i have created a product table in the database and then i created an entity product class from the table,
    after that i created session bean and publish this session bean as a web service.
    During creating session bean --> i chose Business tier00--> session bean --> include Web Service Endpoint Interface-->
    i got the interface ProductSessionWeb Service (java file) but i am wondering why in the class i need to import and do anotation @WebMethod on my own the tool does do this for me.
    After adding anotation @WebMethod for an operation (selectAll) in order to select product table.
    i deployed this web service on oracle application server. it was sucessful and i tested this web service . it returned the product data that i expected.
    1. However, i can not find WSDL file in the directory that i created.
    2. i can only see wsdl file from my address location on (Explorer)
    3. How can i generate WSDL file from this application
    please help

    Hi Ashutosh,
                       I am not using web dynpro. I am using EJB for consuming webservice. Now, in visual admin I stopped Web service security service and again started it again
    Now its giving me following error:
    <b>java.lang.Exception: Call to {remote server url} returned http code 500 with unacceptable content type (text/html).
    <HTML>
    <HEAD><TITLE>500 Server Error</TITLE></HEAD>
    <BODY>
    <H1>Server Error</H1>
    <H4>
    The following error occurred:<P>
    [code=SERVER_RESPONSE_CLOSE] The server closed the connection while reading the response. Contact your system administrator.
    </H4>
    <HR>
    Please contact the administrator.
    </BODY>
    </HTML></b>

  • Webservices usin java-netbeans ide

    Hi frnds
    Currently i am creating a webservice using java. I am using netbeans4.1 IDE. When i checked the example given in the quick start guide of Netbeans i am getting an error like cannnot find the Wscompil.class. Here iam pasting the build output
    init:
    deps-module-jar:
    deps-ear-jar:
    deps-jar:
    Created dir: C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\classes
    Created dir: C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\META-INF
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\META-INF
    library-inclusion-in-archive:
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    library-inclusion-in-manifest:
    Compiling 3 source files to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\classes
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\classes
    Copying 3 files to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web
    wscompile-init:
    C:\Documents and Settings\sandeep.e\ws\HiWS\nbproject\build-impl.xml:226: taskdef class com.sun.xml.rpc.tools.ant.Wscompile cannot be found
    BUILD FAILED (total time: 10 seconds)
    Can anyone please telll me why this is happening? The jar files necessary is present in the library, eventhough it is showing the error.
    Thanks in anticipation

    This is a forum for matters concerning the Java programming language, not for the NetBeans IDE. Try to find a NetBeans forum for your NetBeans problems.
    I believe there's one on nabble.com and another on java-forums.org.
    db

  • Developing webservices using Java SE6 and Tomcat Webserver

    Hi All,
    I am trying to develop a webservice using Java SE6 Beeta SDK with Tomcat webserver. I read somewhere in the Sun site and it says JAXWS2.0 is fully packaged with JAVA SE 6 SDK? If this is correct then what are all the remining packages(jar files present in JWSDP2.0) required to develop and publish the webservice.
    I does the setup as follows.
    - Install the Java SE6 SDK Beeta available.
    - Install Tomcat 5.17 webserver.
    - Started the webserver by setting java_home as SDK6.
    I am not able to publish the webservice with this setup
    Do i need to place any other package present in JWSDP2.0 in Tomcat_home/common/lib ?
    I used the same example present in JWSDP2.0 package.
    Please guide me regarding this?
    Thanks In Advance,
    Mohan

    Any ideas on how this could be achieved.Have you looked at the Unofficial Web Start FAQ at the Lopica site?
    - Gerald
    PS: You might wonna also consider posting your question to the Java Web Start developers group at Yahoo! See http://groups.yahoo.com/group/webstart

  • How to generate java file from WSDL file

    Hi friends,
    I am new to this thing, so that's why I need some guidence .
    I need to generate java file programatically from existing wsdl file.
    I thought the ways - to use xmlbeans apache library or jaxb.
    Can you suggest what will be better way to generate java file from wsdl? can you please be more descriptive and can you direct me to appropriate link?
    Thanks.
    Harshit

    xmlbeans apache provides easiest way to create java file from wsdl there is very good link for that
    http://www.ibm.com/developerworks/webservices/library/ws-soa-clientxmlbeans.html
    If you want more programmatic approach then Jaxb will be a better option

Maybe you are looking for