Re: Problem sending an email address as parameter in web service



Try to replace the @ by @

"Fran" <Fran@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:9E183F02-344C-47CA-B770-2684B56DCAFC@xxxxxxxxxxxxxxxx
Hi!

I need to use a webservice provided for a external company. The problem is
that i need to call a method that need to receive the email address and the
password.
When I make the call, it returns me that there is porblems with the xml.
After making some checkings i think that the promble is the @ of the email
address.

How can i resolve this problem?


This is the error that it returns:

System.Xml.XmlException: 'Element' is not a valid type node Line 15,
position 2.


Línea 41: Public Function AuthByMail(ByVal mail As String, ByVal
passwd As String, ByRef [error] As String, ByRef nombre As String, ByRef dni
As String, ByRef mainrole As String) As
<System.Xml.Serialization.SoapElementAttribute("valida")> Boolean
Línea 42: Dim results() As Object = Me.Invoke("AuthByMail", New
Object() {mail, passwd})


Thanks!!




.



Relevant Pages

  • RE: Oject value changing in a loop
    ... Sub zString_FindGeneral(ByRef IFindThis As String, ... ByRef IFmRow As Long, ByRef IFmCol As Integer, ByRef IToRow As Long, ByRef ... ' OFoundQty is the number of cells found containing the IFindThis string. ... 'Lines A, D, E work when searching one or multiple worksheets ...
    (microsoft.public.excel.programming)
  • RE: Oject value changing in a loop
    ... 'Set RteCells = Worksheets.Range,Cells(IToRow, ... Sub zString_FindGeneral(ByRef IFindThis As String, ... ByRef IFmRow As Long, ByRef IFmCol As Integer, ByRef IToRow As Long, ByRef ... ' OFoundQty is the number of cells found containing the IFindThis string. ...
    (microsoft.public.excel.programming)
  • Re: LSALogonUser Access Denied Error
    ... Public LogonDomainName As String ... Public ParameterControl As UInt32 ... ByVal AuthenticationInformation As IntPtr, _ ... ByRef SourceContext As TOKEN_SOURCE, _ ...
    (microsoft.public.platformsdk.security)
  • LSALogonUser Access Denied Error
    ... I am tring to use LSALogonUser to authenticate my application. ... Public LogonDomainName As String ... ByVal AuthenticationInformation As IntPtr, _ ... ByRef SourceContext As TOKEN_SOURCE, _ ...
    (microsoft.public.platformsdk.security)
  • Re: Declare parameter name start with "p" ?
    ... >> Suppose you had to pass an integer ByRef? ... ByVal typeMsg As String) As String ... Dim lBuf As String ... Dim lRet As Integer ...
    (microsoft.public.dotnet.languages.vb)