Partner Link https (SSL) wsdl url

I'm getting an error in the "Create Partner Link" dialogue when specifying an https-based wsdl url. The non-ssl wsdl url works fine, but I need it to work for ssl (https). The specific errror reads:
Error:Failed to read wsdl file at "https://serverstuff/webservice.cfc?wsdl", caused by: javax.net.ssl.SSLHandshakeException. :sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
What do I need to do to get the https wsdl to validate? I'm using jDev 10.1.3.2. When I deploy the BPEL, will I need to do anything on the app server? I've seen a lot of similar questions on this forum with no definitive answers. Also, the BPEL dev guide does not address SSL.

Hi dharmendra,
Yeah I copied server certificate into the relevant folders. Do i copy the .cer file into that folder or place it another folder and copy the same to <ORACLE_SOA_HOME>/jdk/jre/lib/security folder?
My Jdev_JRE_HOME and ORACLE_SOA_HOME are pointing to the same jdk.
What do you mean by by importing the certificate to Oracle BPEL and Jdeveloper? Is it importing into 'cacert'? Yeah I did that too.
Actually in the blog the step for generating the SSL based axis webservice is just not quite informative,since following the steps I am not able to actually properly generate axis 2 SSL enabled webservice.That's Y i couldn't generate the server certificate properly. Can you give some more detailed steps for generating the SSL service?
Thanks.

Similar Messages

  • WCF service fronted with SSL enabled NGINX load balancer shows HTTP based WSDL url instead of HTTPS

    Hi,
    I have WCF service hosted using IIS 8.5 on application server. And application servers are fronted with NGINX load balancer with SSL enabled. Backend communication protocol between NGINX to application server is http. 
    When customer visits public domain url (https://xxx.com/service.svc), they can see the WSDL url with http://xxx.com/service.svc?wsdl. 
    What change should I make so that WSDL url will have https instead of http ? 
    This is service side configuration.
    <system.serviceModel>
        <services>
          <service name="Service.IService">
            <endpoint address="" binding="basicHttpBinding" bindingNamespace="http://xyz.com/Service" name="Service_Endpoint" contract="Service.IService" />
          </service>
        </services>
        <bindings>
          <basicHttpBinding />
        </bindings>
        <client />
        <behaviors>
          <serviceBehaviors>
            <behavior>
              <serviceThrottling maxConcurrentCalls="5000" maxConcurrentInstances="2147483647" maxConcurrentSessions="5000" />
              <serviceMetadata httpGetEnabled="true" />
              <serviceDebug includeExceptionDetailInFaults="true" />
            </behavior>
          </serviceBehaviors>
        </behaviors>
        <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
      </system.serviceModel>
    Thanks in advance !!

    Hi,
    For this scenario, you could just enable SSL in IIS to get HTTPS endpoints. If your service is exposed at https then you configure the same using “httpsGetEnabled”:
    <behaviors>
    <serviceBehaviors>
    <behavior
    name="MyServiceTypeBehaviors"
    >
    <serviceMetadata
    httpGetEnabled="true"
    />
         </behavior>
    </serviceBehaviors>
    </behaviors>
    For more information, you could refer to:
    http://www.codeproject.com/Articles/327260/What-s-new-in-WCF-Automatic-HTTPS-endpoint-for
    http://blogs.msdn.com/b/brajens/archive/2007/04/26/accessing-description-metadata-wsdl-of-wcf-web-service.aspx
    Regards

  • Error deploying composite projects with partner links in abstract wsdl

    Error while deployment of PartnerLinkCompositeError. The two composites have the same wsdl files, but PartnerLinkCompositeError composite projects has a perter link inside the wsdl.
    <partnerLinkType name="execute_ptt"
    xmlns="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
    <role name="execute_pttProvider">
    <portType name="tns:execute_ptt"/>
    </role>
    </partnerLinkType>
    The error during deployment
    [04:13:04 PM] Error deploying archive sca_PartnerLinkCompositeError_rev1.0.jar to partition "default" on server soa_server1 [http://158.166.229.41:8001]
    [04:13:04 PM] HTTP error code returned [500]
    [04:13:04 PM] Error message from server:
    There was an error deploying the composite on soa_server1: Deployment Failed: Unable to find a WSDL that has a definition for service {http://xmlns.oracle.com/EBS/PartnerLinkCompositeError/Mediator1}Mediator1_ep and port execute_pt. Please make sure that the port attribute for the binding defined in the composite file is correct by checking the namespace, service name, and port name. In addition, check that the WSDL associated with the binding namespace is imported and currently reachable (check the import nodes at the top of the composite file). Finally, validate the HTTP proxy settings for the server..
    [04:13:04 PM] Check server log for more details.
    [04:13:04 PM] Error deploying archive sca_PartnerLinkCompositeError_rev1.0.jar to partition "default" on server soa_server1 [http://158.166.229.41:8001]
    [04:13:04 PM] #### Deployment incomplete. ####
    [04:13:04 PM] Error deploying archive file:/D:/workspace/NIF2/PartnerLinkCompositeError/deploy/sca_PartnerLinkCompositeError_rev1.0.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)
    What can be the cause for this error?
    Projects for download
    http://www.4shared.com/zip/w5R5zp1G/PartnerLinkCompositeError.html
    http://www.4shared.com/zip/EM7butNF/PartnerLinkComposite.html

    During WSDL design for composite projects like BPM or SOA using JDeveloper WSDL designer or by hand, BE sure that the partner link namespace is in the root of the wsdl definition.
    <?xml version= '1.0' encoding= 'UTF-8' ?>
    <wsdl:definitions name="Service"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
    <wsdl:portType name="execute_ptt">
    </wsdl:portType>
    <wsdl:portType name="callback_ptt">
    </wsdl:portType>
    <plnk:partnerLinkType name="execute_ptt">
    <plnk:role name="execute_pttProvider">
    <plnk:portType name="tns:execute_ptt"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </wsdl:definitions>
    Example:
    WSDL that will deploy
    <?xml version= '1.0' encoding= 'UTF-8' ?>
    <wsdl:definitions name="Mediator1"
    targetNamespace="http://xmlns.oracle.com/EBS/PartnerLinkCompositeError/Mediator1"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:inp1="http://xmlns.oracle.com/singleString"
    xmlns:tns="http://xmlns.oracle.com/EBS/PartnerLinkCompositeError/Mediator1"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
    <wsdl:types>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:import namespace="http://xmlns.oracle.com/singleString"
    schemaLocation="xsd/singleString.xsd"/>
    </xsd:schema>
    </wsdl:types>
    <wsdl:message name="requestMessage">
    <wsdl:part name="request" element="inp1:singleString"/>
    </wsdl:message>
    <wsdl:message name="callbackMessage">
    <wsdl:part name="callback" element="inp1:singleString"/>
    </wsdl:message>
    <wsdl:portType name="execute_ptt">
    <wsdl:operation name="execute">
    <wsdl:input message="tns:requestMessage"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:portType name="callback_ptt">
    <wsdl:operation name="callback">
    <wsdl:input message="tns:callbackMessage"/>
    </wsdl:operation>
    </wsdl:portType>
    <plnk:partnerLinkType name="execute_ptt">
    <plnk:role name="execute_pttProvider">
    <plnk:portType name="tns:execute_ptt"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </wsdl:definitions>
    Seems that Oracle JDeveloper WSDL designer has contribution to this issue since when trying to add a partner link from
    http://www.4shared.com/photo/7D4D4Elx/wsdl_designer.html?
    it creates the wsdl with the following configuration.
    http://www.4shared.com/photo/zb907pXN/wsdl_designer_2.html?
    Maybe will be fixed in next versions of JDeveloper. Until then, use this work suggested around.

  • Getting an error in the "Partner Link" when specifying an https-base wsdl

    Hi friends,
    this is Hari. I'm getting an error in the "Create Partner Link" dialogue when specifying an https-based wsdl url. The non-ssl wsdl url works fine, but I need it to work for ssl (https). The specific errror reads:
    Error:Failed to read wsdl file at "https://serverstuff/webservice.cfc?wsdl", caused by: javax.net.ssl.SSLHandshakeException. :sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    i need to invoke secure service(https).what should i do for taht?
    Regards,
    hari

    http://orasoa.blogspot.com/2007/09/compile-error-bpel-against-ssl.html
    marc

  • Provide Webservice  link not generating corresponding WSDL URL based on the service operation.

    Hi All,
    The provide webservice link is not generating corresponding WSDL URL based on Service Operation.
    E.g. Currently we have two service operations namely Create and Update. We are using Rowset based messaging. Provide Webservice link generated correct WSDL URL for the create operation but it is providing the same URL for Update operation as well. kindly share your knowledge if you guys ever faced similar problem.
    Regards
    Viswa

    Hi Hakan,
    Thanks for your reply. Actually i am trying to generate WSDL URLs for each service operation for Travel & Expense module like create expense, update expense etc.
    URL generated looks like this : http://xxx.xx.xxx.xx:8011/PSIGW/PeopleSoftServiceListeningConnector/HX_TE_EXPENSE_CLAIM.16.wsdl - this url is meant for CREATE operation. But for the UPDATE operation i am getting the same URL . Normally, Whenever i create WSDL URL for different operation the numeric part of the above URL changes like 16, 17 etc ..based on the service operation but no two operation have same URL like i am getting now. Please provide your knowledge on this issue.
    Regards
    Viswa

  • Problem while creating partner link using https URL

    Hi,
    To create the partnerlink using https URL, I had done the following:
    -Imported the self signed certificate into the OraBPELPM_\jdk\jre\lib\security\cacert
    -Added following entries in OraBPELPM_1\integration\jdev\jdev\bin\jdev.conf
    AddVMOption -Djavax.net.ssl.keyStore=E:\OraBPELPM_1\jdk\jre\lib\security\cacert
    AddVMOption -Djavax.net.ssl.keyStorePassword=esbtest123
    I am not able to create partner link using URL https://localhost/orabpel/default/ErrorHandlerBPEL/1.0/ErrorHandlerBPEL?wsdl .
    Able to create partnerlink using same URL if I replace https with http.
    Did I miss any other configuration that needs to done to create partnerlink using https in JDeveloper BPEL Designer.
    Thanks,
    -Vidya

    Hi,
    I  too have the same issue. Appriciate if you share some knowledge on this issue.
    Thanks
    Aravinda

  • Partner Link URL/WSDL or Dynamic Partner link

    We are using a service similar to CreditRatingService in orderBooking Tutorial as a partner link.
    The partner has different test vs production service.
    I was wondering during deplyment on production is it possible to specify the URL in config file or do I have to change the designtime location in jdev and then deploy it in prod.
    Can experienced folks here point me to deployment best practices ?
    Part2 : Where does dynamic partner link fit in ?

    JDeveloper is using ANT and is using a properties file during the compilation. You can change the properties when you want to deploy.
    http://orasoa.blogspot.com/2006/08/using-ant-in-bpel-environment.html
    Dyn PL are usefully when you want to call multiple/various web services that all take the same payload, but are using different end-points and operation. This reduces the code to make for every interface an PL.

  • Dynamic partner link for http binding

    Hi all,
    I'm writing BPEL code to call a web service with dynamic partner link.
    I'm succesful in soap binding but fail in http binding, it does not run with new given address.
    Could you please help me to solve this problem? Is the trouble coming from http binding?
    This is the successful part:
    - BPEL code:
    <assign name="assign-Address">
    <copy>
    <from>
    <EndpointReference xmlns="http://schemas.xmlsoap.org/ws/2003/03/addressing">
    <Address>http://152.78.239.173/FusionWPS/Fusionservice.asmx</Address>
    </EndpointReference>
    </from>
    <to variable="partnerReference"/>
    </copy>
    <copy>
    <from variable="partnerReference"></from>
    <to partnerLink="WPS_Provider"></to>
    </copy>
    </assign>
    <invoke name="invoke-1" partnerLink="WPS_Provider" portType="nsxml0:FusionServiceSoap" operation="getCapabilities" inputVariable="getCapRequest" outputVariable="getCapResponse"/>
    - Binding and service:
    <wsdl:binding name="FusionServiceSoap" type="tns:FusionServiceSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="getCapabilities">
    <soap:operation soapAction="http://www.opengis.net/wps/getCapabilities" style="document" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="FusionService">
    <wsdl:port name="FusionServiceSoap" binding="tns:FusionServiceSoap">
    <soap:address location="http://1acb152.78.239.173/FusionWPS/Fusionservice1.asmx" />
    </wsdl:port>
    </wsdl:service>
    This is the unsuccessful part:
    - BPEL code:
    <assign name="assign-Address">
    <copy>
    <from>
    <EndpointReference xmlns="http://schemas.xmlsoap.org/ws/2003/03/addressing">
    <Address>http://153.96.8.132:80/52N-SOSv2-01-00/sos</Address>
    </EndpointReference>
    </from>
    <to variable="partnerReference"/>
    </copy>
    <copy>
    <from variable="partnerReference"></from>
    <to partnerLink="SOSProvider"></to>
    </copy>
    </assign>
    <invoke name="invoke-1" partnerLink="SOSProvider" portType="nsxml0:SOS" operation="GetObservation" inputVariable="getObservationREQ" outputVariable="getObservationRES"/>
    - Binding and service:
    <binding name="SOSBinding" type="tns:SOS">
    <operation name="GetObservation">
    <http:operation location=""/>
    <input>
    <mime:mimeXml part="parameters"/>
    <mime:content type="text/xml"/>
    </input>
    <output>
    <mime:mimeXml part="parameters"/>
    <mime:content type="text/xml"/>
    </output>
    </operation>
    </binding>
    <service name="SOS">
    <port name="SOS" binding="tns:SOSBinding">
    <http:address location="http://153.96.8.132:80/52N-SOSv2-01-00/sos1"/>
    </port>
    </service>
    Thanks for your help.
    An Le

    Dear all,
    Thanks for your pay attention on my question.
    I'm sorry, I have just taken my vacation, so I couldn't check your reply.
    c|3k: If the server is not available, it must be throw an error message. But in my case, it took the old address to run and give me a unexpected result.
    sashwat: I copied service name before, but it didn't work.
    But let me try again.
    Thank you all very much.
    An Le

  • Understanding wsdl file to be called from Partner link

    Hii All,
    I am trying to understand the wsdl file. This file is being called from a partner link. I have understood most of the part of it but could not understand the following:
    <jca:operation
    LogicalDirectory="inputTriggerDir"
    ActivationSpec="oracle.tip.adapter.file.inbound.FileActivationSpec"
    IncludeFiles=".*\.trg"
    PollingFrequency="10"
    MinimumAge="0"
    DeleteFile="true"
    OpaqueSchema="false" >
    </jca:operation>
    Would appreciate if you could please help to make me understand this part of wsdl file. I have noticed that if i change the value of LogicalDirectory parameter then the build does not deploy successfully. Somehow it is linked with the bpel.xml...Please suggest me how?
    Appreciate your help..
    Thanks,
    Regards,
    AS

    This is the operation that will be performed when a file is read.
    LogicalDirectory = This is the property you have specified to identify the directory to poll. This is best practice, if you do this then you need to specify a name in the bpel.xml file. This also means you can change the directory on the fly within the BPEL console. If you right-click on the recieve for the partner link there is a property tab add the property inputTriggerDir and give the value of the directory on the server.
    ActivationSpec = This is just a pointer to the java code, this is defaulted and should not be changed.
    IncludesFiles = in your case you are looking for files with the extension of .trg
    PollingFrequency = in your case 10 second interval
    MinimumAge = This allows you to put a buffer so if a file takes some time to load you can put a wait until you get the full file.
    DeleteFile = Once read it will delete
    OpaqueSchema = If true means that you have specified no schema and is read in as binary. This is used for pass through, what you read in is what comes out the other side. Manly used for pdf and images.
    cheers
    James

  • Should abstract wsdl services in oracle soa mds contain partner links ?

    Consider the following scenario:
    Service A has defined abstract definition and needs to be implemented as Mediator component. For this we deploy the abstract definition of Service A to MDS repository and create a mediator composite project which is also deployed to soa infra server.
    Services B and C are consumer processes which are developed as separate composites and they are clients to Service A. If B and C are implemented as BPEL processes, JDeveloper creates Service_A_Wrapper wsdl file in each of the composite projects.
    Is it preferable to add the partner link to the abstract definition wsdl of Service_A, since it only uses the definition of the port types only and the define the interfaces of the requester / callback dependency of two wsdl interfaces ?
    Thanks
    Edited by: pavle on 24-May-2012 05:24

    You might want to post this question on the SOA integration forum
    Applications Integration using Oracle Fusion Middleware
    Thanks
    JC

  • BPEL Designer doesn't delete the Partner Link wsdl properly

    Hi,
    In a development scenario; when a partnerlink is created and then deleted, the wsdl file is not deleted. Hence unable to create a new partnerlink with the same service name. Everytime I endup creating a new service name for the partnerlink pointing to the same DB procedure. This will also lead to the change in the other dependent activities like invoke, Assign etc. as the variable names would have changed. These things will make the developement lag behind the time.
    Why BPEL Designer doesn't do a clean delete of the all the entries in the xml files and the wsdl file?
    Thanks,
    Senthil L.

    Hi Senthil,
    When you delete the Partner Link it will pop a Dialog box asking if you want to delete the WSDL file associated with the Partner link and If you Click Yes then the associated WSDL with this Partner Link is Deleted.
    Only the XSD File generated with this partner link are not getting deleted which is being Fixed in the coming Release.
    Thanks,
    Sunil Gopal

  • How to manage multiple operation within the same partner link ?

    Hi,
    I have a partner link with 2 possible operations : "sayYes" and "sayNo".
    I want to do the following : if the operation is "sayYes", I return "YES", if it's "sayNo", I return "NO".
    (not really complex... in theory)
    In my WSDL file, I have the following :
         <message name="TestPickRequestYesMessage">
              <part name="payload" element="client:TestPickProcessYesRequest"/>
         </message>
    <message name="TestPickRequestNoMessage">
              <part name="payload" element="client:TestPickProcessNoRequest"/>
         </message>
         <message name="TestPickResponseMessage">
              <part name="payload" element="client:TestPickProcessResponse"/>
         </message>
         <portType name="TestPick">
              <operation name="sayYes">
                   <input message="client:TestPickRequestYesMessage" />
                   <output message="client:TestPickResponseMessage"/>
              </operation>
    <operation name="sayNo">
                   <input message="client:TestPickRequestNoMessage" />
                   <output message="client:TestPickResponseMessage"/>
              </operation>
         </portType>
    The returned value is in a string variable : "return_value".
    I've created a "pick" activity :
    <pick name="Pick_1" createInstance="yes">
    <onMessage portType="client:TestPick" operation="sayYes"
    variable="inputVariableYes" partnerLink="TestPick">
    <sequence name="Sequence_1">
    <assign name="setReturnYES">
    <copy>
    <from expression='"YES"'/>
    <to variable="return_value"/>
    </copy>
    <copy>
    <from variable="return_value"/>
    <to variable="outputVariable" part="payload"
    query="/client:TestPickProcessResponse/client:result"/>
    </copy>
    </assign>
    <reply name="replyOutputYES" partnerLink="TestPick"
    portType="client:TestPick" operation="sayYes"
    variable="outputVariable"/>
    </sequence>
    </onMessage>
    <onMessage portType="client:TestPick" operation="sayNo"
    variable="inputVariableNo" partnerLink="TestPick">
    <sequence name="Sequence_2">
    <assign name="setReturnNO">
    <copy>
    <from expression='"NO"'/>
    <to variable="return_value"/>
    </copy>
    <copy>
    <from variable="return_value"/>
    <to variable="outputVariable" part="payload"
    query="/client:TestPickProcessResponse/client:result"/>
    </copy>
    </assign>
    <reply name="replyOutputNO" partnerLink="TestPick"
    portType="client:TestPick" operation="sayNo"
    variable="outputVariable"/>
    </sequence>
    </onMessage>
    </pick>
    !http://www.monsterup.com/image.php?url=upload/1237201855.png!
    [http://www.monsterup.com/image.php?url=upload/1237201855.png]
    !http://www.monsterup.com/image.php?url=upload/1237201924.png!
    [http://www.monsterup.com/image.php?url=upload/1237201924.png]
    When I deploy and test this application, I have a huge problem : if a choose a "*sayNo*" message, my application do the following :
    The "pick" activity logs :
    <inputVariableYes>
    - <part name="payload" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    - <ns1:TestPickProcessNoRequest xmlns:ns1="http://xmlns.oracle.com/TestPick">
    <ns1:input>
    blabla
    </ns1:input>
    </ns1:TestPickProcessNoRequest>
    </part>
    </inputVariableYes>
    I have a right "*TestPickProcessNoRequest *" message type.
    BUT, the next activity is "setReturnYES", instead of "setReturnNO".
    !http://www.monsterup.com/image.php?url=upload/1237201958.png!
    [http://www.monsterup.com/image.php?url=upload/1237201958.png]
    Can anyone tell me where I'm wrong ?
    It looks like the "pick" activity always go with the first sequence...

    Hi PhunkyBob,
    I also had a hard time, finding out that the problem was with the BPEL console and not with my processes -.-
    Perhaps it's the Browser, I too use Firefox. Did not try it in IE yet.
    Here is the solution, try to switch to XML View and then change the Operation! (you will notice that it changes properly) Then you can either send it that way or return to HTML View.
    I have always to it that way,.. gets really annoying when I have to test a process many times :-/ ...change to xml, change operation, back to html, making entries, send...
    If someone has a solution, other than changing the Brwoser, please post :-)
    greetings,
    Michael

  • BPEL interface migration to 11g : EXception while reading partner links.

    Hi All,
    I am migrating 10g BPEL interfaces to 11g using Jdev 11.1.1.4 Jdeveloper.
    After migrating an interface having partnerlink in to 11.1.1.4 Jdev , if I try to open any partner link it causes error: Failed to read the WSDL or Http Connection Error code 407 in the partner links.
    If we try to open Invoke_variables it gives error like which could not work :
    "Exception while reading schema " or "Exception - Could not retrieve message parts ."
    Note : Those partner links are already deployed on server and at the moment of this error if I try to reach these PartnerLinks through browser i am able to reach.
    I had tried following ways to come over it :
    1. changing the URL to a valid IP Address and check if you still has the issues.
    2. Bu using Abstract wsdl's in place of concrete wsdl. Make a local copy of the wsdl file and try to import the wsdl into JDev.
    3. By unchecking the Proxy Server
    JDeveloper -> Tools -> Preferences -> Web Browser and Proxy -> Uncheck "Use HTTP Proxy Server"
    Is there any way to get over this issue?
    any suggestion regarding this will be so helpful !
    Thanks & Regards,
    Nupur

    Hi folks,
    is there any solution for this error ??
    WSDL which we are trying to load is in server in US , so is there any posiblity of this error due to network latency between
    laptop (client m/c running JDEV) and the server (hosting wsdl)?
    Thanks ,
    Nupur

  • HTTP Post WSDL in J2EE/HOME ?

    A customer created a BPEL process which has a partner-link defined for a WSDL located in the same directory as the project's bpel.xml file. The partner-link is to perform a http post using http binding. (basically the WSDL points to a deployed Servlet)
    When the process is initiated via the BPEL Console an error in the domain.log occurs stating that the WSDL cannot be found in j2ee/home.
    The customer can use "wsdlLocation" and "wsdlRuntimeLocation" in bpel.xml, to work past the error but why are we searching for the WSDL in j2ee/home ?
    The error:
    <summary>Failed to read wsdl. Error happened when reading wsdl at
    "HTTPPostService.wsdl", because "WSDLException: faultCode=PARSER_ERROR: Error
    reading file at: file:/D:/AS/ORA10122MID/j2ee/home/HTTPPostService.wsdl:
    D:\AS\ORA10122MID\j2ee\home\HTTPPostService.wsdl (The system cannot find the
    file specified)". Make sure wsdl exists at that URL and is valid. </summary>
    Thanks
    Michael.

    this sounds strange, and I never heard of it ..
    can you get us a step by step tutorial to see if our support can reproduce this ..
    which version are you using?
    thank you,

  • Invoking a web service with the WSDL URL given at run time

    I have created a very Simple Web Service using Netbeans 6.0 as an EJB Module. I have successfully created clients to access the web service, both through a Composite Application and through a simple Java Desktop Application, using the create "New Web Service Client" option, either by pointing to the EJB project either by providing the WSDL URL.
    What I want now, is for the Java Desktop application to be able to consume the service after it has discovered the WSDL URL at runtime (e.g. through UDDI).
    From what I have been able to find on the web, I should use the javax.xml.ws.Service class. But when I attempt to use the getPort method I get the exception:
    "com.sun.xml.ws.model.RuntimeModelerException: runtime modeler error: Wrapper class mypackagename.jaxws.MyWebServiceName is not found. Have you run APT to generate them?"
    Since I know that this class is not needed for the Web Service to be accessed, when the two procedures I describe above are used, I wonder what I can do to get this to work.
    I have tried using apt from the command line but it can't find Java EE classes, so it doesn't work.
    Nikos

    Hi Yarecki,
    I'm afraid I'm also a newbie, and I'm feeling my way around things.
    I have written some code. However, you should be warned that... it doesn't work!
            String wsdlLocation;//=...some URL...
            String input;//=...XML...either SOAP message either SOAP payload
         try{
             java.net.URL wsdlURL = new java.net.URL(wsdlLocation);
                //these should be extracted from the service WSDL document
                java.lang.String serviceName = "CalculationServiceService";
                java.lang.String portName = "CalculationServicePort";
                String namespace = "http://localhost:8080/CalculationServiceService";
                javax.xml.transform.Source inputSource = new javax.xml.transform.stream.StreamSource(new java.io.StringReader(input));
                javax.xml.namespace.QName serviceQName = new javax.xml.namespace.QName(namespace, serviceName);
                javax.xml.namespace.QName portQName = new javax.xml.namespace.QName(namespace, portName);
                javax.xml.ws.Service service = javax.xml.ws.Service.create(wsdlURL, serviceQName);           
                javax.xml.ws.Dispatch<javax.xml.transform.Source> dispatch =
                      service.createDispatch(portQName, javax.xml.transform.Source.class, javax.xml.ws.Service.Mode.MESSAGE);
           //javax.xml.ws.Dispatch<javax.xml.transform.Source> dispatch =
               //service.createDispatch(portQName, javax.xml.transform.Source.class, javax.xml.ws.Service.Mode.PAYLOAD);
    //alternative method, with different input
                javax.xml.transform.Source replySource = dispatch.invoke(inputSource);
                javax.xml.bind.JAXBContext jc = javax.xml.bind.JAXBContext.newInstance(nikos.test.CalculationResult.class);
                javax.xml.bind.Unmarshaller unm = jc.createUnmarshaller();
                nikos.test.CalculationResult result = (nikos.test.CalculationResult)unm.unmarshal(replySource);
                System.out.println(result.getResult());
            } catch (JAXBException ex) {
                JOptionPane.showMessageDialog(this, ex);
                ex.printStackTrace();
            } catch (MalformedURLException ex) {
                ex.printStackTrace();//this should not happen.
            }In fact I'm getting a weird error
    javax.xml.ws.soap.SOAPFaultException: java.lang.NullPointerException
            at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:187)
            at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:108)
            at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:187)
            at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:206)
         //lines from my source code are here
    Caused by: javax.xml.ws.WebServiceException: java.lang.NullPointerException
            at com.sun.enterprise.security.jmac.config.PipeHelper.makeFaultResponse(PipeHelper.java:328)
            at com.sun.enterprise.security.jmac.config.PipeHelper.getFaultResponse(PipeHelper.java:366)
            at com.sun.enterprise.webservice.CommonServerSecurityPipe.processRequest(CommonServerSecurityPipe.java:223)
            at com.sun.enterprise.webservice.CommonServerSecurityPipe.process(CommonServerSecurityPipe.java:129)
            at com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:115)
            at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:595)
            at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:554)
            at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:539)
            at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:436)
            at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:243)
            at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:444)
            at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244)
            at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:135)
            at com.sun.enterprise.webservice.Ejb3MessageDispatcher.handlePost(Ejb3MessageDispatcher.java:113)
            at com.sun.enterprise.webservice.Ejb3MessageDispatcher.invoke(Ejb3MessageDispatcher.java:87)
            at com.sun.enterprise.webservice.EjbWebServiceServlet.dispatchToEjbEndpoint(EjbWebServiceServlet.java:200)
            at com.sun.enterprise.webservice.EjbWebServiceServlet.service(EjbWebServiceServlet.java:129)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
            at com.sun.enterprise.web.AdHocContextValve.invoke(AdHocContextValve.java:114)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
            at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:87)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
            at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:270)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:339)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:261)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:212)
            at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
            at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    Caused by: java.lang.NullPointerException
            at com.sun.xml.ws.tx.service.TxServerPipe.process(TxServerPipe.java:163)
            at com.sun.enterprise.webservice.CommonServerSecurityPipe.processRequest(CommonServerSecurityPipe.java:218)
            ... 39 moreAs I've said before I've called this web service successfully using three different methods.
    It appears it has something to do with security issues, but I've no security at all...

Maybe you are looking for

  • How to create a project structure with the Business Bluprint transaction S

    Hi How to create a project structure and add the required scenarios for your SAP system to your project structure with the Business Bluprint transaction SOLAR01. Also how to add your SAP system configuration structures to your project structure with

  • Not working of music player pf nokia 3110classic

    i am not able to play my files in music player when ever  i start on the music player it just update the file and at the end of the updation it says no files found so can u plz help me out of the problem???? i am veery confused and not able to get an

  • Function module that has prgrp field in import

    Hi Could anyone please help me out in finding a function module or bapi that has prgrp-pgmi in import

  • Trouble with LaCie disk and time machine

    HI everyone, I've been having trouble with using time machine to back-up to my 1 TB LaCie drive (purchased 5/12, unfornuately I was dumb and didn't register the drive and no longer have the box with the serial number and there is no serial number on

  • Security issues on forms.

    I am new and in need of some assistance.  I got the Adobe 9 program to enable me to create forms not only for our website but for use internally for inter- office information and to send to customers.  Any computer that does not have the Adobe 9 prog