Abstract WSDL vs concrete WSDL
how can we say that WSDL is concrete or abstract?what is difference b/w both WSDLs?what is the purpose of concrete and abstract wsdl?
see :
http://blogs.oracle.com/aia/entry/aia_11g_best_practices_for_dec
http://docs.oracle.com/cd/E17904_01/doc.1111/e17364/bestpractices.htm#BABCGHEH
http://eai.ittoolbox.com/groups/technical-functional/tibco-l/abstractconcrete-wsdl-1091495
abstract wsdls can be used on designtime, so in that case the backend service don't have to be online to implement your process.
on runtime the concrete wsdl will be used to lookup for example the actual endpoint (service) and bindings
Similar Messages
-
How to Create Abstract WSDL from Concrete WSD
Hello Everyone,
I want to create abstract wsdl from concrete wsdl and place that abstract wsdl in the MDS Location. Now, In the composite i would be configuring the reference section where for ui:wsdlLocation value, i need to give the path of abstract wsdl in mds location. binding.ws location would be the actual concrete wsdl...So basically, all iwant to achieve is lets say CompositeA is calling CompositeB. I want to create abstract WSDL for CompositeB and keep that Abstract WSDL in MDS location, and use that ABstract WSDL which is in MDS location while configuring the Web Service Adapter in Composite A.
can anyone help me on this ,
Thanks in advanceHere is my concrete WSDL...
<wsdl:definitions name="BPELProcess3" targetNamespace="http://xmlns.oracle.com/Test_jws/simpleResponse/BPELProcess3">
<wsdl:documentation>
<abstractWSDL>http://192.168.1.106:8001/soa-infra/services/Enterprise/simpleResponse!1.0/BPELProcess3.wsdl</abstractWSDL>
</wsdl:documentation>
<plnk:partnerLinkType name="BPELProcess3">
<plnk:role name="BPELProcess3Provider">
<plnk:portType name="client:BPELProcess3"/>
</plnk:role>
</plnk:partnerLinkType>
<wsdl:types>
<schema>
<import namespace="http://xmlns.oracle.com/Test_jws/simpleResponse/BPELProcess3" schemaLocation="http://192.168.1.106:8001/soa-infra/services/Enterprise/simpleResponse/bpelprocess3_client_ep?XSD=xsd/BPELProcess3.xsd"/>
</schema>
</wsdl:types>
<wsdl:message name="BPELProcess3RequestMessage">
<wsdl:part name="payload" element="client:process"/>
</wsdl:message>
<wsdl:message name="BPELProcess3ResponseMessage">
<wsdl:part name="payload" element="client:processResponse"/>
</wsdl:message>
<wsdl:portType name="BPELProcess3">
<wsdl:operation name="process">
<wsdl:input message="client:BPELProcess3RequestMessage"/>
<wsdl:output message="client:BPELProcess3ResponseMessage"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="BPELProcess3Binding" type="client:BPELProcess3">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="process">
<soap:operation style="document" soapAction="process"/>
<wsdl:input>
<soap:body use="literal" namespace="http://xmlns.oracle.com/Test_jws/simpleResponse/BPELProcess3"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal" namespace="http://xmlns.oracle.com/Test_jws/simpleResponse/BPELProcess3"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="bpelprocess3_client_ep">
<wsdl:port name="BPELProcess3_pt" binding="client:BPELProcess3Binding">
<soap:address location="http://192.168.1.106:8001/soa-infra/services/Enterprise/simpleResponse/bpelprocess3_client_ep"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
So in order to create the abstract wsdl, i just need to remove the bindings tab from this one ? please let me on this,
Thanks. -
Duplicate error for Abstract WSDL and Concrete WSDL
Hi,
I am trying to consume a webservice from ABCS Provider.
Here is what I have done:
1. Loaded target webservice wsdl into MDS by removing it's wsdl:service element.
2. Created a composite with a partnerlink referring to MDS wsdl.
3. Added binding.ws location (with concrete wsdl url) and port.
But when I compile I am getting an error, seems it is conflicting with MDS wsdl and concrete:
Error(73): query "/ns1:createComplaint/arg0/instrumentInstallDate" is invalid, because Global Type declaration/definition of name '{http://tempuri.org/}createComplaintResponse' are duplicated at the following locations:
oramds:/apps/AIAMetaData/AIAComponents/ApplicationObjectLibrary/Agile/V1/wsdls/AgileComplaint_v1.wsdl [line#: 130]
http://172.25.86.11:8001/holxagileservice/AgileComplaintPort?xsd=1 [line#: 120]
There are at least two of them looking different:
oramds:/apps/AIAMetaData/AIAComponents/ApplicationObjectLibrary/Agile/V1/wsdls/AgileComplaint_v1.wsdl [difference starting at line#:132]
http://172.25.86.11:8001/holxagileservice/AgileComplaintPort?xsd=1 [difference starting at line#:122]
Global Type declaration/definition of name '{http://tempuri.org/}createComplaint' are duplicated at the following locations:
oramds:/apps/AIAMetaData/AIAComponents/ApplicationObjectLibrary/Agile/V1/wsdls/AgileComplaint_v1.wsdl [line#: 121]
http://172.25.86.11:8001/holxagileservice/AgileComplaintPort?xsd=1 [line#: 11]
There are at least two of them looking different:
oramds:/apps/AIAMetaData/AIAComponents/ApplicationObjectLibrary/Agile/V1/wsdls/AgileComplaint_v1.wsdl [difference starting at line#:123]
http://172.25.86.11:8001/holxagileservice/AgileComplaintPort?xsd=1 [difference starting at line#:13]
Global Type declaration/definition of name '{http://tempuri.org/}updateComplaint' are duplicated at the following locations:
oramds:/apps/AIAMetaData/AIAComponents/ApplicationObjectLibrary/Agile/V1/wsdls/AgileComplaint_v1.wsdl [line#: 136]
http://172.25.86.11:8001/holxagileservice/AgileComplaintPort?xsd=1 [line#: 134]
There are at least two of them looking different:
oramds:/apps/AIAMetaData/AIAComponents/ApplicationObjectLibrary/Agile/V1/wsdls/AgileComplaint_v1.wsdl [difference starting at line#:138]
http://172.25.86.11:8001/holxagileservice/AgileComplaintPort?xsd=1 [difference starting at line#:136]
Global Type declaration/definition of name '{http://tempuri.org/}updateComplaintResponse' are duplicated at the following locations:
oramds:/apps/AIAMetaData/AIAComponents/ApplicationObjectLibrary/Agile/V1/wsdls/AgileComplaint_v1.wsdl [line#: 145]
http://172.25.86.11:8001/holxagileservice/AgileComplaintPort?xsd=1 [line#: 143]
There are at least two of them looking different:
oramds:/apps/AIAMetaData/AIAComponents/ApplicationObjectLibrary/Agile/V1/wsdls/AgileComplaint_v1.wsdl [difference starting at line#:147]
http://172.25.86.11:8001/holxagileservice/AgileComplaintPort?xsd=1 [difference starting at line#:145]
Thanks
Saisee :
http://blogs.oracle.com/aia/entry/aia_11g_best_practices_for_dec
http://docs.oracle.com/cd/E17904_01/doc.1111/e17364/bestpractices.htm#BABCGHEH
http://eai.ittoolbox.com/groups/technical-functional/tibco-l/abstractconcrete-wsdl-1091495
abstract wsdls can be used on designtime, so in that case the backend service don't have to be online to implement your process.
on runtime the concrete wsdl will be used to lookup for example the actual endpoint (service) and bindings -
The deployment of a composite is failing with the following error:
There was an error deploying the composite on AdminServer: Deployment Failed: Unable to find a WSDL that has a definition for service {<namespace>}<ep> and <port>. 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
( I removed the service , ep and port values)
Only the wsdl it's referering to an abstract wsdl that is already in the project.
This is failing on my local server setup, I can deploy just fine on our development environment.
Anybody have any clue on why this error occurs in this situation?Made a mistake , I was using the concrete WSDL, so I'm getting the error when deploying with a concrete wsdl.
This post says to use a abstract wsdl to solve this:
http://blog.ipnweb.com/2011/01/unable-to-find-wsdl-that-has-definition.html -
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:24You might want to post this question on the SOA integration forum
Applications Integration using Oracle Fusion Middleware
Thanks
JC -
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.htmlDuring 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. -
Create Client Web Proxy Off of Concrete WSDL
We need to be able to create a Web Proxy off of our concrete WSDL that was created when we deployed our BPEL flow. And we're getting errors and people cannot create a client web proxy. I need help to figure out what's wrong with ours because we didn't create it (it was generated by the deploy process). We've created a BPEL flow that has an abstract WSDL. When we deploy to the integration server it creates the concrete WSDL on our server:
http://adc60117fems.us.oracle.com:7868/orabpel/default/ProcessGLAccountValidationRetailReqABCSImpl/1.0/ProcessGLAccountValidationRetailReqABCSImpl?wsdl
And it gives it an EndPoint location:
http://adc60117fems.us.oracle.com:7868/orabpel/default/ProcessGLAccountValidationRetailReqABCSImpl/1.0
Now in JDeveloper, if someone takes that WSDL file and right clicks on it selects "Validate WSDL", I get no errors. If you right click on that file and select "Generate Web Service Proxy" we get a "Validation Failed" error and no proxy is generated. We also get the following errors:
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}FaultType, unsupported type (U007-a): ht
tp://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:ImplementationCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/EBO/ChartOfAccounts/V1}SyncChartOfAccountsGLAccoun
tListResponseDataAreaType, unsupported type (U007-a): http://xmlns.oracle.com/En
terpriseObjects/Core/Common/V2:ActionCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}LanguageProficiencyType, unsupported typ
e (U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:ActionCodeT
ype
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/EBO/ChartOfAccounts/V1}ProcessGLAccountValidationD
ataAreaType, unsupported type (U007-a): http://xmlns.oracle.com/EnterpriseObject
s/Core/Common/V2:ResponseCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/EBO/ChartOfAccounts/V1}DeleteChartOfAccountsDataAr
eaType, unsupported type (U007-a): http://xmlns.oracle.com/EnterpriseObjects/Cor
e/Common/V2:ResponseCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/EBO/ChartOfAccounts/V1}CreateChartOfAccountsType,
unsupported type (U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common
/V2:ActionCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}ResponseCodeType, unsupported type (U007
-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:ResponseCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/EBO/ChartOfAccounts/V1}SyncChartOfAccountsGLAccoun
tListEBMType, unsupported type (U007-a): http://xmlns.oracle.com/EnterpriseObjec
ts/Core/Common/V2:ImplementationCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/EBO/ChartOfAccounts/V1}CreateChartOfAccountsListEB
MType, unsupported type (U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core
/Common/V2:ResponseCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}PartyType, unsupported type (U007-a): ht
tp://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:ActionCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}ImplementationCodeType, unsupported type
(U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:Implementati
onCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}ValueExpressionType, unsupported type (U
007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:QueryOperatorCo
deType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/EBO/ChartOfAccounts/V1}GLAccountValidationResponse
Type, unsupported type (U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/
Common/V2:ActionCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}EmploymentRecordType, unsupported type (
U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:ActionCodeType
[java] WARNING: exception occurred while processing type {http://www.oracle
.com/retail/integration/payload/RIBDate}RIBDate, model error: Unsupported schema
feature : "<xs:group ref="full-date" xmlns:xs="http://www.w3.org/2001/XMLSchema
"/>"
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}OrganizationFinancialProfileType, unsupp
orted type (U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:Ac
tionCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/EBO/ChartOfAccounts/V1}SyncChartOfAccountsGLAccoun
tListDataAreaType, unsupported type (U007-a): http://xmlns.oracle.com/Enterprise
Objects/Core/Common/V2:SyncActionCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}CitizenshipType, unsupported type (U007-
a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:ActionCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}PersonFinancialProfileType, unsupported
type (U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:ActionCo
deType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/EBO/ChartOfAccounts/V1}UpdateChartOfAccountsListDa
taAreaType, unsupported type (U007-a): http://xmlns.oracle.com/EnterpriseObjects
/Core/Common/V2:ResponseCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/EBO/ChartOfAccounts/V1}ProcessGLAccountValidationT
ype, unsupported type (U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/C
ommon/V2:ActionCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}PersonInterestType, unsupported type (U0
07-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:ActionCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/EBO/ChartOfAccounts/V1}GLElementType, unsupported
type (U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:ActionCo
deType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}ContactEmailCommunicationType, unsupport
ed type (U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:Actio
nCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/EBO/ChartOfAccounts/V1}ProcessGLAccountValidationR
esponseEBMType, unsupported type (U007-a): http://xmlns.oracle.com/EnterpriseObj
ects/Core/Common/V2:ActionCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}SortElementType, unsupported type (U007-
a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:SortDirectionCodeTy
pe
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}PersonCertificationType, unsupported typ
e (U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:ActionCodeT
ype
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}OrganizationFinancialStatementType, unsu
pported type (U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:
ActionCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}DebugLevelCodeType, unsupported type (U0
07-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:DebugLevelCodeTy
pe
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}ValidateType, unsupported type (U007-a):
http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:ResponseCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}PersonType, unsupported type (U007-a): h
ttp://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:ActionCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}SortDirectionCodeType, unsupported type
(U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:SortDirection
CodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}PaymentRemittanceCommunicationType, unsu
pported type (U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:
ActionCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}ContactAddressCommunicationType, unsuppo
rted type (U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:Act
ionCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}PaymentDebitCommunicationType, unsupport
ed type (U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:Actio
nCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}QueryOperatorCodeType, unsupported type
(U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:QueryOperator
CodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}ContactFaxCommunicationType, unsupported
type (U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:ActionC
odeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}SyncActionCodeType, unsupported type (U0
07-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:SyncActionCodeTy
pe
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}ActionCodeType, unsupported type (U007-a
): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:ActionCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}LogicalOperatorCodeType, unsupported typ
e (U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:LogicalOper
atorCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}OrganizationCreditRatingType, unsupporte
d type (U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:Action
CodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}PartyContactType, unsupported type (U007
-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:ActionCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}ContactPhoneCommunicationType, unsupport
ed type (U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:Actio
nCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}OrganizationType, unsupported type (U007
-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:ActionCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}FaultType, unsupported type (U007-a): ht
tp://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:ImplementationCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/EBO/ChartOfAccounts/V1}SyncChartOfAccountsGLAccoun
tListResponseDataAreaType, unsupported type (U007-a): http://xmlns.oracle.com/En
terpriseObjects/Core/Common/V2:ActionCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}LanguageProficiencyType, unsupported typ
e (U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:ActionCodeT
ype
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/EBO/ChartOfAccounts/V1}ProcessGLAccountValidationD
ataAreaType, unsupported type (U007-a): http://xmlns.oracle.com/EnterpriseObject
s/Core/Common/V2:ResponseCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/EBO/ChartOfAccounts/V1}DeleteChartOfAccountsDataAr
eaType, unsupported type (U007-a): http://xmlns.oracle.com/EnterpriseObjects/Cor
e/Common/V2:ResponseCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/EBO/ChartOfAccounts/V1}CreateChartOfAccountsType,
unsupported type (U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common
/V2:ActionCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}ResponseCodeType, unsupported type (U007
-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:ResponseCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/EBO/ChartOfAccounts/V1}SyncChartOfAccountsGLAccoun
tListEBMType, unsupported type (U007-a): http://xmlns.oracle.com/EnterpriseObjec
ts/Core/Common/V2:ImplementationCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/EBO/ChartOfAccounts/V1}CreateChartOfAccountsListEB
MType, unsupported type (U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core
/Common/V2:ResponseCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}PartyType, unsupported type (U007-a): ht
tp://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:ActionCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}ImplementationCodeType, unsupported type
(U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:Implementati
onCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}ValueExpressionType, unsupported type (U
007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:QueryOperatorCo
deType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/EBO/ChartOfAccounts/V1}GLAccountValidationResponse
Type, unsupported type (U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/
Common/V2:ActionCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}EmploymentRecordType, unsupported type (
U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:ActionCodeType
[java] WARNING: exception occurred while processing type {http://www.oracle
.com/retail/integration/payload/RIBDate}RIBDate, model error: Unsupported schema
feature : "<xs:group ref="full-date" xmlns:xs="http://www.w3.org/2001/XMLSchema
"/>"
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}OrganizationFinancialProfileType, unsupp
orted type (U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:Ac
tionCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/EBO/ChartOfAccounts/V1}SyncChartOfAccountsGLAccoun
tListDataAreaType, unsupported type (U007-a): http://xmlns.oracle.com/Enterprise
Objects/Core/Common/V2:SyncActionCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}CitizenshipType, unsupported type (U007-
a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:ActionCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}PersonFinancialProfileType, unsupported
type (U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:ActionCo
deType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/EBO/ChartOfAccounts/V1}UpdateChartOfAccountsListDa
taAreaType, unsupported type (U007-a): http://xmlns.oracle.com/EnterpriseObjects
/Core/Common/V2:ResponseCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/EBO/ChartOfAccounts/V1}ProcessGLAccountValidationT
ype, unsupported type (U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/C
ommon/V2:ActionCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}PersonInterestType, unsupported type (U0
07-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:ActionCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/EBO/ChartOfAccounts/V1}GLElementType, unsupported
type (U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:ActionCo
deType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}ContactEmailCommunicationType, unsupport
ed type (U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:Actio
nCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/EBO/ChartOfAccounts/V1}ProcessGLAccountValidationR
esponseEBMType, unsupported type (U007-a): http://xmlns.oracle.com/EnterpriseObj
ects/Core/Common/V2:ActionCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}SortElementType, unsupported type (U007-
a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:SortDirectionCodeTy
pe
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}PersonCertificationType, unsupported typ
e (U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:ActionCodeT
ype
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}OrganizationFinancialStatementType, unsu
pported type (U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:
ActionCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}DebugLevelCodeType, unsupported type (U0
07-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:DebugLevelCodeTy
pe
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}ValidateType, unsupported type (U007-a):
http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:ResponseCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}PersonType, unsupported type (U007-a): h
ttp://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:ActionCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}SortDirectionCodeType, unsupported type
(U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:SortDirection
CodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}PaymentRemittanceCommunicationType, unsu
pported type (U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:
ActionCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}ContactAddressCommunicationType, unsuppo
rted type (U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:Act
ionCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}PaymentDebitCommunicationType, unsupport
ed type (U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:Actio
nCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}QueryOperatorCodeType, unsupported type
(U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:QueryOperator
CodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}ContactFaxCommunicationType, unsupported
type (U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:ActionC
odeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}SyncActionCodeType, unsupported type (U0
07-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:SyncActionCodeTy
pe
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}ActionCodeType, unsupported type (U007-a
): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:ActionCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}LogicalOperatorCodeType, unsupported typ
e (U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:LogicalOper
atorCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}OrganizationCreditRatingType, unsupporte
d type (U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:Action
CodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}PartyContactType, unsupported type (U007
-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:ActionCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}ContactPhoneCommunicationType, unsupport
ed type (U007-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:Actio
nCodeType
[java] WARNING: exception occurred while processing type {http://xmlns.orac
le.com/EnterpriseObjects/Core/Common/V2}OrganizationType, unsupported type (U007
-a): http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2:ActionCodeType
[java] Error: generator error: java.util.NoSuchElementException
[java] No files writtenHi,
see http://www.oracle.com/technology/products/jdev/howtos/1013/wsadf/adfcomplexwstypes.html
Frank -
Populating abstract structures in the wsdl
Hi Experts,
Need your help in dealing with an abstract wsdl structure.
The scenario is a synchronous one and it is from CRM to legacy system via SAP-PO(7.4).
Some structures are created by extending to an abstract element called "Action" and I'm able to see those structures as well in the wsdl.
But I'm unable to see those structures in Message Mapping step as they are defined as abstract.
Legacy system wants those structures (which I cant see in MM) needs to be filled with appropriate data ELSE it would throw an exception.
I'm attaching here the MT that I created for CRM and the input request structure that is there in the wsdl.
Can you please let me know how to add xsi:type="sch:CreateAction" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" in the mapping step.
I tried changing the wsdl but unable to add the xsi:type in the wsdl structure.
Can some one help me out here.
Thanks,
PrajwalHi Prajwal,
If i understand correctly , WSDL (not exactly WSDL , but request copy from SOAP UI tool i guess ) you provided is receiver WSDL ? Correct ?
I think , you manually created the CRM MT ? why don't you use same External definition(provided by receiver systems) in both sender and receiver Message type?
Add a attribute <CreateAction> under <Action> element .
Please correct me , if get your requirement wrong.
Thanks
Hari. -
Consuming URL renames XSD and WSDL files in OSB
We try to define a proxy service in the OSB 11g by consuming an URL.
We have all our WSDLs, XSDs etc online available, that is references like import of include in a WSDL uses URLs to identify other WSDLs or XSDs. In fact a webservice has a concrete WSDL which imports an abstract WSDL. The abstract WSDL imports XSD's. The XSD's file can import another XSD's as well. It is more or less a tree structure of XML documents.
When we try to define a proxy or business service on the concrete WSDL in Eclipse by consuming the URL ending on ?wsdl, all meaningfull names of XSD's are replaced by generated names i.e. common.xsd becomes xml_1233.xsd. And all URL references are replaced by file references. The depencency tree is preserved, everthing is still valid however the names are no longer human readable.
Is there any way to preserve the filenames of XML documents?
With kinds regards,
JornicaHi Anuj,
I followed this link to create the MDS connection and local MDS repository, should I create an empty composite project and place the
zip file of my xsd's in this and bundle that in to an MAR file? Are there any documents that talks about MAR creation?
Thanks,
Jai. -
Significance of binding tag in WSDL file
Hi
I have written a simple WebService based on JAX -WS , with the help of Sun one Application server i generated a wsdl file for that .
By seeing the wsdl files i could not able to understand binding tag of my wsdl .
Could anyone please let me know what is the signifucance of this tag ??
The genrated one in my case is .
<binding name="CalculatorPortBinding" type="tns:Calculator">
</binding>Thank you .At a glance:
Wsdl has two parts: abstract (PortType) and Concrete (bindings)
The abstract part- tag <portType or tag (<interface since wsdl 2.0) is kind of interface i.e. describes available operations and their signature.
Obviously to invoke the web-service - we have to know protocol and address .
The wsdl concrete part desribes it.
Since there number protocols and almost every protocol can have number parameters then
wsdl concrete part consists of two parts:
<binding - describes protocol and defnes necessary protocol parameters
<service ...><port - defines concrete address and joins with binding (concrete protocol with parameters)
The most detailed answer you can find by reading wsdl spec :) -
What is the use of creating proxy services using WSDL.
Hi
Am a beginner in ALSB and i have a basic question. Business services are created using WSDL,thats sounds logical as we need to invoke the actual backend services .
Proxy services are connected to business services and what is the need that it can be e created using WSDL.
What is the use of creating proxy services using WSDL.Hi,
I beleive you are confused because of the apparent inclusion of transport information in WSDL (that is the host:port/endpoint where the service is hosted). However, if you refer to the w3c specification of WSDL1.0 ([url http://www.w3.org/TR/wsdl]www.w3.org/TR/wsdl), you will find that WSDL has three separate sections:
1. The schema information that describes data element(s): specified in types
2. The message information ie message and port sections that specify the parameters and the operations
3. The service section that specify the actual protocol and endpoint binding.
Ideally, a WSDL can be broken down into these three separate components. Any WSDL containing the first two is called an abstract WSDL and is used for a top-down approcah for web services, and if the third part is used, then you get a concrete WSDL, containing invocation end-point also.
Comming back to your question one can typically use an Abstract WSDL for creating proxy service. This way, the service requester and integration can go on two separate threads where the common denominator or agreement between these two parties in terms of operation name and data element are imposed using the WSDL.
Thanks and Regards
Vivek Nandey
BEA Certified Developer for Integration Solutions -
hi all
how to create WSDL in webservice model
Thanks
jayAbstract wsdl's are not supported in OSB. You will require atleast upto bindings section in the wsdl that needs to be used in osb. By'used' I mean wsdl's that can be associated to a wsdl based business or proxy service.
If you need to maintain abstract wsdl's, the best way is to define your message types and port types in an abstract wsdl and then import it into a concrete wsdl where you can add additional bindings and service tags. Use the concrete wsdl in the wsdl based proxy or business service. -
Netbeans creating wsdl file having message with more than one part...
Hi,
I am using netbeans 6.0.1. I made an xml schema, then I wanted to make an wsdl that uses that schema.
I wanted to put in a message more parts(3), and it would not let me. Then, i made the message with just one part, and added the other parts afterwards.
But now, when I try to make a web service from that wsdl, it says that there is no service in the specified wsdl file.
And if i let that message with just one part, it will make the Web Service.
here is the xml schema and the wsdl file:
XML Schema:
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://xml.netbeans.org/schema/Abruf38"
xmlns:tns="http://xml.netbeans.org/schema/Abruf38"
elementFormDefault="qualified">
<xsd:complexType name="FormRequest">
<xsd:sequence>
<xsd:element name="newRequest" type="xsd:boolean"/>
<xsd:element name="requestNumber" type="xsd:int"/>
<xsd:element name="vehicleClass" type="xsd:string"/>
<xsd:element name="vehiclesNumber" type="xsd:int"/>
<xsd:element name="prefferedType" type="xsd:string"/>
<xsd:element name="kombi" type="xsd:boolean"/>
<xsd:element name="usageMission" type="xsd:boolean"/>
<xsd:element name="usageEducation" type="xsd:boolean"/>
<xsd:element name="usageGeneral" type="xsd:boolean"/>
<xsd:element name="usageOthers" type="xsd:string"/>
<xsd:element name="eqVehicle" type="xsd:boolean"/>
<xsd:element name="eqDangerous" type="xsd:boolean"/>
<xsd:element name="eqPlaneSpriegel" type="xsd:boolean"/>
<xsd:element name="eqBegrstll" type="xsd:boolean"/>
<xsd:element name="eqMSitzBTruck" type="xsd:boolean"/>
<xsd:element name="eqVerzurrAusst" type="xsd:boolean"/>
<xsd:element name="eqOthers" type="xsd:string"/>
<xsd:element name="bringService" type="xsd:boolean"/>
<xsd:element name="holService" type="xsd:boolean"/>
<xsd:element name="chauffService" type="xsd:boolean"/>
<xsd:element name="otherService1" type="xsd:string"/>
<xsd:element name="otherService1Chk" type="xsd:boolean"/>
<xsd:element name="otherService2" type="xsd:string"/>
<xsd:element name="otherService2Chk" type="xsd:boolean"/>
<xsd:element name="otherService3" type="xsd:string"/>
<xsd:element name="otherService3Chk" type="xsd:boolean"/>
<xsd:element name="activity" type="xsd:string"/>
<xsd:element name="costPayer" type="xsd:string"/>
<xsd:element name="costCenter" type="xsd:string"/>
<xsd:element name="vehicleCost" type="xsd:float"/>
<xsd:element name="chauffServiceCost" type="xsd:float"/>
<xsd:element name="holBringServiceCost" type="xsd:float"/>
<xsd:element name="totalCost" type="xsd:float"/>
<xsd:element name="tripPurpose" type="xsd:string"/>
<xsd:element name="fixTermin" type="xsd:boolean"/>
<xsd:element name="justificationFix" type="xsd:string"/>
<xsd:element name="requestID" type="xsd:string"/>
<xsd:element name="rentalPeriod" type="tns:RentalPeriod"/>
<xsd:element name="carPool" type="tns:CarPool"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CarPool">
<xsd:sequence>
<xsd:element name="poolID" type="xsd:string"/>
<xsd:element name="poolName" type="xsd:string"/>
<xsd:element name="orgNumber" type="xsd:string"/>
<xsd:element name="vehicle" maxOccurs="unbounded" type="tns:Vehicle"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="RentalPeriod">
<xsd:sequence>
<xsd:element name="rentalPeriodID" type="xsd:string"/>
<xsd:element name="startDate" type="xsd:date"/>
<xsd:element name="endDate" type="xsd:date"/>
<xsd:element name="startTime" type="xsd:time"/>
<xsd:element name="endTime" type="xsd:time"/>
<xsd:element name="startLocation" type="xsd:string"/>
<xsd:element name="endLocation" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Vehicle">
<xsd:sequence>
<xsd:element name="vehicleID" type="xsd:string"/>
<xsd:element name="vehicleClass" type="xsd:string"/>
<xsd:element name="vehicleRegisterNo" type="xsd:int"/>
<xsd:element name="vehicleType" type="xsd:string"/>
<xsd:element name="seatsNumber" type="xsd:int"/>
<xsd:element name="cost" type="xsd:float"/>
<xsd:element name="available" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Contact">
<xsd:sequence>
<xsd:element name="contactID" type="xsd:string"/>
<xsd:element name="contactName" type="xsd:string"/>
<xsd:element name="telNumber" type="xsd:int"/>
<xsd:element name="faxNumber" type="xsd:int"/>
<xsd:element name="loNo" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Person">
<xsd:sequence>
<xsd:element name="personID"/>
<xsd:element name="department" type="xsd:string"/>
<xsd:element name="serviceNumber" type="xsd:int"/>
<xsd:element name="contact" type="tns:Contact"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Department">
<xsd:sequence>
<xsd:element name="departmentID" type="xsd:string"/>
<xsd:element name="fundsDepartment" type="xsd:string"/>
<xsd:element name="mvwdst" type="xsd:int"/>
<xsd:element name="distributionNumber" type="xsd:int"/>
<xsd:element name="contact" type="tns:Contact"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="formRequestElement" type="tns:FormRequest"/>
<xsd:element name="personElement" type="tns:Person"/>
<xsd:element name="departmentElement" type="tns:Department"/>
<xsd:element name="vehicle" type="tns:Vehicle"/>
<xsd:element name="loadFormReturn" type="xsd:boolean"/>
<xsd:element name="editFormReturn" type="xsd:boolean"/>
</xsd:schema>
Wsdl File:
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="userWS" targetNamespace="http://j2ee.netbeans.org/wsdl/userWS"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns="http://xml.netbeans.org/schema/Abruf38" xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:tns="http://j2ee.netbeans.org/wsdl/userWS" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
<types>
<xsd:schema targetNamespace="http://j2ee.netbeans.org/wsdl/userWS">
<xsd:import namespace="http://xml.netbeans.org/schema/Abruf38" schemaLocation="Abruf38.xsd"/>
</xsd:schema>
</types>
<message name="loadFormRequest">
<part name="formRequest" element="ns:formRequestElement"/>
<part name="person" element="ns:personElement"/>
<part name="department" element="ns:departmentElement"/>
</message>
<message name="loadFormReply">
<part name="retVal" element="ns:loadFormReturn"/>
</message>
<portType name="userWSPortType">
<operation name="loadForm">
<input name="input1" message="tns:loadFormRequest"></input>
<output name="output1" message="tns:loadFormReply"/>
</operation>
</portType>
<binding name="userWSBinding" type="tns:userWSPortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="loadForm">
<soap:operation/>
<input name="input1">
<soap:body use="literal"/>
</input>
<output name="output1">
<soap:body use="literal"/>
</output>
</operation>
</binding>
<service name="userWSService">
<port name="userWSPort" binding="tns:userWSBinding">
<soap:address location="http://localhost:18181/userWSService/userWSPort"/>
</port>
</service>
<plnk:partnerLinkType name="userWS1">
<!-- A partner link type is automatically generated when a new port type is added. Partner link types are used by BPEL processes.
In a BPEL process, a partner link represents the interaction between the BPEL process and a partner service. Each partner link is associated with a partner link type.
A partner link type characterizes the conversational relationship between two services. The partner link type can have one or two roles.-->
<plnk:role name="userWSPortTypeRole" portType="tns:userWSPortType"/>
</plnk:partnerLinkType>
</definitions>
The message that Netbeans says when trying to put more parts to the message is:
WS-I Basic Profile Rule R2210: If a document-literal binding in a DESCRIPTION does not specify the parts attribute on a soapbind:body element, the corresponding abstract wsdl:message MUST define zero or one wsdl:parts.
Please...I am desperate, cause I am pressed by time!
Can anyone tell me how can I make it work. Cause it is very common to use a Web service operation that has more than ONE parameter.
I am waiting for your replys!Hi,
Change the <soap:binding style="document"... to <soap:binding style="rpc"... and see if that works.
I'm not sure how to get <soap:binding style="document"... working yet - I'm not that experienced in web services yet.
Hope this helps and is not too late.
Regards,
Greg Nye -
Soap binding in wsdl and weblogic workshop
Dear newsgroup,
I'm trying to develop a webservice with workshop 8.1. In my case, I already have
a "WSDL" file for the service I want to develop.
So I created a "Schema Project", imported the wsdl file in it (workshop automatically
compiled it !!) and generated a webservice from it. I then created a webservice
project and moved the generated "jws" file in the webservice project.
So far with no problem.
Now I opened the "jws" file and saw there is this error:
"ERROR: The binding for <Op name> does not declare one part"
"SUGGESTION: A document literal binding must have at most one part. Make sure
you have a WSDL that declares just one part for each message with a document literal
binding."
Indeed my wsdl has messages with more than one part. It looks like this:
<wsdl:message name="SubmitSMSIn">
<wsdl:part name="GNSHeaderHeader" element="fwk:GNSHeader">
</wsdl:part>
<wsdl:part name="GNSCredentialsHeader" element="fwk:GNSCredentials">
</wsdl:part>
<wsdl:part name="SubmitSMSRequestBody" element="sms:SubmitSMSRequest">
</wsdl:part>
</wsdl:message>
And corresponding binding looks like this:
<wsdl:binding name="smsBinding" type="smsPortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"
/>
<wsdl:operation name="SubmitSMS">
<soap:operation style="document" soapAction="http://vodafone.net/ns/gns/sms/SubmitSMS">
</soap:operation>
<wsdl:input name="SubmitSMSInput">
<soap:body use="literal" parts="SubmitSMSRequestBody">
</soap:body>
<soap:header use="literal" message="SubmitSMSIn" part="GNSHeaderHeader"
wsdl:required="true">
</soap:header>
<soap:header use="literal" message="SubmitSMSIn" part="GNSCredentialsHeader"
wsdl:required="true">
</soap:header>
</wsdl:input>
<wsdl:output name="SubmitSMSOutput">
<soap:body use="literal" parts="SubmitSMSResponseBody">
</soap:body>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
MY QUESTION: Is this a workshop webservice limitation? I thought after reading
wsdl specification,(URL: http://www.w3.org/TR/wsdl.html#_soap-b, example 3), that
this should be possible.
What am I doing wrong.
Thanks for any help.
-- Asit BhattacharyaHi Asit,
Personally, I find dealing with the WSDL/SOAP language a humbling
experience and welcome the day that their syntax is completely buried
with the use of tools; to that end, I would recommend that you use the
WS-I test tools to validate/confirm all of the Rxxx issues.
Regards,
Bruce
Asit Bhattacharya wrote:
>
Hi Bruce,
Yes, you are right. "R2210" indeed does say that. Interestingly, it starts like
this:
"If a document-literal binding in a DESCRIPTION does not specify the parts attribute
on a soapbind:body element, the corresponding abstract wsdl:message MUST define
zero or one wsdl:parts."
Please NOTE the "if" part of the recommendation. As I understand, it is saying
when "parts" attribute is not specified in "soapbind:body" element then corresponding
"wsdl:message" is required to define zero or one "wsdl:parts".
In my original wsdl file example, I do have "parts" attribute specified for the
"soapbind:body" element. To me that that should be valid. What do you say.
Sincerely,
Asit Bhattacharya.
Bruce Stephens <[email protected]> wrote:
Hi Asit,
R2210 says: ...wsdl:message MUST define zero or one wsdl:parts.
I might suggest that you try your WSDL with the WS-I test tools. They
have a mode to consume and analyze WSDL that will give you a detailed
response correlated with the basic profile.
Regards,
Bruce
Asit Bhattacharya wrote:
Hi Bruce,
Thanks for your reply,
WS-I Basic Profile "R2201" says the following:
"A document-literal binding in a DESCRIPTION MUST, in each of its soapbind:body
element(s), have at most one part listed in the parts attribute, ifthe parts
attribute is specified."
It does not restrict a meesage (that is used in doc/lit soap binding)to have
multiple parts. If you look in my example wsdl (specially the soap:bindingportion),
you'll see I'm only using one part for soap:body binding.
Could you please explain why do you think that the SUGGESTION is valid?
Thanks for your help.
Regards.
Asit Bhattacharya.
Bruce Stephens <[email protected]> wrote:
Hello,
The suggestion is valid. You might want to reference the extensive
work
on this issue by the WS-I folks [1], see R2201 and following.
Regards,
Bruce
[1]
http://www.ws-i.org/Profiles/Basic/2003-08/BasicProfile-1.0a.html
Asit Bhattacharya wrote:
Dear newsgroup,
I'm trying to develop a webservice with workshop 8.1. In my case,
I
already have
a "WSDL" file for the service I want to develop.
So I created a "Schema Project", imported the wsdl file in it (workshopautomatically
compiled it !!) and generated a webservice from it. I then createda webservice
project and moved the generated "jws" file in the webservice project.
So far with no problem.
Now I opened the "jws" file and saw there is this error:
"ERROR: The binding for <Op name> does not declare one part"
"SUGGESTION: A document literal binding must have at most one part.Make sure
you have a WSDL that declares just one part for each message with
a
document literal
binding."
Indeed my wsdl has messages with more than one part. It looks likethis:
<wsdl:message name="SubmitSMSIn">
<wsdl:part name="GNSHeaderHeader" element="fwk:GNSHeader">
</wsdl:part>
<wsdl:part name="GNSCredentialsHeader" element="fwk:GNSCredentials">
</wsdl:part>
<wsdl:part name="SubmitSMSRequestBody" element="sms:SubmitSMSRequest">
</wsdl:part>
</wsdl:message>
And corresponding binding looks like this:
<wsdl:binding name="smsBinding" type="smsPortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"
/>
<wsdl:operation name="SubmitSMS">
<soap:operation style="document" soapAction="http://vodafone.net/ns/gns/sms/SubmitSMS">
</soap:operation>
<wsdl:input name="SubmitSMSInput">
<soap:body use="literal" parts="SubmitSMSRequestBody">
</soap:body>
<soap:header use="literal" message="SubmitSMSIn"part="GNSHeaderHeader"
wsdl:required="true">
</soap:header>
<soap:header use="literal" message="SubmitSMSIn"part="GNSCredentialsHeader"
wsdl:required="true">
</soap:header>
</wsdl:input>
<wsdl:output name="SubmitSMSOutput">
<soap:body use="literal" parts="SubmitSMSResponseBody">
</soap:body>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
MY QUESTION: Is this a workshop webservice limitation? I thought
after
reading
wsdl specification,(URL: http://www.w3.org/TR/wsdl.html#_soap-b,
example
3), that
this should be possible.
What am I doing wrong.
Thanks for any help.
-- Asit Bhattacharya -
Abstract/ concrete class questions/problems
I am new to java and working on a abstract problem. I'm getting several errors. Here is the code I have so far for the abstract class. I commented out the super and it compiles but I'm not sure if it correct. I'm suppose to create a abstract base class Animal. Single constructor requires String to indicate type of animal which then is stored in an instance variable. I also have to add a few methods (describe(), move(), etc).
public abstract class Animal
public Animal(String type)
//super(type);
public abstract String describe();
public abstract String sound();
public abstract String sleep();
public abstract String move();
}thanks for the replies. I modified my code but I have a few more errors I can't figure out. Can you browse the code and help point me in the right direction.
Here are the errors I get
cannot find symbol
symbol : constructor Cat(java.lang.String,java.lang.String)
location: class Cat
cannot find symbol
symbol : constructor Robin(java.lang.String)
location: class Robin
abstract base class:
public abstract class Animal
String type;
public Animal(String type)
this.type = type;
public abstract String describe();
public abstract String sound();
public abstract String sleep();
public abstract String move();
}concrete class
public class Cat extends Animal
private String name;
protected String breed;
public Cat()
super("Cat");
public String describe()
return new String(",a breed of Cat called");
public String sound()
return new String("Meow");
public String sleep()
return new String("Kitty is having purfect dreams!");
public String move()
return new String("This little Kitty moves fast!");
}another abstract class
public abstract class Bird extends Animal
protected String breed;
public Bird()
super("Bird");
public abstract String move();
}here is the abstract test program itself
public class AbstractTest
public static void main(String[] args)
Cat cat = new Cat("Kitty", "Angora");
Robin bird = new Robin("Rockin");
System.out.println("Form the cat: ");
System.out.print("This is: "); cat.describe();
System.out.print("Sound: "); cat.sound();
System.out.print("Sleeping: "); cat.sleep();
System.out.print("Moving: "); cat.move();
System.out.println("\n");
System.out.println("For the robin: "); bird.describe();
System.out.print("This is: "); bird.sound();
System.out.print("Sound: "); bird.sleep();
System.out.print("Moving: "); bird.move();
System.out.print("\n");
System.out.println("nEnd of program.");
}
Maybe you are looking for
-
This happened several times already that my computer freezes up and it says Mozilla Firefox is not responding. When this happen it takes a long time before I can use my computer, I would say one hour or sometimes it takes 2 hours. When it takes like
-
How do I automatically or manually add incoming e-mail addresses to my address book?
How do I automatically or manually add incoming e-mail addresses to my address book?
-
how can i get an invocce from the Apple store UK ? Message was edited by: Host
-
I can't get my printer to print to the edge of the page and can't find the right settings.
I am trying to create an A5 booklet from A4 spreads in InDesign which I have now done but for some reason when I print it is not printing to the edges of the paper. It's about 6mm short on the short edge and 3mm short along the long edge. I don't thi
-
Migration and SAP Support for BW 3.1
Hi, I have couple of queries regarding Migration and SAP Support. What is the required patch level that need to be mantained in BW 3.1 for a direct upgrade to BI 7. I would like to know whether SAP still supports BW 3.1. I searched in SAP Service mar