WEB SERVICE PROXY GENERATED USING 11.1.1.5.0 WSDL FAILS WITH 11.1.1.6.0

I have created a Web Service Proxy project in Jdev using BI Publisher 11.1.1.5.0 WSDL (ReportService). Generated ReportService_Service method uses following QName to get the port:
namespaceURI = "http://xmlns.oracle.com/oxp/service/v2"
localPart = "*v2/ReportService*"
Reports are generated successfully via Web Services when using BI Publisher 11.1.1.5.0 but when I use BI Publisher 11.1.1.6.x, it fails with this exception:
+'javax.el.ELException: javax.xml.ws.WebServiceException: {http://xmlns.oracle.com/oxp/service/v2}v2/ReportService is not a valid port. Valid ports are: {http://xmlns.oracle.com/oxp/service/v2}ReportService'+
I noticed that if the Web Service Proxy project is created using BI Publisher 1.1.1.1.6.0 WSDL (ReportService), the generated ReportService_Service method uses following QName to get the port:
namespaceURI = "http://xmlns.oracle.com/oxp/service/v2"
localPart = "*ReportService*"
We are supporting both 11.1.1.5.0 and 11.1.1.6.x, so is there a way to make it work with both.
FYI, I have tried removing v2 but then it only works with 11.1.1.6.0 and fails with 11.1.1.5.0.
+Caused By: javax.xml.ws.WebServiceException: {http://xmlns.oracle.com/oxp/service/v2}ReportService is not a valid port. Valid ports are: {http://xmlns.oracle.com/oxp/service/*v2}v2/*ReportService+

Dear,
found the solution (after trying last 1-2 days ...).
I was already using java 1.7 update 7.
I had to start java settings and to deselect Java 1.7.0_07.
Instead I selected latest Java version from Apple: 1.6.0_35-b10-428.
With these settings the installer finishes without crash.
Kind regards
Lorenz
Edited by: Lorenz on Oct 4, 2012 1:47 PM

Similar Messages

  • Flex Builder 3 - Web Service Proxy Generator

    Hi guys,
    I am investigating the web service proxy generator that is part of FB3. I can't seem to get it working properly and wondered if anyone else has managed to succeed.
    I am using WSDL files that are generated from RFC-enabled function modules using the web service browser on a WAS ABAP.
    I have chosen two quite simple function modules. RFC_SYSTEM_INFO and BAPI_USER_GETLIST.
    The WSDL files are retrieved from the URLs /sap/bc/soap/wsdl11?services=RFC_SYSTEM_INFO and /sap/bc/soap/wsdl11?services=BAPI_USER_GETLIST on my server.
    I am following the Adobe documentation at http://livedocs.adobe.com/flex/3/html/help.html?content=data_4.html#151327
    Anyway, I generate the proxies and then try to use them.
    First I call the RFC_SYSTEM_INFO web service like this...
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:ws="au.com.yelcho.*">
        <ws:RFC_SYSTEM_INFOService id="myWebService" />
         <mx:Button label="Call Web Service" labelPlacement="top" click="myWebService.rFC_SYSTEM_INFO_send()" x="97" y="10"/>     
         <mx:Label x="60" y="43" text="Current Resources"/>
         <mx:Text id="txNameOutput1" text="{myWebService.rFC_SYSTEM_INFO_lastResult.CURRENT_RESOURCES}" x="185" y="43"/>
         <mx:Label x="54" y="69" text="Maximal Resources"/>
         <mx:Text id="txNameOutput" text="{myWebService.rFC_SYSTEM_INFO_lastResult.MAXIMAL_RESOURCES}" x="185" y="69"/>
         <mx:Label x="105" y="95" text="RFC HOST"/>
         <mx:Text id="txNameOutput2" text="{myWebService.rFC_SYSTEM_INFO_lastResult.RFCSI_EXPORT.RFCHOST}" x="185" y="95"/>
    </mx:Application>
    At first glance this seems to work, but on closer inspection it turns out that not all the returned XML payload has been extracted properly.
    Attributes at the top level, like CURRENT_RESOURCES work fine. Attributes at a lower level, like RFCSI_EXPORT.RFCHOST are empty.
    It is even more difficult when I try and call the BAPI_USER_GETLIST service because it requires input parameters. Testing with XMLSpy I found that I need to pass the MAX_ROWS and USERLIST parameters to get the SOAP call to work.
    I have been unable to figure out how to pass these parameters so that the web service call takes place properly. I have tried using both the MXML and ActionScript methods.
    It is entirely probably that, as I haven't played with Flex for some months, I have forgotten some vital piece of information on how to do this.
    Any help would be appreciated.
    Cheers
    Graham Robbo

    Hi Raja,
    thanks for your ongoing help with this, but you have confused me again - notr a hard this to do.
    When I generate the proxies from BAPI_USER_GETLIST I get the following .as files created..
    BAPIRET2.as
    BAPIUSNAME.as
    BAPIUSSEXP.as
    BAPIUSSRGE.as
    BAPI_USER_GETLISTResultEvent.as
    BAPI_USER_GETLISTService.as
    BAPI_USER_GETLIST_request.as
    BaseBAPI_USER_GETLISTService.as
    BaseBAPI_USER_GETLISTServiceSchema.as
    FIELD_type0.as
    FIELD_type1.as
    FIELD_type2.as
    FIELD_type3.as
    FIELD_type4.as
    FIELD_type5.as
    FIRSTNAME_type0.as
    FIRSTNAME_type1.as
    FULLNAME_type0.as
    FULLNAME_type1.as
    HIGH_type0.as
    HIGH_type1.as
    HIGH_type2.as
    HIGH_type3.as
    IBAPI_USER_GETLISTService.as
    ID_type0.as
    ID_type1.as
    LASTNAME_type0.as
    LASTNAME_type1.as
    LOGOP_type0.as
    LOGOP_type1.as
    LOG_MSG_NO_type0.as
    LOG_MSG_NO_type1.as
    LOG_NO_type0.as
    LOG_NO_type1.as
    LOW_type0.as
    LOW_type1.as
    LOW_type2.as
    LOW_type3.as
    MESSAGE_type0.as
    MESSAGE_type1.as
    MESSAGE_V1_type0.as
    MESSAGE_V1_type1.as
    MESSAGE_V2_type0.as
    MESSAGE_V2_type1.as
    MESSAGE_V3_type0.as
    MESSAGE_V3_type1.as
    MESSAGE_V4_type0.as
    MESSAGE_V4_type1.as
    NUMBER_type0.as
    NUMBER_type1.as
    OPTION_type0.as
    OPTION_type1.as
    OPTION_type2.as
    OPTION_type3.as
    PARAMETER_type0.as
    PARAMETER_type1.as
    PARAMETER_type2.as
    PARAMETER_type3.as
    PARAMETER_type4.as
    PARAMETER_type5.as
    RETURN_type0.as
    RETURN_type1.as
    SELECTION_EXP_type0.as
    SELECTION_EXP_type1.as
    SELECTION_RANGE_type0.as
    SELECTION_RANGE_type1.as
    SIGN_type0.as
    SIGN_type1.as
    SYSTEM_type0.as
    SYSTEM_type1.as
    TYPE_type0.as
    TYPE_type1.as
    USERLIST_type0.as
    USERLIST_type1.as
    USERNAME_type0.as
    USERNAME_type1.as
    WITH_USERNAME_type0.as
    WITH_USERNAME_type1.as
    So my question is where do the datatypes...
                  TABLE_OF_BAPIRET2;
                   TABLE_OF_BAPIUSSEXP;
                   TABLE_OF_BAPIUSSRGE;
                   TABLE_OF_BAPIUSNAME;
                   TABLE_OF_BAPIUSNAME;
    ...come from?
    Is your proxy generator creating something mine isn't or did you create these yoursefl?
    Cheers
    Graham Robbo

  • Add web service proxy generator

    Hi, when I try to add a web service the proxy generator dropdown menu shows the text "Edit proxy generator list".  When I click on it it displays several proxy generators including .net vb, the one I want.  When I click done it returnes to the previous list box but does not list any choices.  As suggested in another forum I reloaded Dreamweaver, but this did not help.  Any ideas?
    Thanks, Tom

    Hi Tom,
    I' needed to create a proxy for a web service some days ago too. First think you should know is that web services support for .NET in DW CS4 has been removed. Now there's only web services components for ColdFusion.
    Anyway I will explain how I created mine...
    I tryed to create the proxy with DW CS3. First think I've noticed is that it ask to install Microsoft .NET Framework SDK.
    After installing last version of the .NET SDK I've noticed that DW CS3 doesn't recognized it. What finally did was to look at the edit proxy generator list, there you can see the commands used to create the proxy:
    wsdl /l:VB $$WSDLFILE
    vbc /t:library /r:System.dll,System.Data.dll,System.Web.Services.dll,System.XML.dll *.vb
    The first one creates the proxy source, the second compiles it into a DLL.
    I've just opened the DSK command prompt and used this commands manually. This way I finally got the proxy DLL compiled.
    It's my first time trying to consume a web service with .NET and it's really hard and confusing to do all this stuff. Now I'm stucked with my proxy DLL, but I can import it in my .NET code.
    If you can solve the next step I would be pleased to know.
    Regards!

  • Web service proxy - how to use server side in/out objects

    We have logic in oracle database. We have pl/sql api with oracle object types as in/out parameters. On server side we have pojo classes with method to convert from/to sql structs, arrays.
    pl/sql apis are exposed as web services.
    When I create web service proxy, all required pojo classes are created from wsdl on client side.
    Currently we are also writting client part of the code(where we also have oracle database and we want to reuse server pojos). Server pojo classes are in separate jar file and used also on a client side.
    Is it possible to tell jdeveloper when creating web service proxy, to not create client side pojos, exception classes, ... , but use those from jar file.
    Currently I just copy server pojo over generated client ones, make some modifications and it works. But each time I regenerate web service proxy I have to do this step manually.
    Edited by: zgrega on Sep 24, 2010 7:43 AM
    Edited by: zgrega on Sep 24, 2010 7:47 AM

    best is to wrap the generated WS proxy in a JavaBean. This way you can create the exception handling once and apply it to all uses of the WS proxy by overriding the generated code
    Frank

  • OER: Generate Web Service Proxy REX in JDeveloper

    Hi,
    I want to generate a Web Service Proxy for REX (OER version 11.1.1.5.0) using JDeveloper 11.1.1.5.0. I am using JAX-RPC Weblogic Style. When I start the Web Service Proxy Generator it fails with the following error:
    "The WSDL document contains the following errors:
    Operation "assetTypeTabsRead" and "assetTabApprove" have conflicting SOAPAction avlues. Do not overload any operation or given unique SOAPAction value to each operation binding.
    And many more (42481) ...."
    I am looking for the correct way to generate a Service Proxy foor REX and JDeveloper. Any help is appreciated.
    Best regards,
    Sjoerd
    Edited by: Sjoerd Aalbers on Dec 11, 2011 2:18 PM

    'Generate Web Service Stub/Skeleton' option in 10.1.2, was replaced by 'Generate Web Service Proxy' in 10.1.3

  • Web service proxy take ~4 minutes to detect connection problem in AIX!

    Dear All,
    i am developing a client application that consume web service , by jdeveloper 10.1.3.1.
    i found a problem, in AIX, that the web service proxy generated by jdeveloper take long time
    to detect connection problem to the server (e.g. server is down, network down, invalid
    ip address or port supplied).
    in ms window, if the proxy can't reach the server, it throw exception within seconds.
    but in ibm AIX, it take about 4 minutes !!! the time is too long until the exception is thrown.
    could anybody help me?
    is there something i can set to greatly shorten the hanging time when connection
    problem?
    thank you.

    nobody experience this problem?

  • Cant connect to web services/proxy

    Cant connect to web services/proxy not used for officejet pro 8600 plus using verizon fios actiontec router.  Tried wireless and ethernet.  Connectivity looks good.
    This question was solved.
    View Solution.

    Resolved myself.  Problem resides in Port forwarding blocked by another verizonwebcamera application.

  • Error when generating Web Services Proxy for SCA Application Module

    Hello,
    I'm trying to create Web Services for a simple Application Module with JDeveloper 11g (11.1.1.3.0).
    I start a new ADF Project, I create an Application Module as simple as possible : it contains only a simple View Object on the DEPT Entity.
    On my Application Module, I choose "Service Interface" and I add my View Object in the service interface.
    I test my Web Service in the Embedded Weblogic Server, it works well. (I succeed in using the Get operation, for example).
    But when I try to generate a Web Service proxy (right-click on the WSDL File -> Generate Web Service Proxy), It always fail with such errors :
    oracle.jdeveloper.webservices.tools.WsdlValidationException: Error creating model from wsdl "file:/C:/JDeveloper/mywork/ApplicationAppelServiceSCA/Model/src/model/common/AppModuleService.wsdl": 'unset' is already defined'Bytes' is already defined'ref' is already defined'Duration' is already defined'Types' is already defined'Character' is already defined'type' is already defined'Day' is already defined'nestedInterfaces' is already defined'Date' is already defined'datagraph' is already defined'Type' is already defined'Integer' is already defined'ModelsType' is already defined'ChangeSummaryType' is already defined'instanceClass' is already defined'Month' is already defined'DataObject' is already defined'javaClass' is already defined'LongObject' is already defined'DateTime' is already defined'dataObject' is already defined'YearMonth' is already defined'ShortObject' is already defined'Long' is already defined'types' is already defined'JavaInfo' is already defined'IntObject' is already defined'Boolean' is already defined'DoubleObject' is already defi...
    Can someone help me to understand this error ?
    i never manually edited the WSDL File, so I don't understand why the generated WSDL or XSD files might contain errors.
    Thanks for your Help,
    Laurent

    We have the same problem, and the problem was in the xsd import:
    The wdsl import a schema that import other schema, the second import use a relative path, that was wrong.
    So check the xsd import sequence....

  • Web Service Proxy error: "No operation found using soap keys"

    I'm trying to use the new tools, and having a little trouble. Not many results when searching for this error message.
    I have developed and deployed a new Java web service proxy using the outside-in approach according to the [help docs|http://help.sap.com/saphelp_nwpi71/helpdata/EN/46/7f2fef88190ad3e10000000a11466f/frameset.htm] (PI 7.1 SP07, NWDS 7.1 CE SP09 PAT0000). Started with a Service interface in ESR, then generated a java bean skeleton into a new EJB project in NWDS, then wrote business logic and deployed.
    When I test the web service (with 3 different SOAP test clients) I get the same error, below:
         <faultstring>com.sap.engine.services.webservices.espbase.server.additions.exceptions.ProcessException:
    No operation found using soap keys [], [spmat_jdbc_receiver_proxy]. InterfaceMapping Object class:
    com.sap.engine.services.webservices.espbase.mappings.InterfaceMapping mappings: {BindingQName=
    {urn:nexeninc:pi:ll:spmat:100}SI_I_Sync_SPMAT_JDBC_Receiver_ProxyBinding, BindingType=Soap, PortTypeQName=
    {urn:nexeninc:pi:ll:spmat:100}SI_I_Sync_SPMAT_JDBC_Receiver_Proxy, JAXWSInterface=true, InterfaceMappingID=-
    27e4d529:127632b5c52:-7ebb}.</faultstring>
    My service endpoint interface looks like this (unimportant lines removed):
    package nexeninc.pi.ll.spmat._100;
    @javax.jws.WebService(name = "SI_I_Sync_SPMAT_JDBC_Receiver_Proxy", targetNamespace = "urn:nexeninc:pi:ll:spmat:100")
    @javax.jws.soap.SOAPBinding(parameterStyle = javax.jws.soap.SOAPBinding.ParameterStyle.BARE, style = javax.jws.soap.SOAPBinding.Style.DOCUMENT, use = javax.jws.soap.SOAPBinding.Use.LITERAL)
    public interface SIISyncSPMATJDBCReceiverProxy {
      @javax.jws.WebMethod(operationName = "SI_I_Sync_SPMAT_JDBC_Receiver_Proxy", action = "http://sap.com/xi/WebService/soap1.1")
      @javax.jws.WebResult(name = "spmat_jdbc_receiver_proxy_response", targetNamespace = "", partName = "spmat_jdbc_receiver_proxy_response")
      public generated.SpmatJdbcReceiverProxyResponse siISyncSPMATJDBCReceiverProxy(@javax.jws.WebParam(name = "spmat_jdbc_receiver_proxy", targetNamespace = "", partName = "spmat_jdbc_receiver_proxy") generated.SpmatJdbcReceiverProxy spmat_jdbc_receiver_proxy);

    (continued from above post)
    And my implementation bean looks like this (unimportant lines removed):
    package nexeninc.pi.ll.spmat._100;
    @SessionHandlingDT(enableSession = false)
    @AuthenticationDT(authenticationLevel = AuthenticationEnumsAuthenticationLevel.BASIC)
    @TransportGuaranteeDT(level = TransportGuaranteeEnumsLevel.NONE)
    @WebService(serviceName = "SI_I_Sync_SPMAT_JDBC_Receiver_Proxy_Service", portName
    = "SI_I_Sync_SPMAT_JDBC_Receiver_Proxy_Port", endpointInterface
    = "nexeninc.pi.ll.spmat._100.SIISyncSPMATJDBCReceiverProxy", targetNamespace = "urn:nexeninc:pi:ll:spmat:100", wsdlLocation
    = "META-
    INF/wsdl/nexeninc/pi/ll/spmat/_100/SI_I_Sync_SPMAT_JDBC_Receiver_Proxy/SI_I_Sync_SPMAT_JDBC_Receiver_Proxy.wsdl")
    @Stateless
    public class SIISyncSPMATJDBCReceiverProxyImplBean {
         @RelMessagingNW05DTOperation(enableWSRM = false)
         public generated.SpmatJdbcReceiverProxyResponse siISyncSPMATJDBCReceiverProxy(
                   generated.SpmatJdbcReceiverProxy spmat_jdbc_receiver_proxy) {
              System.out.println("Starting siISyncSPMATJDBCReceiverProxy.");
    When we first created the new endpoint in NWA, we tried asigning a new name for both "Service Endpoint Name" and "In New Service", and we received this error.
    We then deleted the endpoint and created another new one, setting "Service Endpoint Name" to match the portName in the implementation bean: "SI_I_Sync_SPMAT_JDBC_Receiver_Proxy_Port", but that didn't work either. The only option we enabled in the endpoint was HTTP authentication: User ID/Password.
    My ejb-j2ee-engine.xml and application-j2ee-engine.xml are both empty (but they exist).
    I am new to EJBs and JAX-WS so hopefully it's something simple. All help appreciated!
    Apologies for the long (and wide) post.
    - Rob

  • JAAS Login Module using Deployable Web Service proxy

    Hi,
    We've created a JAAS Login Module that calls a deployable web service proxy to validate users on Netweaver Portal 2004 SP19. To do this the following steps were taken:
    1) created a deployable web proxy named 'SGU_proxy' and uploaded it to server. This project created 2 files: 'SGU_proxy.ear' (the one uploaded) and 'SGU_proxyClientAPI.jar'.
    2) created a Java project named 'AgregacaoLoginModule' with a single class to authenticate users, this is the class that calls the web service with the username and password. This project references the deployable web proxy project (Properties > Java Build Path > Projects > checkbox marked next to project SGU_proxy).
    3) exported the Java project class, not including the 'SGU_proxyClientAPI.jar'.
    4) created a 'J2EE Server Component' > 'Library' project named 'AgregacaoLoginModuleJ2EE'.
    On the 'provider.xml' file added 2 jars: 'AgregacaoLoginModule.jar' and 'SGU_proxyClientAPI.jar'. References were made to the standard portal libraries. No references were made to the proxy 'SGU_proxy' or the 'AgregacaoLoginModule' project.
    The library was uploaded to the server, everything was ok and no errors were reported.
    The login module was configured on the server and is called when users try to acess Portal server.
    The problem is that when trying to authenticate users: after getting a reference to the proxy using jndi I get a ClassCastException. Note that this proxy is used in a WebDyn Pro application and is working fine.
    The web service client proxy generated the interface 'pt.agregacao.ws.sgu.Servicos' and from jndi I get 'class pt.agregacao.ws.sgu.ServicosImpl'. So this seems to be ok, why the exception?
    Is it necessary to had a reference to 'SGU_proxy' on the 'AgregacaoLoginModuleJ2EE' project? If so, how?
    Thanks in advance.
    Alvaro

    Hi,
    We've created a JAAS Login Module that calls a deployable web service proxy to validate users on Netweaver Portal 2004 SP19. To do this the following steps were taken:
    1) created a deployable web proxy named 'SGU_proxy' and uploaded it to server. This project created 2 files: 'SGU_proxy.ear' (the one uploaded) and 'SGU_proxyClientAPI.jar'.
    2) created a Java project named 'AgregacaoLoginModule' with a single class to authenticate users, this is the class that calls the web service with the username and password. This project references the deployable web proxy project (Properties > Java Build Path > Projects > checkbox marked next to project SGU_proxy).
    3) exported the Java project class, not including the 'SGU_proxyClientAPI.jar'.
    4) created a 'J2EE Server Component' > 'Library' project named 'AgregacaoLoginModuleJ2EE'.
    On the 'provider.xml' file added 2 jars: 'AgregacaoLoginModule.jar' and 'SGU_proxyClientAPI.jar'. References were made to the standard portal libraries. No references were made to the proxy 'SGU_proxy' or the 'AgregacaoLoginModule' project.
    The library was uploaded to the server, everything was ok and no errors were reported.
    The login module was configured on the server and is called when users try to acess Portal server.
    The problem is that when trying to authenticate users: after getting a reference to the proxy using jndi I get a ClassCastException. Note that this proxy is used in a WebDyn Pro application and is working fine.
    The web service client proxy generated the interface 'pt.agregacao.ws.sgu.Servicos' and from jndi I get 'class pt.agregacao.ws.sgu.ServicosImpl'. So this seems to be ok, why the exception?
    Is it necessary to had a reference to 'SGU_proxy' on the 'AgregacaoLoginModuleJ2EE' project? If so, how?
    Thanks in advance.
    Alvaro

  • Files generated by Web Service Proxy give errors for complex input types

    Hi ,
    I generated a Java Web Service Proxy using a WSDL file.
    The input params are of this fashion -
    1) Object 1 have 3 attributes
    2) Object 2 having nested Object 2 (yes , again) which has a nested attribute which needs to be passed say Param 1.
    When I generate the proxy classes ... Param 1 is referred to as private Object2.Object2 param1 which gives error for the data types.
    How can we resolve this .. what should be the correct data type representation for param 1 ?
    Thanks

    Issue was resolved . Details here - 11g PS2 - WebServiceProxy Class give errors for complex input types

  • How to generate a Web Service Proxy for an ESB Routing Service?

    Hi,
    I have a SOAP service behind an ESB Routing Service. I am aware that i can call this ESB Service at the SOAP endpoint which can be found at the ESB Console after registration.
    But, i want to invoke this service using a Web Service Proxy. My understanding is that, i need to use the WSDL generated for the ESB Routing Service to generate the proxy. The WSDL which can be seen in JDeveloper does not have any soap bindings and hence the tool does not allow me to generate any proxy.
    Also, the two WSDLs whose URLs can be found at the ESB Console do not have the soap endpoint properties.
    Can someone help me out on the same?
    Thanks and regards,
    Priya.

    Priya,
    Just take the SOAP endpoint and suffix it with a ?wsdl
    Even the Concrete WSDL endpoint should be having a SOAP endpoint.
    HTH
    Uday

  • Pros & Cons for consuming web services in ABAP using ABAP PROXY

    Hi,
    Other then performence  is there any other disadvantages like security,etc for consuming web services in ABAP using ABAP proxy?
    I really appreciate if some one provide the more details(Pros & Cons ) regarding cosuming web services and I also want to know is there any other way to consume web services in ABAP.
    Thanks.

    <i> is there any other way to consume web services in ABAP</i>
    you can use cl_http_client class to make your program to act as http client and post the soap message too webservice. This way you dont need to generate proxy, but you should know the soap message format.
    Regards
    Raja

  • Adding security to a web service then generating a proxy [SOLVED]

    Hi
    I generated a web service based on a very simple java program. I have deployed it to a local oc4j install and successfully called it from a proxy generated from jdev. I am using 10.1.3.3.0.
    I added security to the web service and regenerated the proxy. I wanted to see the difference in the SOAP messages sent to the web service. However the proxy does not seem to have changed to take account of the new security settings on the web service.
    The security options I set were:
    On main security dialog: Ticked the port and "Text Password"
    On Authentication: Ticked "Expect Username ti Authenticate"
    "Password Required"
    Password Type = "Plain Text"
    "Nonce Required in Token"
    "Creation Time Required in Token"
    I have 2 questions:
    1. How do I get the proxy to send SOAP messages that contain the security headers required to run the web service. Here is the main method from my proxy. I thought adding setUsername and setPassword would be the solution
        public static void main(String[] args) {
            try {
                gpn3.Getphonenum3SoapHttpPortClient myPort = new gpn3.Getphonenum3SoapHttpPortClient();
                System.out.println("calling " + myPort.getEndpoint());
                // Add your own code here
                myPort.setUsername("oc4jadmin");
                myPort.setPassword("welcome");           
                myPort.getNum("Lisa");
            } catch (Exception ex) {
                ex.printStackTrace();
    2. When the web service receives a user name and password what does it check them against? I assume the oc4jadmin user will be allowed access but how do I set up other users?
    many thanks
    paul schweiger
    Message was edited by:
    [email protected]

    I have figured this out now
    1. I needed to set the same security settings in my proxy as I did for my web service. I had assumed that the proxy would generate the necessary security settings from the web service.
    2. For some reason my web service application is using the system level jazn-data xml file
    oc4j_extended_101330/j2ee/home/config/system-jazn-data.xml
    This does include the oc4jadmin user and I am now able to use that account to call the web service. I also managed to add another user and use that account to call the web service successfully.
    Thanks for the help
    paul

  • Can I  load Java classes generated by the Web Service Proxy Wizard?

    Hi gurus,
    I am very new to Oracle JDeveloper and I have mainly used it to create and debug PL/SQL procedures. My client app is written in PowerBuilder 11 (Sybase), which claims that it will create a datawindow from a web service. Well, it turned out that PB can only handle simple stuff (it works with a very simple wsdl from the internet) but can't handle more complex ones that we need to use. So I am thinking about using JDev to create the web service proxy for the web service and then load it into Oracle as a Java stored procedure so that PowerBuilder can call the procedure. JDev succsfully generated the proxy and a few Java classes. My question is, do I need to load all the classes into the database? If yes, will the reference to the package work? For example, in a JDev generated class (the soap client class), it has package MyJdev.proxy; at the top. Or, will it work if I load all the classes included in package /MyJdev/proxy into the database?
    Thank you very much for any help.
    Ben

    Thanks again, Bruce.
    What I meant by SOAPElement is that one genereated Java class has this and this class also has the setter for this like this,
    public void setSelection(javax.xml.soap.SOAPElement selection) {
    this.selection = selection;
    And here is the whole class,
    public class CaseSearchByPartyRequest implements java.io.Serializable {
    protected java.lang.String schemaVersion;
    protected java.util.Calendar messageProducedDateTime;
    protected javax.xml.soap.SOAPElement selection;
    protected Restriction restriction;
    public CaseSearchByPartyRequest() {
    public java.lang.String getSchemaVersion() {
    return schemaVersion;
    public void setSchemaVersion(java.lang.String schemaVersion) {
    this.schemaVersion = schemaVersion;
    public java.util.Calendar getMessageProducedDateTime() {
    return messageProducedDateTime;
    public void setMessageProducedDateTime(java.util.Calendar messageProducedDateTime) {
    this.messageProducedDateTime = messageProducedDateTime;
    public javax.xml.soap.SOAPElement getSelection() {
    return selection;
    public void setSelection(javax.xml.soap.SOAPElement selection) {
    this.selection = selection;
    public Restriction getRestriction() {
    return restriction;
    public void setRestriction(Restriction restriction) {
    this.restriction = restriction;
    this.selection is the request that I think I need. And here is the static main method of the soap client class genereated.
    public static void main(String[] args) {
    try {
    MyJdev.proxy.SoapClient myPort = new MyJdev.proxy.SoapClient();
    System.out.println("calling " + myPort.getEndpoint());
    // Add your own code here
    } catch (Exception ex) {
    ex.printStackTrace();
    So, if I need to send the request to the web service, do I need to create the request, correct? I have done it through AQ and Messaging Gateway and works fine by manually creating the request xml in PL/SQL, but now I need to get it to work sychronously from the UI. I believe that I need the request (SOAPElement) because that is the only way that I can supply the parameters. I have not see any setters for the parameters other than some setters for user name and password.
    Did I get something wrong here? If I don't supply the "selection", will JDev do it?
    Thanks.
    Ben

Maybe you are looking for

  • Function key problem on HP Pavilion after upgrade to Windows 8

    HP Pavilion Dv7 / Windows 8 pro 64 bits  Since I upgrade from Windows some Function keys are no more running  F1 Help  is running F2 ??? F3  www is still running F4  ??? F5 is running F6 ??? F7 Brightness --- NOT running F8 Brightness ++ NOT running

  • Bapi for creation of employee(pernr)?

    Hi, Is there any Bapi with which we can create an employee(Pernr)? I need to call this BAPI from .net connecctor. We have BAPI_APPLICANT_CREATE for applicant creation. Like this, do we have any thing for employee creation? Thanks in advance, RSS.

  • PSE 7 won't install on Win 7...msvcp71.dll missing?

    I just upgraded (Custom install) my XP laptop to Win 7 64bit and tried reinstalling PSE 7, but get a "program can't start because MSVCP71.dll is missing" . When I first got the error I called Dell and was able to replace the missing file from my SYST

  • How do I set ethernet speed to 100 Full?

    Right now we connect at 100 half duplex. I need to change our Mac lab to 100 full but I can't find how to do it. We are running Imac G5's with Tiger. Please help. Thanks in advance

  • Playing PC Games on Macbook Pro

    I love to play adventure games. I switched to a mac from a PC because of recommendations from friends. I was very precise in my questions in choosing the computer and software that would allow me to play pc games on a Mac computer. I have the Macbook