cancel
Showing results for 
Search instead for 
Did you mean: 

Error loading [http://www.w3.org/2005/05/xmlmime]

Highlighted
New Contributor

Error loading [http://www.w3.org/2005/05/xmlmime]

Hi ,

 

I am trying to setup a SOAP project to start the development of an integration project with the application I manage. This is a vendor application ( HPE Service Manager).

I am trying to load the wsdl and for some reason I am unable to reach http://www.w3.org/2005/05/xmlmie location.

If I try to open the URL using a browser, it opens successfully.

 

I tried to download the xml files locally to the c drive and changed the schema location on the wsdl to point it to local file, still i am not able to load the wsdl correctly. Attaching the screenshots below.

 

 

Files downloaded to c driveFiles downloaded to c drive

 

 

 

 

 

 

modified the schemalocationmodified the schemalocation

 

 

 

 

 

loading the wsdlloading the wsdl

 

 

 

 

 

 

 

 

 

Error on loadingError on loading

 

 

 

 

 

 

 

 

Please guide.

 

thx

dev

7 REPLIES 7
Highlighted
Community Hero

Re: Error loading [http://www.w3.org/2005/05/xmlmime]

What happens if wsdl file opened using web browser?


Regards,
Rao.
Highlighted
New Contributor

Re: Error loading [http://www.w3.org/2005/05/xmlmime]

able to access successfully from browserable to access successfully from browser

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 I am able to access the wsdl file using the browser.

Highlighted
New Contributor

Re: Error loading [http://www.w3.org/2005/05/xmlmime]

I am able to access the URL http://www.w3.org/2005/05/xmlmime  too from the browser

 

SOAP 6.JPG

Highlighted
Community Hero

Re: Error loading [http://www.w3.org/2005/05/xmlmime]

Thank you for that.

Is that wsdl file public ? If so, provide the link if possible.

Which version of the tool are you using?


Regards,
Rao.
Highlighted
Community Hero

Re: Error loading [http://www.w3.org/2005/05/xmlmime]

Yeah as @nmrao said - would help a lot if you can publish the whole .wsdl file - I've been trying to put the info/content together from the screenshots you've provided and I'm not getting anywhere.

 

I did a quick check of all the .wsdl's on my harddrive and none of them even use a schemalocation attribute definition in the .wsdls <types> element - in actual fact - none of the .wsdls even use the schemalocation attribute at all, never mind just in the <types> element

 

its a long shot without seeing your .wsdl - but I'd try and remove the schemalocation attribute reference and any dependency and go from there.

 

Cheers,

 

richie

 

 

if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta
Highlighted
New Contributor

Re: Error loading [http://www.w3.org/2005/05/xmlmime]

It is not a public wsdl.

I am attaching a copy of the wsdl file , had to change the servername and port details. Not sure if you would be able to import the definition

Highlighted
Community Hero

Re: Error loading [http://www.w3.org/2005/05/xmlmime]

Hey @DJ_Se 

 

Ok -  I dont see this very often although I'm aware you can do it - you have your xml schema content (typically .xsd extension) embedded within your .wsdl file.

 

The XML schema content is held within your wsdls <type> element - the schema detail is saved within the <schema> tag and I think this is confusing the issue somewhat.

Also - you are importing namespaces which adds another bit of complication - your schema detail references other namespaces and schemas - this is I reckon whats causing you the problems.

 

Anyway - the short answer is that your wsdl file is currently schema invalid - yes its wellformed, but it's invalid relative to the imported schemas - I'm talking schema valid relative to the cmn schema - there might be other reasons for it being invalid - thats just the first issue identified (it could be the last though).

 

If you can supply the imported schemas I can probably edit the file so its no longer invalid - it'll take me a couple of hours - but is possible - but that could significantly change the wsdl file (the schema content in the wsdl file) depending on what changes I have to make. 

 

If I were you, Id go back to the developers who supplied the wsdl file and explain that the .wsdl file (the schema detail in the wsdl file) needs to be valid before you can successfully load it into ReadyAPI!/SoapUI and ask can they edit the file in accordance with the requirements to ensure the schema detail contained within the wsdl file is schema valid?

 

Im happy to give me altering the file a go to try and get it valid in the meantime - but I''m gonna need those imported schemas first!

 

WOW - its been a while since I answered a question - feel like I've spent the last 2 weeks just asking them! 🙂

 

Cheers,

 

richie

 

if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta
New Here?
Join us and watch the welcome video:
Announcements
TechCorner Leaderboard
Compete with community members in the TechCorner Challenge and get into the Leaderboard!

Rank Participant Points Earned
1 msiadak 12
2 nmrao 8
3 HimanshuTayal 3
Top Kudoed Authors