[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-7116) BPEL Editor not seeing message structure when imported into WSDL

Robert (Bob) Brodt (JIRA) jira-events at lists.jboss.org
Tue Sep 28 11:11:28 EDT 2010


    [ https://jira.jboss.org/browse/JBIDE-7116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12553710#action_12553710 ] 

Robert (Bob) Brodt commented on JBIDE-7116:
-------------------------------------------

Good news everyone! At least the phantom error messages problem can be easily reproduced:

1. import the project attached to this JIRA (PolicyQuoteProcessService.zip)
2. open PolicyQuoteProcess.bpel
3. from main menu click "Search->File" and enter "../schema" for the search text
4. in the Search results View, right-click and "Replace all..." and enter "schema" for the replacement text
5. voila!

There are 5 errors reported:

Description	Resource	Path	Location	Type
<bpel:receive> activity "ReceivePolicyQuote" specifies a portType "ors:PolicyQuoteProcessService", yet this portType does not match the portType derived from "myRole" of partnerLink "PolicyQuoteProcessService" defined in WSDL "platform:/resource/PolicyQuoteProcessService/bpelContent/PolicyQuoteProcessService1.wsdl"	PolicyQuoteProcess.bpel	/PolicyQuoteProcessService/bpelContent	line 55	BPEL Validation Marker
Referenced file contains errors (file:////home/bbrodt/eclipse-3.6-jboss/runtime-jboss-bpel-editor/org.sample.order/bpelContent/order.xsd).  For more information, right click on the message in the Problems View and select "Show Details..."	orderArtifacts.wsdl	/org.sample.order/bpelContent	line 1	WSDL Problem
The part 'payload' has an invalid value 'orderRequest' defined for its element. Element declarations must refer to valid values defined in a schema.	orderArtifacts.wsdl	/org.sample.order/bpelContent	line 32	WSDL Problem
The part 'payload' has an invalid value 'orderResponse' defined for its element. Element declarations must refer to valid values defined in a schema.	orderArtifacts.wsdl	/org.sample.order/bpelContent	line 36	WSDL Problem
variable "PolicyQuoteRequest" of type "<wsdl:message "receivePolicyQuoteRequest">" is not compatible with WSDL message "<wsdl:message "receivePolicyQuoteRequest">".	PolicyQuoteProcess.bpel	/PolicyQuoteProcessService/bpelContent	line 55	BPEL Validation Marker



> BPEL Editor not seeing message structure when imported into WSDL
> ----------------------------------------------------------------
>
>                 Key: JBIDE-7116
>                 URL: https://jira.jboss.org/browse/JBIDE-7116
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: bpel
>    Affects Versions: 3.2.0.M2
>         Environment: JBTools3.2Beta1 Eclipse 3.6 on Mac
>            Reporter: Jeff DeLong
>            Assignee: Robert (Bob) Brodt
>             Fix For: 3.2.0.Beta2
>
>         Attachments: PolicyQuoteProcessService.zip, Variables.tiff
>
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> I have a WSDL generated from Savara. It looks like this:
>  <wsdl:definitions name="PolicyQuoteProcessService" targetNamespace="http://www.pi4soa.org/PolicyQuote" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://www.pi4soa.org/PolicyQuote" xmlns:pcs="http://www.example.org/policyQuoteCalculationService" xmlns:pol="http://www.example.org/policyQuote" xmlns:pes="http://www.example.org/policyQuoteEntityService" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:cred="http://creditagency.com/creditCheck" xmlns:pps="http://www.example.org/policyQuoteProcessService" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:dmv="http://dmv.com/drivingRecord">
>     <types xmlns="http://schemas.xmlsoap.org/wsdl/">
>          <schema xmlns="http://www.w3.org/2001/XMLSchema">
>              <import namespace="http://www.example.org/policyQuote" schemaLocation="../schema/policyQuote.xsd"/>
>              <import namespace="http://creditagency.com/creditCheck" schemaLocation="../schema/creditCheck.xsd"/>
>              <import namespace="http://dmv.com/drivingRecord" schemaLocation="../schema/drivingRecord.xsd"/>
>          </schema>
>      </types>
>    <wsdl:message name="receivePolicyQuoteRequest">
>      <wsdl:part name="content" element="pol:policyQuote">
>      </wsdl:part>
>    </wsdl:message>
>  ...
> Where policyQuote schema is imported. When I create a Variable in the BPEL Editor, it does not see the structure of the message. This is a big problem, since with out the message details it is impossible to do Assign / Copy. I will attach the project.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list