I am trying to send an xml message to a wsdl service which there is no documentation for it.
The web page of the service is:
I found that in webpage
there are three required attributes
When I try to send the message it gives me an error
<explanation>SubmittingTraderIdentification ([SubmittingTraderIdentification: null] must be the same as the trader ID (040540011)</explanation>
I cannot find anywhere the SubmittingTraderIdentification
Yes I load it as new project and it still gives me the same three attributes.
The value 040540011 is something I give it as parameter.
I tried to give some parameters like submittingTraderID ot submittingTraderIdentification but nothing changes.
I have no access on the database and the technical support from the service is... lets say it politly "ignorants".
Is there any way to check if it returns something as request from the server?
someOtherParameter: Not ok
The submittingTraderIdentification exists in xsd, but it is either doesnt recognise it correctly or doesnt pass it in the correct position.
I have attached the xsd (I renamed it as xml because I couldnt upload it) where you can check the schema.
This transaction is made to Greek customs and it is to send an xml so it can return as a number that everything is correct to proceed with the import or export of goods.I am already sending other messages like im15,ie515 and it works fine.
The specificic problem is only in EF15 message.
The only documentation is in Greek language which doesnt show much. It doesnt requires anything but traderId,wsUsername,wsPassword.
I am hoping that is something wrong with the xsd and passes the submitingTrader in the wrong place.
They cannot send me xml because they don't have technical knowledge. The y don't know anything how webservices work. I have the external xsd(I renamed them again in .xml) files but I think I tried once and the program said that the xsd was valitated correctly.
I am not an expert in xsd and xml and I don't have xmlspy to test it. I download the demo version but I don't know how to import external xsd and test or create a valid xml from that.
I try out the altovaspy and after I managed to import the external xsd files it shows me (as you said) many errors.
One is at the submittingOperatorIdentification which gives me an error
'emcs:FallbackDocumentReferenceType' must refer to an existing simple or complex type.
So I guess it doesnt find that value in xs:emcs which is located at http://www.icisnet.gr/emcs/v1.03/types
If I open the types.xsd the value indeed doesnt exist.
As solution altovaspy gives the optins to choose another branch but I don't know what to choose.
The same problem is with many more values. Is there a way to find which value exists in which xsd?
Those problems occured because I change the "online" xsd with local ones or because the schema is wrong?
Also I think the tcl file is older version I upload a newer version
I managed to validate the xsd with the external xsd files .
Those in the zip are the new versions .
I don't know if this help because even when I have those external xsd it still gives me the same error.
Is there a way to use those files and not those in namespace?