wsdl problem
wsdl problem
(OP)
Hi everyone,
i have a problem about wsdl, when i call a function to get xml i got following error.
thank about your advice.
i have a problem about wsdl, when i call a function to get xml i got following error.
thank about your advice.
RE: wsdl problem
What function do you call?
Number 5 need more input!
“Knowledge is power. Information is liberating. Education is the premise of progress, in every society, in every family.” (Kofi Annan)
Oppose SOPA, PIPA, ACTA; measures to curb freedom of information under whatever name whatsoever.
RE: wsdl problem
this below is my code detail.
ZARGE_SEND_CHAR_MAT_SALE sale = new ZARGE_SEND_CHAR_MAT_SALE();
Sum sumClnt = new Sum();
ZARGE_SEND_CHAR_MAT_SALEResponse res;
sumClnt.Credentials = new NetworkCredential("RD", "654321");
sale.ENT = "P";
sale.T_PORDER = new ZARGEV_AFS_PO[1];
res = new ZARGE_SEND_CHAR_MAT_SALEResponse();
res = sumClnt.ZARGE_SEND_CHAR_MAT_SALE(sale);
RE: wsdl problem
konum: System.DateTimeParse.ParseExactMultiple(String s, String[] formats, DateTimeFormatInfo dtfi, DateTimeStyles style)
konum: System.DateTime.ParseExact(String s, String[] formats, IFormatProvider provider, DateTimeStyles style)
konum: System.Xml.Serialization.XmlSerializationReader.ToDate(String value)
konum: Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSum.Read4_ZARGEV_AFS_PO(Boolean isNullable, Boolean checkType)
konum: Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSum.Read6_Item(Boolean isNullable, Boolean checkType)
konum: Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSum.Read8_Item()
konum: Microsoft.Xml.Serialization.GeneratedAssembly.ArrayOfObjectSerializer3.Deserialize(XmlSerializationReader reader)
konum: System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
RE: wsdl problem
RE: wsdl problem
actually when i click the link i can get big size of picture. and it is understandable.
RE: wsdl problem
But I would suspect this:
CODE
Is there any special reason why you want to treat your ZARGE_SEND_CHAR_MAT_SALEResponse object differently than the others and first declare it without initiating it?
Try this instead:
CODE
Also: wrap your code in a try - catch block and get the Exception.Message.
Also: single-step through your code to identify the line that throws the exception.
“Knowledge is power. Information is liberating. Education is the premise of progress, in every society, in every family.” (Kofi Annan)
Oppose SOPA, PIPA, ACTA; measures to curb freedom of information under whatever name whatsoever.
RE: wsdl problem
Most of us don't speak Turkish.
“Knowledge is power. Information is liberating. Education is the premise of progress, in every society, in every family.” (Kofi Annan)
Oppose SOPA, PIPA, ACTA; measures to curb freedom of information under whatever name whatsoever.
RE: wsdl problem
You got an XML error!
Make sure your XML file is valid. Any invalid characters in there?
“Knowledge is power. Information is liberating. Education is the premise of progress, in every society, in every family.” (Kofi Annan)
Oppose SOPA, PIPA, ACTA; measures to curb freedom of information under whatever name whatsoever.
RE: wsdl problem
but there is no turkish code,explanations there.
anyway the problem as i undenstand is there is a field datatype datetime but maybe it is null maybe it is like this "0000-00-00"
but the function gives me error.
but in soapUI4.5.1, it works.
there should be a reason. i just wanna ask about is there a code to pass this error to continue from next row.
thank you...
RE: wsdl problem
CODE -->
If the line now throws an error, it will simply continue. It's comparable to VB's "On Error Resume Next".
“Knowledge is power. Information is liberating. Education is the premise of progress, in every society, in every family.” (Kofi Annan)
Oppose SOPA, PIPA, ACTA; measures to curb freedom of information under whatever name whatsoever.
RE: wsdl problem
now it is working thanks.
RE: wsdl problem
Sum sumClnt = new Sum();
ZARGE_SEND_CHAR_MAT_SALEResponse res;
sumClnt.Credentials = new NetworkCredential(sapuser, sappass);
Error 1 The type or namespace name 'Sum' could not be found (are you missing a using directive or an assembly reference?) C:\Users\zamah\Desktop\ArgemasWebServiceSamples\ArgemasWebServiceSamples\ArgemasWebServiceSamples\Program.cs 76 17 ArgemasWebServiceSamples
can you help me please?