Configuring Webservice with Studio Creator

I need my web site to configure the URL of the web service it's consulting after the site is builded.
In other words, I'm deploying an web site that consults a webservice, and the web service URL changes from time to time, so I need to load the web service URL from the web.xml file.
Any ideas?
Thanks in advance.
Azeroth.

Hi There,
You have to either programatically find the url somehow , or read it from a flat file or a DB in your program.
These are the only things I can think of.
Good luck
K

Similar Messages

  • Can we use JSF 1.2 with Studio Creator

    I've downloaded the JSF 1.2 implementation from https://javaserverfaces.dev.java.net/ . The package contains some new components, such as the graph and chart component.
    Can this version of JSF be installed to work with studio creator? Thanks,
    Cre

    I assume you mean a pre-release of 1.2 since 1.2 is not out yet.
    Unfortunately, I doubt that it will work at designtime.
    -- Tor
    http://blogs.sun.com/tor

  • How do I get CVS w/ SSH working with Studio Creator?

    I'm sure this has been answered before but I'm having real difficulties and I think I need a walkthrough. Other links I have found that supposedly answer this question have proved unsuccessful. I am running on Windows XP and the CVS repository is remote on a linux server.
    I have been able to setup CVS via SSH using command line instructions and also using Eclipse. However I have been unsuccessful in setting up CVS with SSH inside of Studio Creator 2. Is there a line by line walkthrough or sample somewhere in order to confirm that I can get CVS working via SSH?

    Well, it seems I've found a solution to my own problem. I was trying to use CVSNT and SSH Secure Shell. Apparently, the version of CVSNT I was using was old (although it came bundled with WinCVS which I was trying at the same time). After trying to install TortoiseCVS, I was told to update CVSNT or else TortoiseCVS would have problems. I removed CVSNT (and WinCVS), installed TortoiseCVS, and the exact same configuration I was using previously worked like a charm. Oh well... no more complaints by me!

  • Integrate Hibernate with Studio Creator

    Hello,
    while I tried to integrate Hibernate to my Studio Creator application, I already despaired by receiving a Sessionfactory.
    Here is my code:
    Configuration cfg = new Configuration().configure(
    new URL("http://localhost:28080/ArtistTrackApp/resources/hibernate.cfg.xml"));
    cfg.addURL(new URL("http://localhost:28080/ArtistTrackApp/resources/Artist.hbm.xml"));
    SessionFactory sessionFactory = cfg.buildSessionFactory();
    The last row throws a courios exception:
    java.security.AccessControlException: access denied (java.lang.reflect.ReflectPermission suppressAccessChecks)
    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
    at java.security.AccessController.checkPermission(AccessController.java:427)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
    at java.lang.reflect.AccessibleObject.setAccessible(AccessibleObject.java:107)
    at org.hibernate.property.BasicPropertyAccessor.getSetterOrNull(BasicPropertyAccessor.java:233)
    at org.hibernate.property.BasicPropertyAccessor.createSetter(BasicPropertyAccessor.java:214)
    at org.hibernate.property.BasicPropertyAccessor.getSetter(BasicPropertyAccessor.java:209)
    at org.hibernate.mapping.Property.getSetter(Property.java:255)
    at org.hibernate.tuple.PojoEntityTuplizer.buildPropertySetter(PojoEntityTuplizer.java:259)
    at org.hibernate.tuple.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:103)
    at org.hibernate.tuple.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:55)
    at org.hibernate.tuple.TuplizerLookup.create(TuplizerLookup.java:64)
    at org.hibernate.tuple.EntityMetamodel.<init>(EntityMetamodel.java:257)
    at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:412)
    at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:108)
    at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
    at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:215)
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1154)
    at artisttrackapp.StartPage.prerender(StartPage.java:285)
    at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.prerender(ViewHandlerImpl.java:860)
    at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:295)
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
    at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
    at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:185)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403)
    at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)
    The same Code in an eclipse environment works, so the configuration file and the mapping file are definetly right. I suppose it has something to do with the application server thing?!
    What the hell should I do?
    Please help me!
    Greetings

    In order to use Hibernate, you will need to grant the required permissions (detailed below) in the server config. Modify your server.policy file as follows:
    The server.policy file is located under <app server home>\domains\creator\config\server.policy
    // Basic set of required permissions granted to all remaining code
    grant {
         permission java.lang.RuntimePermission  "loadLibrary.*";
         permission java.lang.RuntimePermission  "queuePrintJob";
         permission java.net.SocketPermission    "*", "connect";
         permission java.io.FilePermission       "<<ALL FILES>>", "read,write";
            // work-around for pointbase bug 4864405     
            permission java.io.FilePermission "${com.sun.aas.instanceRoot}${/}lib${/}databases${/}-", "delete";
            permission java.io.FilePermission "${java.io.tmpdir}${/}-", "delete";
         permission java.util.PropertyPermission "*", "read";
         permission java.lang.RuntimePermission     "modifyThreadGroup";
         // -------------------- TRY THIS ----------------------
         // Permission for CGLib, part of Hibernate framework
         permission java.lang.RuntimePermission "getProtectionDomain";
         permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
         permission java.util.PropertyPermission "*", "read, write";
    ...Restart your app server. Do you still get the problem?

  • Problem with Studio Creator projects with WinXP non-admin account

    Hi All.
    I can run Studio Creator projects when logged onto Windows XP as an administrator but not when logged on with a limited account.
    Here are messages I get when using a limited account:
    Output windows displays the following as it continuously tries to start the server after clicking the "Run Main Project" toolbar button
    init:
    deps-module-jar:
    deps-ear-jar:
    deps-jar:
    library-inclusion-in-archive:
    library-inclusion-in-manifest:
    compile:
    compile-jsps:
    pluto-hack-web-xml-run:
    portlet-container-deploy:
    jsCreatorDist:
    run-deploy:
    Starting server localhost:25848
    C:\Program Files\Sun\Creator2_1\SunAppServer8\bin\asadmin.bat start-domain --domaindir C:\Program Files\Sun\Creator2_1\SunAppServer8\domains\ creator
    Starting server localhost:25848
    I later get a popup window stating the the "Sun Java System Application Server 8.2 could not start with suggestions to check port conflict or bad config in domain.xml or corrupted deployment application
    Any help is greatly appreciated.
    New to Java :-)

    I don't believe that you can run the AS that way.
    But, anyway, this questions should have been askeed in the JSC forum:
    http://forum.java.sun.com/forum.jspa?forumID=881
    (or the AS forum)

  • Help needed with Sun Java Studio Creator and EJB in a Portlet Project

    Hi
    I have created an web-application with JSF in Sun Java Studio Creator 2. The web application uses a lot of EJB's which acts as the dataProviders. In a typical jsp page i have more that one data providers(the EJB's) getting used. When i run the project everything opens up properly in the browser and the application seems to be fine.
    But when i create a JSP 168 Portlet project and do exactly the same thing for some reason the Apache Pluto(comes as the default Portlet Container with Studio Creator) conks off.
    Then i started going ahead step by step:
    1. First i created a portletpage and added only one dataProvider(EJB) and ran the project...It gets deployed properly in Pluto and the browser comes up and everything shows up fine.
    2. Just to re-confirm i did the same thing with another dataProvider(EJB). So still we have just 1 EJB in the portlet page. As expected it also worked fiine.
    3. Then when I added more that one dataProviders(EJBs) in the porlet page the Apache Pluto conks off(saying that Pluto is not available)
    I tried doing a lot of things but nothing works...Surprisingly the same thing works when u create a JSF web Application project but the same thing does not work when u create a JSR 168 JSF Portlet Project...
    Did anybody face the same problem..Is it a bug in the Studio Creator...Any help would be highly appreciated.

    Hi,
    There are a few discussion threads in the feedbackprograms portal for Creator 2 EA 2. The URL is:
    https://feedbackprograms.sun.com/login.html
    In the EA discussion forum you will find threads which discuss the concerned topic. In specific look for threads titled:
    # Deploying Portlets
    # Taking a JSC Portlet to Tomcat creates a Faces Mapping Error
    # Problem with Pluto when trying to deploy a portlet
    # Request: JSR-168 Portlet Project without JSF
    We kindly request you to post your further queries related to EA in the above mentioned forum.
    Cheers
    Giri

  • Java Studio Creator 2 Update 1 - Problems with Calendar component

    Hello,
    I just made a very simple webapplication, consiting of 2 webpages. Webpage 1 has a button that sends the user to webpage 2. That works fine. When I add a calendar from the components palette, and select a date thats in 2010, I keep getting redirected to page 1 when I press the button that should send me to page 2. I don't even try to access the selected date from the calendar. When I select a date in 2009, it all works fine. I don't see any exception, not on screen, not in the server log. I'm using the Sun Application Server that comes with Studio Creator.
    Kind regards,
    Sven

    Ok, I now know what my foot tastes like. Have personally verified that the calendar component in JSC 2 update 1 accepts dates (at least) 1970 - 4100. With this range you can see that there some work going on in the background but performance is adequate (a second or two delay). Considering that this is a ridiculous range the Calendar component performs well.
    I dug up my old copy of JSC EA 2 and that calendar component seems to have a 9 year range with no settable minDate maxDate.
    I appear to have deleted my copy of JSC EA [1] but I guess this must be where I had a poor experience of the component. I'm fairly sure this had a minDate / maxDate property and if they were set too far apart it caused heap space problems. I guess I made a mental note not to try this again and never have since. Anyway, it's irrelevant because the Calendar Component works right now and that's what counts. My apologies to all concerned.

  • Does Studio Creator support Oracle ADF Faces and other components?

    Hi everyone
    According to:
    http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/faq.html
    "Although ADF Faces is "vanilla" JSF we have not been able to run with Java Studio Creator Build 04.06.2. We are working with Sun to resolve the issues in Java Studio Creator."
    Does anyone know if Oracle ADF faces now work with Studio Creator and if so which version.
    In addition I am also looking for JSF visualization components. In addition to advanced 3-D graphs (send as PNG to client) I am also looking for components to visualize the structure of a website. These all need to work with Studio Creator.

    Importing 3rd party libraries used to be complicated. The .complib stuff was added precisely to make it easy.
    It does make packaging slightly harder for third party -vendors-, since there's one extra step, but this makes everything easier for (the much larger number of) users of the third party components, since the packaging format specifies a bunch of stuff that we used to have to ask of users when trying to add the jar and associated metadata into the IDE.
    The complib stuff is documented, so if you're producing a 3rd party JSF library, or if you really want to use one that hasn't yet been packaged, you can do the steps yourself.
    See http://wiki.java.net/bin/view/People/EdwinGoei -- the first couple of links describes the process. Yes, we're working with third party vendors to get this done for their component sets, and yes, there's talk with other IDE vendors to standardize all this.
    -- Tor
    http://blogs.sun.com/tor

  • Graphs for Studio Creator

    I need to put some graphs in my applications. I need to do line charts, XY charts, histograms, XY graphs with multiple graphs and maybe a few others.
    Does anyone know of a good package that works well with Studio Creator and JSF?

    Hi There =)
    Yes it's great that we have many open source softwares that we can import to the library manager in Sun Java Studio Creator.
    This URL gives many :
    http://java-source.net/open-source/charting-and-reporting
    But it's so hard to find at least one tutorial or instruction set that we can import libraries into SJSC.
    Right now can anyone instruct with any site or a forum which tells how to import JFreeChart or any other (JChart, JOpenChart,JCCKit...etc) through library manager and then generate graphs or charts binding chart components to database tables.
    Like this tutorial does in this URL with jschart software:
    http://sourceforge.net/docman/display_doc.php?docid=47283&group_id=185036
    The reason I can't just use JSChart software, becasue it only supports bar charts. For other types of charts we need something like JFreeChart or JChart...
    Thanks

  • How can i run java windows(class) app. from studio creator

    Hi experts,
    I want to run windows application(which write with java and compile javac, i have got *.class) from studio creator.
    For example;
    import java.awt.*;
    import java.awt.event.*;
    public class IlkPencere implements WindowListener,ActionListener
    public Frame p1;
    public Button btnIkinciPencere;
    public Button btnKapat;
    public int X;
    public int Y;
    public void PencereAyarla(String baslik,int genislik,int yukseklik,int konumX, int konumY,Color
    arkaPlanrengi)
    X=konumX;
    Y=konumY;
    p1=new Frame(baslik);
    p1.setLocation(konumX,konumY);
    p1.setBackground(arkaPlanrengi);
    p1.setSize(genislik,yukseklik);
    p1.setLayout(new FlowLayout());
    p1.addWindowListener(this);
    btnIkinciPencere= new Button("Ikinci Pencere");
    btnKapat=new Button("Kapat");
    p1.add(btnIkinciPencere);
    p1.add(btnKapat);
    btnKapat.addActionListener(this);
    btnIkinciPencere.addActionListener(this);
    p1.setVisible(true);
    public static void main(String args[])
    IlkPencere p=new IlkPencere();
    p.PencereAyarla("ANA PENCERE",250,100,0,0,Color.white);
    public void actionPerformed(ActionEvent e)
    if(e.getSource()==btnKapat)
    p1.setVisible(false);
    else if(e.getSource()==btnIkinciPencere)
    IlkPencere p=new IlkPencere();
    X=X+50;
    Y=Y+50;
    p.PencereAyarla("ANA PENCERE",100,100,X,Y,Color.red);
    public void windowClosing(WindowEvent e)
    System.exit(0);
    public void windowOpened(WindowEvent e)
    public void windowClosed(WindowEvent e)
    public void windowIconified(WindowEvent e)
    public void windowDeiconified(WindowEvent e)
    public void windowActivated(WindowEvent e)
    public void windowDeactivated(WindowEvent e)
    I am using java server. I want this ; Any client can run my project(create with studio creator) with explorer after click any button after this class run application windows(but this windows application must run on server)
    I don't want to install any program in client PC. Client PC which have got only explorer, may be use this application.
    Thanks,

    or can i hidden explorer tools and address bar. User must use only my application menu.
    How can i solve it.

  • Errors with Test Web Service in Java Studio Creator...

    Hi...
    I'm a newbie with web services. I've installed Java Studio Creator in my Win XP Pro environment and I've been following the tutorials on how to add a web service to my projects, etc...
    In any case, I've followed the steps to ensure that my Deployment Server and my Built-In Database Server are active, yet whenever I try to test any of the pre-packaged, built-in web services, I always get the following type of error:
    InvocationTargetException
    com.sun.rave.websvc.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:459)
    com.sun.rave.websvc.ui.TestWebServiceMethodDlg$MethodTask.run(TestWebServiceMethodDlg.java:1031)
    java.lang.Thread.run(Thread.java:595)
    null
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:585)
    com.sun.rave.websvc.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:450)
    com.sun.rave.websvc.ui.TestWebServiceMethodDlg$MethodTask.run(TestWebServiceMethodDlg.java:1031)
    java.lang.Thread.run(Thread.java:595)
    HTTP Status-Code 404: Not Found - /OrderService; nested exception is: HTTP Status-Code 404: Not Found - /OrderService
    webservice.orderws.OrderService_Stub.getCustomers(OrderService_Stub.java:327)
    webservice.orderws.orderws.OrderWSClient.getCustomers(OrderWSClient.java:50)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:585)
    com.sun.rave.websvc.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:450)
    com.sun.rave.websvc.ui.TestWebServiceMethodDlg$MethodTask.run(TestWebServiceMethodDlg.java:1031)
    java.lang.Thread.run(Thread.java:595)
    HTTP Status-Code 404: Not Found - /OrderService
    com.sun.xml.rpc.client.http.HttpClientTransport.checkResponseCode(HttpClientTransport.java:302)
    com.sun.xml.rpc.client.http.HttpClientTransport.connectForResponse(HttpClientTransport.java:252)
    com.sun.xml.rpc.client.http.HttpClientTransport.invoke(HttpClientTransport.java:88)
    com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:92)
    webservice.orderws.OrderService_Stub.getCustomers(OrderService_Stub.java:311)
    webservice.orderws.orderws.OrderWSClient.getCustomers(OrderWSClient.java:50)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:585)
    com.sun.rave.websvc.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:450)
    com.sun.rave.websvc.ui.TestWebServiceMethodDlg$MethodTask.run(TestWebServiceMethodDlg.java:1031)
    java.lang.Thread.run(Thread.java:595)
    Can anybody give me a clue as to what I've missed? I was under the impression that Java Studio Creator had everything it needed to be able to successfully test these web services. What it looks like to me, is that the actual web service package is not deployed to the development environment. I have no idea where I would find those, if they were not pre-packaged with the software. Any assistance would be greatly appreciated.
    Thanks,
    Brett

    Are you to see the WSDL using the URL on a browser?
    Check for proxy settings configured in the IDE.
    http://developers.sun.com/prodtech/javatools/jscreator/reference/faqs/technical/webservices/proxies.html
    -Sakthi

  • Problem when adding ABAP custom webservice with Visual Studio 2010

    Hi All,
    After creating a webservice for a custom RFC function developed in a ECC6.0 SAP machine, I tried to add it to a Visual Studio 2010 windows aplication (through a web reference connection).
    The sequence I've done is:
    - Create RFC in ABAP, with testing ok
    - Create a WEBSERVICE with the ABAP editor
    - Configured the webservice with SICF with:
         Procedure: Standard
         Logon data: standard R3 user
         Security requirement: Standard
         Authentication: Standard SAP User
    Then, in SOAMANAGER I copied the webservice URL and tried to add it to Visual Studio 2010, but it keeps asking me the user and password. I try to supply the R3 username and password but if fails.
    Why is ECC6.0 asking the user and passord if I've defined a SAP user for the login process?
    Is there any way to disable this?
    Thanks,
    Manuel Dias

    Hello Manuel,
    You can use the following code:
    CredentialCache cache = new CredentialCache();
          cache.Add(new Uri("WEBSERVICEURL:PORTNUMBER/"), "Basic", new NetworkCredential("USERNAME", "PASSWORD"));
    SAP needs a password.
    Kind regards,
    JK

  • How to call Web Services with Sun Java Studio Creator?

    Can someone from Sun please explain how to use the sample Web Services USWeather and GoogleSearch in Sun Java Studio Creator (no Portlet Application)?
    I read the Web Service Tutorial Accessing Web Services (http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/webservices.html) and this blog entry: http://blogs.sun.com/roller/page/winston?entry=code_google_search_in_no .
    But the proposed solutions do not work with the services USWeather and GoogleSearch.
    Thank you.

    Thank you for your answer, dongmei.
    It seems that the MethodResultTableDataProvider does not return the response of the web service as a value field if the WSDL contains only one result element.
    E.g. from WSDL of the USWeather Web Service which returns theGetWeatherReportResult string:
    <?xml version="1.0" encoding="utf-8"?>
    <wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://www.webserviceX.NET" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://www.webserviceX.NET" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
      <wsdl:types>
        <s:schema elementFormDefault="qualified" targetNamespace="http://www.webserviceX.NET">
          <s:element name="GetWeatherReport">
            <s:complexType>
              <s:sequence>
                <s:element minOccurs="0" maxOccurs="1" name="ZipCode" type="s:string" />
              </s:sequence>
            </s:complexType>
          </s:element>
          <s:element name="GetWeatherReportResponse">
            <s:complexType>
              <s:sequence>
                <s:element minOccurs="0" maxOccurs="1" name="GetWeatherReportResult" type="s:string" />
              </s:sequence>
            </s:complexType>
          </s:element>
          <s:element name="string" nillable="true" type="s:string" />
        </s:schema>If I drag the web service method on the page and I should be able to select the response value in the Bind to Data dialog box. But there is no value field. Value fields only occur if the web service returns more than one value.
    The question is how can I get the response GetWeatherReportResult from the service.

  • Working with CVS and Java Studio Creator 2

    Hello,
    I'm a new user of java studio creator and I would like to make a project using ths CVS.
    First, I've installed a CVS server on a computer.
    Then I've created a new project (an example included with JSC)
    Then I've customized the version manager in JSC 2 to connect to the remote CVS server.
    No problem, if I try to connect to CVS in the version manager, it work ("You are connected").
    On the other hand, when I want to check out my project on the CVS (the first check out), I've got this error :
    cvs server: connect to 82.252.252.173(82.252.252.173):2402 failed: Une tentative de connexion a �chou� car le parti connect� n'a pas r�pondu convenablement au-del� d'une certaine dur�e ou une connexion �tablie a �chou� car l'h�te de connexion n'a pas r�pondu.
    cvs [server aborted]: Couldn't connect to lock server
    Have you got an idea on the configuration error I've done (no solution found in the articles nor faq)?
    Thanks in advance
    Nicolas

    Hello,
    You can see checked out files when you use the Versioning Manager. Just expand the tree to see individual files and folders. It's always a good idea to do an update before you start editing a file in Studio Creator. The Merge Conflict Resolver is a a very useful tool when more than one developer is working on a file.
    You can find a lot more about version control in the IDE's help files.
    And by the way, your English is fine.
    --James                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Studio Creator and configurable datasources problem

    At design time we've binded components to a creator-configured datasource. As a result the Studio Creators generates in a '_init' method of a session bean code like
    'rowSet.setDataSourceName("java:comp/env/jdbc/mydb");'
    (where 'rowSet' is a 'CachedRowSetXImpl').
    So far so good.
    In the next step we tried to make the datasource jndi name configurable to use this code to connect to different databases. It works fine in a web/app-server environment at run time.      
    But unfortunately the Studio Creator doesn't accept this code. Using something other than the shown hard-coded jndi string in a statement like the example above results in a component error...
    This means that we've to use different code at design time and build/runtime? At the moment after working at the design every time we change the code (substitution using ant, e.g.: "java:comp/env/jdbc/mydb" --> getDatasourceName() ) and build the archive.
    Is there is any other way to avoid this problem? We dislike such one code patching...
    Regards, Thomas

    Hi I found solution, i puted on the page a table -component (with brand new automaticly created dataprovider) , then i set properties visible= false for table, and now I can bind statictext with database field and deploy on tomcat server .
    But i think it is not a elegant solution in page source i habe noused-code.
    Have Any another Ideas. HELP PEOPLE !!!!
    Mariuszek: I use Creator.because right now I can see result of my job and i can qickly change ideas ,
    I tried with JDeveleper but i did'nt find this functionality (wich version do you prefered ?) , unfortunately i have to deploy my application on Tomcat. This is my study project, and i make this to become a Master of Techinal Univeristy ;), Deadline time is 30 th September :(
    greetings

Maybe you are looking for