We migrated an ESB 10g project to Mediator 11g. What is strange is that this project works completely fine in the 10g world. However, when we try to make or deploy it in JDeveloper 11g, we receive the following error:
Investigation:
Oracle JDeveloper 10g is more liberal in its verification. In fact, our problem was the following.
- Our JDeveloper 11g composite looks like this:
http://external.ipnweb.org/Location/AddressWebService.svc?wsdl
http://external.ipnweb.org/Contact/ContactWebService.svc?wsdl
- Observe the schema definition in each of the WSDLs. You will notice that the same namespace is used across both references, but related to different XSDs.
First WSDL
<xsd:schema targetNamespace="http://ns.ipnweb.com/MyApp/AddressWebService/20090101/Imports">
<xsd:import schemaLocation="http://external.ipnweb.org/Location/AddressWebService.xsd" namespace="http://ns.ipnweb.com/MyApp/Contact/20090101"/>
<xsd:import schemaLocation="http://external.ipnweb.org/Location/AddressWebService.xsd" namespace="http://ns.ipnweb.com/MyApp/AuditableDomainBase/20090101"/>
</xsd:schema>
Second WSDL
<xsd:schema targetNamespace="http://ns.ipnweb.com/MyApp/ContactWebService/20090101/Imports">
<xsd:import schemaLocation="http://external.ipnweb.org/Contact/ContactWebService.xsd" namespace="http://ns.ipnweb.com/MyApp/Contact/20090101"/>
<xsd:import schemaLocation="http://external.ipnweb.org/Contact/ContactWebService.xsd" namespace="http://ns.ipnweb.com/MyApp/Enums/20090101"/>
</xsd:schema>
- When we open both the XSDs, we can see that the same element is defined identically, but the problem is, the annotations are defined in one of them, but not the other.
First XSDThe fact that the annotations are different is what is causing the XML-24500 error seen above.
<xs:complexType name="Organization">
<xs:complexContent mixed="false">
<xs:extension base="q1:DomainBase">
<xs:sequence>
<xs:element minOccurs="0" name="OrgId" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
Second XSD
<xs:complexType name="Organization">
<xs:annotation>
<xs:appinfo>
<Surrogate i:type="d1p1:Annotation"/>
</xs:appinfo>
</xs:annotation>
<xs:complexContent mixed="false">
<xs:extension base="q1:DomainBase">
<xs:sequence>
<xs:element minOccurs="0" name="OrgId" nillable="true" type="xs:string">
<xs:annotation>
<xs:appinfo>
<Surrogate i:type="d1p1:Annotation"/>
</xs:appinfo>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
Resolution:
Ensure that the XSDs are identical in terms of definition, including annotations.
Buildfile: C:\jdeveloper\bin\ant-sca-compile.xml
scac:
[scac] Validating composite "C:\MyProject\composite.xml"
[scac] oracle.fabric.common.wsdl.XSDException: Global Type declaration/definition of name '{http://ns.ipnweb.com/MyApp/Organization/20090101}Organization' are duplicated at the following locations:
[scac]
[scac] file:/C:/MyProject/ContactWebService.svc_xsd_xsd9.xsd [line#: 6]
[scac] file:/C:/MyProject/AddressWebService.svc_xsd_xsd2.xsd [line#: 6]
[scac] There are at least two of them looking different:
[scac] file:/C:/MyProject/ContactWebService.svc_xsd_xsd9.xsd [difference starting at line#:17]
[scac] file:/C:/MyProject/AddressWebService.svc_xsd_xsd2.xsd [difference starting at line#:17]
[scac]
[scac] Global Type declaration/definition of name '{http://ns.ipnweb.com/MyApp/OrganizationEvent/20090101}OrganizationEvent' are duplicated at the following locations:
[scac]
[scac] file:/C:/MyProject/ContactWebService.svc_xsd_xsd10.xsd [line#: 11]
[scac] file:/C:/MyProject/AddressWebService.svc_xsd_xsd7.xsd [line#: 18]
[scac] There are at least two of them looking different:
[scac] file:/C:/MyProject/ContactWebService.svc_xsd_xsd10.xsd [difference starting at line#:12]
[scac] file:/C:/MyProject/AddressWebService.svc_xsd_xsd7.xsd [difference starting at line#:19]
[scac]
[scac]
[scac] at oracle.fabric.common.wsdl.SchemaBuilder.postProcessXSD(SchemaBuilder.java:330)
[scac] at oracle.fabric.common.wsdl.SchemaBuilder.loadAllSchemas(SchemaBuilder.java:210)
[scac] at oracle.fabric.common.wsdl.SchemaManager.loadAllXSD(SchemaManager.java:139)
[scac] at oracle.fabric.common.wsdl.SchemaManager.buildXDKSchema(SchemaManager.java:348)
[scac] at oracle.fabric.common.wsdl.SchemaManager.lookupSchema(SchemaManager.java:216)
[scac] at oracle.fabric.common.wsdl.SchemaManager.lookupXSDElementDeclaration(SchemaManager.java:399)
[scac] at oracle.soa.scac.WSDLValidator.validateMessageParts(WSDLValidator.java:112)
[scac] at oracle.soa.scac.WSDLValidator.validateMessages(WSDLValidator.java:88)
[scac] at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:47)
[scac] at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:40)
[scac] at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:1004)
[scac] at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:568)
[scac] at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:156)
[scac] at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:141)
[scac]
[scac] <Line 2, Column 172>: XML-24500: (Error) Can not build schema 'http://ns.ipnweb.com/MyApp/Organization/20090101' located at 'http://ns.ipnweb.com/MyApp/Organization/20090101.__OAUX_GENXSD_.TOP.XSD'
[scac] <Line 2, Column 168>: XML-24500: (Error) Can not build schema 'http://ns.ipnweb.com/MyApp/DomainBase/20090101' located at 'http://ns.ipnweb.com/MyApp/DomainBase/20090101.__OAUX_GENXSD_.TOP.XSD'
[scac] <Line 3, Column 162>: XML-24500: (Error) Can not build schema 'http://ns.ipnweb.com/MyApp/Contact/20090101' located at 'http://ns.ipnweb.com/MyApp/Contact/20090101.__OAUX_GENXSD_.TOP.XSD'
[scac] <Line 106, Column 164>: XML-24528: (Error) Invalid reference: 'http://ns.ipnweb.com/MyApp/Organization/20090101:Organization'
[scac]
[scac] FATAL_ERROR: location {/ns:composite/ns:import[@location='file:/C:/MyProject/AddressWebService.svc_wsdl_wsdl0.wsdl']}: Load of wsdl "ContactWebService.svc.wsdl with Message part element undefined in wsdl [file:/C:/MyProject/AddressWebService.svc_wsdl_wsdl0.wsdl] part name = parameters type = {http://ns.ipnweb.com/MyApp/AddressWebService/20090101}DeleteAddressBookEntry" failed
[scac] FATAL_ERROR: location {/ns:composite/ns:import[@location='file:/C:/MyProject/ContactWebService.svc_wsdl_wsdl0.wsdl']}: Load of wsdl "ContactWebService.svc.wsdl with Message part element undefined in wsdl [file:/C:/MyProject/ContactWebService.svc_wsdl_wsdl0.wsdl] part name = parameters type = {http://ns.ipnweb.com/MyApp/ContactWebService/20090101}DeleteProfileContactResponse" failed
[scac] FATAL_ERROR: location {/ns:composite/ns:import[@location='file:/C:/MyProject/AddressWebService.svc.wsdl']}: Load of wsdl "ContactWebService.svc.wsdl with Message part element undefined in wsdl [file:/C:/MyProject/AddressWebService.svc_wsdl_wsdl0.wsdl] part name = parameters type = {http://ns.ipnweb.com/MyApp/AddressWebService/20090101}DeleteAddressBookEntry" failed
[scac] FATAL_ERROR: location {/ns:composite/ns:import[@location='file:/C:/MyProject/ContactWebService.svc.wsdl']}: Load of wsdl "ContactWebService.svc.wsdl with Message part element undefined in wsdl [file:/C:/MyProject/ContactWebService.svc_wsdl_wsdl0.wsdl] part name = parameters type = {http://ns.ipnweb.com/MyApp/ContactWebService/20090101}DeleteProfileContactResponse" failed
[scac] FATAL_ERROR: location {/ns:composite/ns:reference[@name='Address']}(17,74): Reference Address does not exist as wire target
[scac] FATAL_ERROR: location {/ns:composite/ns:reference[@name='Contact']}(25,74): Reference Contact does not exist as wire target
BUILD FAILED
C:\jdeveloper\bin\ant-sca-compile.xml:236: Java returned: 1 Check log file : C:\MyProject\SCA-INF\classes\scac.log for errors
Total time: 5 seconds
This is a very helpful blog.. Cheers Ahmed!!
ReplyDeleteHi,
ReplyDeleteThis site is pretty good.I like the way they it was explained.This site had cleared all my issues which i was facing earlier.Many Thanks.
Oracle R12 Upgrade.
Hi Ahmed.. i need an urgent help.
ReplyDeletei have an esb..
with one routing service and one soup service
when i am migrating to 11g.. i am getting in service reference and one reference pointing to 10g wsdl..ok
when i deployed the same code to 11g it got deployed successfully..
now i want to point the both routing service and soap service to 11g port..
i am able to get the routing service wsdl ,can you please let me know where can i find the soup service wsdl pointing to 11g port..
HI Very good info.. Thanks alot for sharing .
ReplyDeleteLH181008
ReplyDeletecanada goose outlet store
ralph lauren
christian louboutin sale
barbour jackets outlet
christian louboutin sale
nike factory shoes
burberry outlet sale online
ugg boots clearance
coach factory outlet online
ralph lauren outlet
Thanks a lot! You made a new blog entry to answer my question; I really appreciate your time and effort.
ReplyDeleteRESTful Web Services Corporate TRaining
RESTful Web Services Training In Chennai
Java Projects for Engineering Students of Computer Science
Project Centers in Chennai
yeezy boost
ReplyDeletekobe 11
balenciaga shoes
retro jordans
yeezy supply
yeezy shoes
supreme hoodie
hermes handbags
adidas superstars
supreme clothing
Nice info..! Really superb and keep doing.....
ReplyDeleteSpark Training in Chennai
Spark Training Fees in Chennai
Appium Training in Chennai
Tableau Training in Chennai
Pega Training in Chennai
Advanced Excel Training in Chennai
Oracle Training in Chennai
Oracle DBA Training in Chennai
Linux Training in Chennai
Embedded System Course Chennai
Excel Training in Chennai
Keep up the great work, I read few blog posts on this site and I believe that your website is really interesting and has loads of good info.
ReplyDeleteWeb Designing Training in Chennai
Web Designing Course in Chennai
Web Designing Training in Bangalore
Web Designing Course in Bangalore
Web Designing Training in Hyderabad
Web Designing Course in Hyderabad
Web Designing Training in Coimbatore
Web Designing Training
Web Designing Online Training
Thanks a lot for sharing a great blog I was just browsing through the internet looking for some information and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject. Bookmarked this page, will come back for more keep going on it helped me a lot I have gained a lot of knowledge by reading your blog.
ReplyDeleteOracle SOA Training
Oracle SOA 12c Training
Oracle soa online training
Oracle soa course
oracle soa suite training
Hi, I looked at most of your posts. This article is probably where I got the most useful information for my research. Thanks for posting, we can find out more about this. Do you know of any other websites on this topic?
ReplyDeleteData Analytics Course in Bangalore
Very good message. I stumbled across your blog and wanted to say that I really enjoyed reading your articles. Anyway, I will subscribe to your feed and hope you post again soon.
ReplyDeleteBusiness Analytics Course in Bangalore
Wonderful blog found to be very impressive to come across such an awesome blog. I should really appreciate the blogger for the efforts they have put in to develop such amazing content for all the curious readers who are very keen on being updated across every corner. Ultimately, this is an awesome experience for the readers. Anyways, thanks a lot and keep sharing the content in the future too.
ReplyDeleteDigital Marketing Training in Bangalore
I found Habit to be a transparent site, a social hub that is a conglomerate of buyers and sellers willing to offer digital advice online at a decent cost.
ReplyDeleteArtificial Intelligence Training in Bangalore
Truly incredible blog found to be very impressive due to which the learners who go through it will try to explore themselves with the content to develop the skills to an extreme level. Eventually, thanking the blogger to come up with such phenomenal content. Hope you arrive with similar content in the future as well.
ReplyDeleteMachine Learning Course in Bangalore
You have completed certain reliable points there. I did some research on the subject and found that almost everyone will agree with your blog.
ReplyDeleteData Science Training in Bangalore
jordan 1 off white
ReplyDeletesupreme clothing
off white jordan 1
stone island
yeezy 350
goyard
nike sb dunk high
supreme hoodie
yeezy 350
lebron 16
A good blog always contains new and exciting information and as I read it I felt that this blog really has all of these qualities that make a blog.
ReplyDeleteData Science Training in Bangalore
Happy to chat on your blog, I feel like I can't wait to read more reliable posts and think we all want to thank many blog posts to share with us.
ReplyDeleteMachine Learning Course in Bangalore
It is late to find this act. At least one should be familiar with the fact that such events exist. I agree with your blog and will come back to inspect it further in the future, so keep your performance going.
ReplyDeleteDigital Marketing Training in Bangalore
A good blog always contains new and exciting information, and reading it I feel like this blog really has all of these qualities that make it a blog.
ReplyDeleteArtificial Intelligence Training in Bangalore
great & nice articles with a lot of information to read...great people keep posting and keep updating people..thank you , Hello, this is very useful material. You can read information about Turkey eVisa online. Turkey e Visa is an electronic visa that allows travel into Turkey.
ReplyDeleteI was just examining through the web looking for certain information and ran over your blog.It shows how well you understand this subject.
ReplyDeleteservicenow training in Bangalore
A good blog always contains new and exciting information, and reading it I feel like this blog really has all of these qualities that make it a blog.
ReplyDeleteIoT Training Institute in Bangalore
Thank you Before applying for Kenya visa you must check the eligible countries for Kenya Visa. To verify that Are you eligible to get the Kenya visa or not?
ReplyDeleteWhat an outstanding post! “I'll be back” (to read more of your content). Thanks… An emergency visa to India that can be applied for and approved in a day or less for certain reasons. After confirmation of complete application, documents and full payment, Emergency Indian e-Visa can be obtained within 1 to 3 days.
ReplyDeleteHappy to chat on your blog, I feel like I can't wait to read more reliable posts and think we all want to thank many blog posts to share with us.
ReplyDeleteData Science in Bangalore
Very good info. Thank you 😊 😊 😊 South Africa work visa, You can get info online about South Africa work visa via the South Africa visa website.
ReplyDeleteIt is late to find this act. At least one should be familiar with the fact that such events exist. I agree with your blog and will come back to inspect it further in the future, so keep your performance going.
ReplyDeleteBest Data Analytics Courses in Bangalore
Wonderful illustrated information. Thank you. It will certainly be very useful for my future projects. I would love to see more articles on the same topic!
ReplyDeleteData Science Training in Bangalore
I can't believe I've never been to this site before, but after going through some of the posts I realized it's new to me. Anyhow, I'm glad I found it and I'll be bookmarking and checking back often. You can fill your visa application form online within 5 to 10 minutes and pay your India visa cost once you complete the form. India e visa cost depends on your nationality and your visa type. cost of Indian visas are always submitted after form submission.
ReplyDeleteHi! I thought I had been to this site before, but after looking through some of the posts, I realized it was new to me. Anyway, I'm glad I found it and I'll definitely be bookmarking it and checking back often. You can fill your visa application form online within 5 to 10 minutes and pay your India visa cost once you complete the form. India e visa cost depends on your nationality and your visa type. The cost of Indian visas is always credited after the submission of the form.
ReplyDeleteReally impressed! Everything is a very open and very clear clarification of the issues. It contains true facts. Your website is very valuable. Thanks for sharing.
ReplyDeleteBest Data Analytics Courses in Bangalore
Thanks for your great article which is both informative and innovative: with the latest updates. It was highly invaluable. Travelers can apply India tourist visa for US citizens directly for e-visas online. Therefore, the Indian government has developed an easy-to-use online Indian visa application form that makes it easy to apply for a visa.
ReplyDeleteHii sir, Nice blog. Thanks for sharing. Lots of people query, What is the Indian passport photo size? You can read info about India visa photo requirements via our Indian visa page.
ReplyDeleteHey everyone, Foreign citizens can enter India for business purposes. The Indian government allows foreign country citizens to apply for a business visa for India. e Business visa India, Non-Indian visitors who are looking for business business or meetings, setting up industrial or business enterprises in India or other similar business activities etc.
ReplyDelete
ReplyDeleteGreat blog. This is very inspiring and informative content thanks for sharing with us.. If you want to plan a trip to Turkey, you will need a Turkish eVisa.Turkish electronic visa or Turkish e visa is an official travel permit granting entry into Turkey, issued by the Turkish government to foreign travelers from around the world. Foreign nationals can apply for evisa Turkey online.
lire ce message ici sacs répliques hautes Cliquez Ici YSL Dolabuy essayez ceci dolabuy.su
ReplyDeleteAttractive component of the material. I just stumbled across your web site and accession capital to say that I really enjoyed your site. You are a compelling author. An e visa Turkey is an electronic visa which is for those travelers who can apply from anywhere from all around the world.
ReplyDeletesee designer replica luggage hop over to here bags replica gucci her response dolabuy.co
ReplyDeleteI love the way you explain your article. It's easy to read and understandable. I want to know articles like this. People have the option to apply for a e visa Turkey online which is a hassle free process. And its time and cost saving also.
ReplyDeleteBitdefender Total Security 2019 Crack is award-winning antivirus and Internet security package that is equipped with powerful tools. Bitdefender Total Security Crack
ReplyDeleteMorphVOX Pro Crack is a useful and easy to use utility that will change your voice to match your personality. It is a reliable tool that MorPhVox Cracked
ReplyDeleteGood morning, dear husband. You are my life. You are my other half. I cannot stop loving you. Have a great day. Have a great time! Love MSG For Husband
ReplyDeleteNetmarble said Monday that it had agreed to buy one hundred pc of Leonardo Interactive Holdings, the mother or father of SpinX, to diversify its recreation portfolio properly as|in addition to} strengthen its global enterprise. Netmarble is one of the|is among the|is doubtless considered one of the} largest on-line recreation companies in South Korea, along with NCSoft, Nexon and Krafton. Since taking power, Kim has shown considerable interest in tourism and on line casino 카지노사이트 industries. In May, Kim ordered the development of a luxurious lodge and on line casino throughout the Wonsan-Kalma coastal tourism project alongside the country’s east coast. Kim is also be|can be} reported to have asked for US President Donald Trump’s assist for the project within the letter he despatched the US president in June.
ReplyDelete