Author |
Message
|
my_mqmb |
Posted: Sun Jun 19, 2011 3:49 am Post subject: SoapRequest Fault error |
|
|
Voyager
Joined: 08 Jun 2011 Posts: 84
|
Hey Guys :
i am getting this error in the soap fault :
The parameter loginName cannot be empty or bigger than 251 characters
while there is no parameter as 'loginName' ..
I am perplexed from where the SoapRequest node or the sharepoint server is returning this fault ??
any clues ?
here is the attached trace file after the SoapReq node ::
Code: |
( ['SOAPRoot' : 0xd521e0]
(0x01000000:Name ):Properties = ( ['SOAPPROPERTYPARSER' : 0x4053e80]
(0x03000000:NameValue):MessageSet = 'soap_xx' (CHARACTER)
(0x03000000:NameValue):MessageType = '' (CHARACTER)
(0x03000000:NameValue):MessageFormat = '' (CHARACTER)
(0x03000000:NameValue):Encoding = 546 (INTEGER)
(0x03000000:NameValue):CodedCharSetId = 1208 (INTEGER)
(0x03000000:NameValue):Transactional = FALSE (BOOLEAN)
(0x03000000:NameValue):Persistence = FALSE (BOOLEAN)
(0x03000000:NameValue):CreationTime = GMTTIMESTAMP '2011-06-19 11:03:43.789' (GMTTIMESTAMP)
(0x03000000:NameValue):ExpirationTime = -1 (INTEGER)
(0x03000000:NameValue):Priority = 0 (INTEGER)
(0x03000000:NameValue):ReplyIdentifier = X'000000000000000000000000000000000000000000000000' (BLOB)
(0x03000000:NameValue):ReplyProtocol = 'MQ' (CHARACTER)
(0x03000000:NameValue):Topic = NULL
(0x03000000:NameValue):ContentType = 'text/xml; charset=utf-8' (CHARACTER)
(0x03000000:NameValue):IdentitySourceType = '' (CHARACTER)
(0x03000000:NameValue):IdentitySourceToken = '' (CHARACTER)
(0x03000000:NameValue):IdentitySourcePassword = '' (CHARACTER)
(0x03000000:NameValue):IdentitySourceIssuedBy = '' (CHARACTER)
(0x03000000:NameValue):IdentityMappedType = '' (CHARACTER)
(0x03000000:NameValue):IdentityMappedToken = '' (CHARACTER)
(0x03000000:NameValue):IdentityMappedPassword = '' (CHARACTER)
(0x03000000:NameValue):IdentityMappedIssuedBy = '' (CHARACTER)
)
(0x01000000:Name ):HTTPResponseHeader = ( ['WSRSPHDR' : 0x3f7d050]
(0x03000000:NameValue):X-Original-HTTP-Status-Line = 'HTTP/1.1 500 Internal Server Error' (CHARACTER)
(0x03000000:NameValue):X-Original-HTTP-Status-Code = 500 (INTEGER)
(0x03000000:NameValue):Cache-Control = 'private' (CHARACTER)
(0x03000000:NameValue):Content-Type = 'text/xml; charset=utf-8' (CHARACTER)
(0x03000000:NameValue):Server = 'Microsoft-IIS/7.5' (CHARACTER)
(0x03000000:NameValue):X-AspNet-Version = '2.0.50727' (CHARACTER)
(0x03000000:NameValue):X-Powered-By = 'ASP.NET' (CHARACTER)
(0x03000000:NameValue):Date = 'Sun, 19 Jun 2011 11:10:00 GMT' (CHARACTER)
(0x03000000:NameValue):Content-Length = '458' (CHARACTER)
)
(0x01000000:Folder):SOAP = ( ['SOAP' : 0xd45cc8]
(0x01000000:Folder):Context = ( ['xmlnsc' : 0x40b13d0]
(0x03000100:Attribute ):operation = '' (CHARACTER)
(0x03000100:Attribute ):operationType = 'UNKNOWN' (CHARACTER)
(0x03000100:Attribute ):portType = 'ServiceSoap' (CHARACTER)
(0x03000100:Attribute ):portTypeNamespace = 'BAB.SharePoint.Services' (CHARACTER)
(0x03000100:Attribute ):port = 'ServiceSoap' (CHARACTER)
(0x03000100:Attribute ):service = 'Service' (CHARACTER)
(0x03000100:Attribute ):fileName = 'C:\Documents and Settings\All Users\Application Data\IBM\MQSI\components\MB7BROKER\da9fa499-2e01-0000-0080-9b7409d89a0a\config\XSD\soap_xx
/services/sharepoint/bab/InfoPathWebService_XXX.wsdl' (CHARACTER)
(0x03000000:PCDataField):SOAP_Version = '1.1' (CHARACTER)
(0x01000000:Folder ):Namespace = (
(0x03000102:NamespaceDecl)http://www.w3.org/2000/xmlns/:soap = 'http://schemas.xmlsoap.org/soap/envelope/' (CHARACTER)
(0x03000102:NamespaceDecl)http://www.w3.org/2000/xmlns/:xsi = 'http://www.w3.org/2001/XMLSchema-instance' (CHARACTER)
(0x03000102:NamespaceDecl)http://www.w3.org/2000/xmlns/:xsd = 'http://www.w3.org/2001/XMLSchema' (CHARACTER)
)
(0x01000000:Folder ):_XmlDeclaration = (
(0x03000100:Attribute):Version = '1.0' (CHARACTER)
(0x03000100:Attribute):Encoding = 'utf-8' (CHARACTER)
)
)
(0x01000000:Folder):Header =
(0x01000000:Folder):Body = ( ['xmlnsc' : 0x40b13d0]
(0x01000000:Folder)http://schemas.xmlsoap.org/soap/envelope/:Fault = (
(0x03000000:PCDataField):faultcode = 'soap:Server' (CHARACTER)
(0x03000000:PCDataField):faultstring = 'Server was unable to process request. ---> The parameter loginName cannot be empty or bigger than 251 characters.' (CHARACTER)
(0x01000000:Folder ):detail =
)
)
)
)
|
 |
|
Back to top |
|
 |
mqjeff |
Posted: Sun Jun 19, 2011 3:51 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
It's sharepoint that's returning the error. |
|
Back to top |
|
 |
my_mqmb |
Posted: Sun Jun 19, 2011 3:53 am Post subject: |
|
|
Voyager
Joined: 08 Jun 2011 Posts: 84
|
How can you be sure ? i need to justify .. please let me know .. |
|
Back to top |
|
 |
mqjeff |
Posted: Sun Jun 19, 2011 3:57 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Because of
(0x03000000:NameValue):X-Original-HTTP-Status-Line = 'HTTP/1.1 500 Internal Server Error' (CHARACTER)
and
(0x03000000:PCDataField):faultcode = 'soap:Server' (CHARACTER)
and
(0x03000000:PCDataField):faultstring = 'Server was unable to process request. ---> The parameter loginName cannot be empty or bigger than 251 characters.' (CHARACTER) |
|
Back to top |
|
 |
my_mqmb |
Posted: Sun Jun 19, 2011 4:51 am Post subject: |
|
|
Voyager
Joined: 08 Jun 2011 Posts: 84
|
thanks mqjeff for your reply ..
I am using soapUI from my pc and i am getting a successful response .
When i make request through broker i get :
faultstring:CHARACTER:Server was unable to process request. ---> The parameter loginName cannot be empty or bigger than 251 characters
in the Soap fault ..
loginName ??? where on earth is this coming from ?  |
|
Back to top |
|
 |
fjb_saper |
Posted: Sun Jun 19, 2011 5:06 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
my_mqmb wrote: |
thanks mqjeff for your reply ..
I am using soapUI from my pc and i am getting a successful response .
When i make request through broker i get :
faultstring:CHARACTER:Server was unable to process request. ---> The parameter loginName cannot be empty or bigger than 251 characters
in the Soap fault ..
loginName ??? where on earth is this coming from ?  |
Did you set up the service? Is this an authentication problem?
Are you supposed to pass a security token? _________________ MQ & Broker admin |
|
Back to top |
|
 |
my_mqmb |
Posted: Sun Jun 19, 2011 5:34 am Post subject: |
|
|
Voyager
Joined: 08 Jun 2011 Posts: 84
|
fjb_saper wrote: |
my_mqmb wrote: |
thanks mqjeff for your reply ..
I am using soapUI from my pc and i am getting a successful response .
When i make request through broker i get :
faultstring:CHARACTER:Server was unable to process request. ---> The parameter loginName cannot be empty or bigger than 251 characters
in the Soap fault ..
loginName ??? where on earth is this coming from ?  |
Did you set up the service? Is this an authentication problem?
Are you supposed to pass a security token? |
No authentication is being used here . I just imported the wsdl onto the soaprequest and thats it ..
also i just imported the WSDL in the SoapUI and it pinged suceessfully !
I am using a local user .. |
|
Back to top |
|
 |
my_mqmb |
Posted: Sun Jun 19, 2011 11:29 pm Post subject: |
|
|
Voyager
Joined: 08 Jun 2011 Posts: 84
|
|
Back to top |
|
 |
smdavies99 |
Posted: Sun Jun 19, 2011 11:51 pm Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
When you conect to Sharepoint using a browser do you have to supply any login credentials?
If so then the SOAP request migt very well need to have those login credentials added to its header data. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
my_mqmb |
Posted: Mon Jun 20, 2011 4:04 am Post subject: |
|
|
Voyager
Joined: 08 Jun 2011 Posts: 84
|
smdavies99 wrote: |
When you conect to Sharepoint using a browser do you have to supply any login credentials?
If so then the SOAP request migt very well need to have those login credentials added to its header data. |
Actually no ! i aint using any login credentials ..
i just fire my soap message tthrough the soapUI and the reply is ok .
But through soaprequest node its returning a soap fault : saying loginName cannot be empty or greater than 251 charachters ... blah blah !
By the way i suspect my broker is created through local user , so it might require authentication .... wild guess this is !!
But hey How to and where to give the login credentials in the Header before the SoapReq node ??
Can you let me know how to supply those to the SoapReq node ? |
|
Back to top |
|
 |
lancelotlinc |
Posted: Mon Jun 20, 2011 4:43 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
mqjeff |
Posted: Mon Jun 20, 2011 7:59 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Talk to the Sharepoint people.
Ask them what authentication method is in use and what login id you should be providing.
Then go back and determine how to code your flow to present that authorization. |
|
Back to top |
|
 |
|