Torna indietro   Hardware Upgrade Forum > Software > Programmazione

BOOX Picco: l'ebook reader minuscolo è una genialata, e si può attaccare allo smartphone
BOOX Picco: l'ebook reader minuscolo è una genialata, e si può attaccare allo smartphone
BOOX ha portato sul mercato Picco, un e-reader da 3,97 pollici che pesa 58 grammi e si aggancia al retro dello smartphone con un anello magnetico. Lo abbiamo usato con Pixel 11 Pro XL e iPhone 18 Pro per capire se un formato così ridotto regga la prova della lettura quotidiana
AMD EPYC Venice: dentro Zen 6, i SoC a 256 core e la sfida al costo della memoria
AMD EPYC Venice: dentro Zen 6, i SoC a 256 core e la sfida al costo della memoria
A Las Vegas AMD ha svelato i dettagli architetturali delle CPU EPYC di sesta generazione, note con il nome in codice Venice. Nuovi core Zen 6 e Zen 6c costruiti a 2 nanometri, fino a 256 core per socket, 16 canali di memoria, interfaccia PCI Express 6.0 e un'intera famiglia di proposte che va da Venice SP7 a Verano. Senza dimenticare la memoria, oggi la voce di costo più pesante in un server: AMD risponde con CXL 3.1 e con la tecnologia software MEXT, che porta la memoria flash dentro la gerarchia della DRAM.
HONOR Pad X9 Max recensione, schermo ultra large a meno di 400 euro
HONOR Pad X9 Max recensione, schermo ultra large a meno di 400 euro
HONOR Pad X9 Max mette un pannello IPS da 13 pollici con risoluzione 2,5K e refresh a 120 Hz davanti a una batteria da 10.100 mAh e a quattro altoparlanti. Il listino parte da 399,90 euro, per un progetto molto chiaro e ambizioso: schermo ampio, buon audio e giornate lontano dalla presa, a un prezzo che non pesa sul portafoglio
Tutti gli articoli Tutte le news

Vai al Forum
Rispondi
 
Strumenti
Old 17-06-2011, 14:47   #1
Njk00
Senior Member
 
L'Avatar di Njk00
 
Iscritto dal: Sep 2006
Città: Rome
Messaggi: 781
Errore in processo BPEL

Salve,
ho il seguente processo bpel
Codice:
<?xml version="1.0" encoding="UTF-8"?>
<process name="ProviderABCSCAVS"
         targetNamespace="http://xmlns.oracle.com/ProviderABCSCAVS"
         xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
         xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
         xmlns:tns="urn:Receiver"
         xmlns:ns4="http://xmlns.oracle.com/EnterpriseServices/Core/Billing/V1"
         xmlns:xsd="http://www.w3.org/2001/XMLSchema"
         xmlns:ns5="urn:oasis:names:tc:xacml:2.0:context:schema:cd:04"
         xmlns:ora="http://schemas.oracle.com/xpath/extension"
         xmlns:ns9="http://xmlns.oracle.com/ProviderABCSCAVSRef"
         xmlns:ns1="http://xmlns.oracle.com/EnterpriseServices/Core/Billing/V1"
         xmlns:ns2="http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/FulfillmentOrder/V1"
         xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
         xmlns:ns10="urn:Receiver"
         xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
         xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing"
         xmlns:ns7="http://xmlns.oracle.com/EnterpriseServices/Core/CustomerParty/V2"
         xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
         xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
         xmlns:client="http://xmlns.oracle.com/ProviderABCSCAVS"
         xmlns:ns6="http://xmlns.oracle.com/ias/pcbpel/NotificationService"
         xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
         xmlns:ns11="urn:CAVS"
         xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
         xmlns:ehdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
         xmlns:ns3="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2"
         xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
         xmlns:sordabcs="http://xmlns.oracle.com/ProviderABCSCAVS"
         xmlns:ns8="http://xmlns.oracle.com/BRM/schemas/BusinessOpcodes"
         xmlns:urn="urn:Receiver">
 <!-- 
      ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        PARTNERLINKS                                                      
        List of services participating in this BPEL process               
      ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    -->
 <!-- 
      ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        VARIABLES                                                        
        List of messages and XML documents used within this BPEL process 
      ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    -->
 <partnerLinks>
  <partnerLink name="EBS_Sender" myRole="ReceiverPartenerLinkType_Role"
               partnerLinkType="urn:ReceiverPartenerLinkType"/>
  <partnerLink name="CAVS" partnerLinkType="ns11:CAVSType"
               myRole="InvokeCAVS_Role"/>
 </partnerLinks>
 <variables>
  <!-- Reference to the message passed as input during initiation -->
  <variable name="CommunicationsBillingInputVar"
            messageType="tns:ProcessFulfillmentOrderBillingEBM"/>
  <variable name="SyncCustomerPartyListReqMsg"
            messageType="tns:SyncCustomerPartyListEBM"/>
  <variable name="EndpointReference" element="wsa:EndpointReference"/>
 </variables>
 <!-- 
      ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
       ORCHESTRATION LOGIC                                               
       Set of activities coordinating the flow of messages across the    
       services integrated within this business process                  
      ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    -->
 <sequence name="main">
  <!-- Receive input from requestor. (Note: This maps to operation defined in ProviderABCSCAVS.wsdl) -->
  <pick name="Pick_1" createInstance="yes">
   <onMessage portType="tns:ReceivePortType"
              operation="CommunicationsBillingEBSV1"
              variable="CommunicationsBillingInputVar" partnerLink="EBS_Sender">
    <sequence name="Sequence_2">
     <scope name="Scope_1">
      <variables>
       <variable name="ServiceName" type="xsd:string"/>
       <variable name="TargetEndpointLocation" type="xsd:string"/>
      </variables>
      <sequence name="Sequence_3">
       <assign name="GetServiceName">
        <copy>
         <from expression="'{http://xmlns.oracle.com/ProviderABCSCAVS}ProviderABCSCAVS'"/>
         <to variable="ServiceName"/>
        </copy>
       </assign>
       <bpelx:exec name="GetTargetEndPointLocation" language="java"
                   version="1.5">
        <![CDATA[java.lang.String routeToCavsPropertyName = "Routing.CAVS.RouteToCAVS";      
                java.lang.String targetEndpointLocation = null;                     
                java.lang.String targetID = null;      
                java.lang.String serviceName = (java.lang.String)getVariableData("ServiceName");        
                java.lang.String cavsEndpointPropertyName ="Routing.CAVS.EndpointURI" ;     
                java.lang.String targetEndpointLocationBpelVariableName = "TargetEndpointLocation";   
                
                try
                {
                    java.lang.System.out.println("serviceName = " + serviceName);
                    java.lang.System.out.println("routeToCavsPropertyName = " + routeToCavsPropertyName);
                    boolean routeToCAVS = java.lang.Boolean.parseBoolean(oracle.apps.aia.core.config.Configuration.getServiceProperty(serviceName, routeToCavsPropertyName));      
                    //boolean routeToCAVS = true;
                    if(routeToCAVS)  
                    {   
                        targetEndpointLocation = oracle.apps.aia.core.config.Configuration.getServiceProperty(serviceName,cavsEndpointPropertyName);   
                        
                        setVariableData(targetEndpointLocationBpelVariableName, targetEndpointLocation);     
                    }
                }
                catch(oracle.apps.aia.core.config.PropertyNotFoundException e) 
                {     
                    java.lang.System.out.println("In catch block");
                }]]>
       </bpelx:exec>
       <assign name="AssignPartnerlinkEndpointReference">
        <copy>
         <from>
          <wsa:EndpointReference xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing">
           <wsa:Address/>
           <wsa:ServiceName xmlns:cavs="http://xmlns.oracle.com/ProviderABCSCAVS"/>
          </wsa:EndpointReference>
         </from>
         <to variable="EndpointReference"/>
        </copy>
        <copy>
         <from variable="TargetEndpointLocation"/>
         <to variable="EndpointReference"
             query="/wsa:EndpointReference/wsa:Address"/>
        </copy>
        <copy>
         <from expression="'cavs:CAVSAnyService'"/>
         <to variable="EndpointReference"/>
        </copy>
        <copy>
         <from variable="EndpointReference"/>
         <to partnerLink="CAVS"/>
        </copy>
       </assign>
      </sequence>
     </scope>
    </sequence>
   </onMessage>
  </pick>
 </sequence>
</process>
Dopo averlo deployato con successo attraverso la console di ORACLE EM 10g provo ad invocarlo tramite soapui; purtroppo il messaggio che ottengo è questo: Cannot find partnerLinkType 2.
PartnerLinkType "{urn:Receiver}ReceiverPartenerLinkType" is not found in WSDL at "file:/FS/oracle/product/soa/bpel/domains/default/tmp/.bpel_ProviderABCSCAVS_1.0_f6f47a5fe3fcc1b621c2de1b581b08df.tmp/_ProviderABCSCAVS.wsdl".
Please make sure the partnerLinkType is defined in the WSDL

Ma nel wsdl compare la definizione del partner link
Codice:
<definitions targetNamespace="urn:Receiver" 
xmlns="http://schemas.xmlsoap.org/wsdl/" 
xmlns:tns="urn:Receiver" 
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" 
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:sordebo="http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/FulfillmentOrder/V1"
xmlns:custebo="http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/CustomerParty/V2"
xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
>

<types>
          <xsd:schema>
            <xsd:import namespace="http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/FulfillmentOrder/V1"
                        schemaLocation="Blablabla/V1/FulfillmentOrderEBM.xsd"/>
            <xsd:import namespace="http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/CustomerParty/V2" 
                        schemaLocation="Blablabla/V2/CustomerPartyEBM.xsd" />
        </xsd:schema>
  </types>

  <message name="ProcessFulfillmentOrderBillingEBM">
    <part name="payload" element="sordebo:ProcessFulfillmentOrderBillingEBM"/>
  </message>

  <message name="SyncCustomerPartyListEBM">
    <part name="SyncCustomerPartyListEBM" element="custebo:SyncCustomerPartyListEBM"/>
  </message>

  <portType name="ReceivePortType">
    <operation name="CommunicationsBillingEBSV1">
      <input message="tns:ProcessFulfillmentOrderBillingEBM"/>
    </operation>
     <operation name="CommunicationsCustomerPartyEBSV2">
      <input message="tns:SyncCustomerPartyListEBM"/>
    </operation>
  </portType>

  <binding name="ReceiveSoapBinding" type="tns:ReceivePortType">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="CommunicationsBillingEBSV1">
      <soap:operation soapAction="http://example.com/CommunicationsBillingEBSV1"/>
      <input>
        <soap:body use="literal"/>
      </input>
    </operation>
    <operation name="CommunicationsCustomerPartyEBSV2">
      <soap:operation soapAction="http://example.com/CommunicationsCustomerPartyEBSV2"/>
      <input>
        <soap:body use="literal"/>
      </input>
    </operation>
  </binding>

  <service name="Receive">
    <documentation>Reciever service</documentation>
    <port name="ReceivePort" binding="tns:ReceiveSoapBinding">
      <soap:address location="http://example.com/Receive"/>
    </port>
  </service>

    <plnk:partnerLinkType name="ReceiverPartenerLinkType">
        <plnk:role name="ReceiverPartenerLinkType_Role">
            <plnk:portType name="tns:ReceivePort"/>
        </plnk:role>
    </plnk:partnerLinkType>

</definitions>
Qualcuno ha qualche idea?
__________________
My config: Intel i7-9700K CPU, 32GB RAM, NVIDIA GeForce FE 3080
My Steam profile: Njk00
Fondatore e amministratore del campionato online di F1 su PC https://f1abruzzoedintorni.files.wordpress.com/

Ultima modifica di Njk00 : 17-06-2011 alle 14:53.
Njk00 è offline   Rispondi citando il messaggio o parte di esso
Old 19-06-2011, 17:53   #2
Mixmar
Senior Member
 
L'Avatar di Mixmar
 
Iscritto dal: Feb 2002
Città: Trento
Messaggi: 962
Boh? Sembra un problema di namespace XML: prova a sostituire

Codice:
<plnk:partnerLinkType name="ReceiverPartenerLinkType">
con

Codice:
<plnk:partnerLinkType name="tns:ReceiverPartenerLinkType">
nel file WSDL.
__________________
"Et Eärallo Endorenna utúlien. Sinome maruvan ar Hildinyar tenn' Ambar-metta!" -- Aragorn Elessar, Heir of Isildur
Mixmar -- OpenSuSE 11.1 on AMD 64 3000+ on DFI LanParty nF4-D | GeForce 6600 GT + Thermaltake Schooner on Samsung 710N
Storage -- ( 2 x Hitachi Deskstar 80 Gb + 1 x Hitachi 250 Gb ) = 1 RAID 5 + 1 Storage space LaCie Ethernet Disk Mini 250 Gb | HP - DV2150 EL MILAN CLAN
Mixmar è offline   Rispondi citando il messaggio o parte di esso
 Rispondi


BOOX Picco: l'ebook reader minuscolo è una genialata, e si può attaccare allo smartphone BOOX Picco: l'ebook reader minuscolo è un...
AMD EPYC Venice: dentro Zen 6, i SoC a 256 core e la sfida al costo della memoria AMD EPYC Venice: dentro Zen 6, i SoC a 256 core ...
HONOR Pad X9 Max recensione, schermo ultra large a meno di 400 euro HONOR Pad X9 Max recensione, schermo ultra large...
Lenovo ThinkPad X1 Carbon Gen 14: il business ultraleggero si rinnova dall’interno Lenovo ThinkPad X1 Carbon Gen 14: il business ul...
Jabra Evolve3 85: le cuffie sia per l'intrattenimento che per il lavoro Jabra Evolve3 85: le cuffie sia per l'intratteni...
32GB di RAM DDR4 a un prezzo sorprendent...
La nuova lavagna interattiva di LG arriv...
Lo smartphone Samsung passa da 16:9 a 21...
OPPO Pad 5 Pro arriva in Italia: display...
80 TOPS in un palmo di mano: il nuovo Mi...
Motorola Razr Flex: il pieghevole che sf...
NVIDIA, Jensen Huang lascia dopo lo scan...
Honor 700 Pro con Snapdragon 8 Gen 5 e 1...
Dentro una macchina del caffè c'&...
Microsoft Classroom: compiti, voti e Cop...
Huawei LUTERRA S2: inverter, batteria e ...
Metalenz vuole eliminare il filtro Bayer...
Pronti per la stagione sciistica? HUAWEI...
Galaxy AI a pagamento: Samsung testa un ...
Blender 5.3 importa le scene Gaussian Sp...
Chromium
GPU-Z
OCCT
LibreOffice Portable
Opera One Portable
Opera One 106
CCleaner Portable
CCleaner Standard
Cpu-Z
Driver NVIDIA GeForce 546.65 WHQL
SmartFTP
Trillian
Google Chrome Portable
Google Chrome 120
VirtualBox
Tutti gli articoli Tutte le news Tutti i download

Strumenti

Regole
Non Puoi aprire nuove discussioni
Non Puoi rispondere ai messaggi
Non Puoi allegare file
Non Puoi modificare i tuoi messaggi

Il codice vB è On
Le Faccine sono On
Il codice [IMG] è On
Il codice HTML è Off
Vai al Forum


Tutti gli orari sono GMT +1. Ora sono le: 16:58.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Served by www3v