FRIDAY, SEPTEMBER 05, 2008




MY ACCOUNT LOGIN

LOGIN NAME:

PASSWORD:

REGISTER TODAY!
FORGOT YOUR PASSWORD?
TRY ALL WEB SERVICES
FREE FOR 30 DAYS!

WEB SERVICES

XWEBEMAILVALIDATION [tool]

XWEB1003 [real estate]

XWEBACHDIRECTORY [financial]

XWEBCHECKOUT [ecommerce]

XWEBTD [ecommerce]

XWEBNEWS [content mgmt.]


ANNOUNCEMENTS


OPEN SOURCE ONLINE 1003 SOA SOLUTION VERSION 2.0 RELEASED

XWEB1003 VERSION 2 LAUNCHED

XWEB1003 OFFICIALLY RELEASED

SECTION VI (ASSETS AND LIABILITIES) - REAL ESTATE AND CREDIT PREVIOUSLY RECEIVED

SECTION VI (ASSETS AND LIABILITIES) - LIABILITIES



Web Services, SOA Solutions, SOA Services - XWebServices.com


HOME

WEB SERVICES

SOA SOLUTIONS

SOA SERVICES

ABOUT US





XWEB1003


Documentation


FAQs


Implementation Guides


Forum


Pricing






SEARCH









HOME  ::  WEB SERVICES  ::  XWEB1003  ::  FORUM

:: Web Services :: XWeb1003 :: Topic ::

Can .net 1.1 consume XWeb1003 version 2.1?

Hi,

Thanks a lot for your helps previsouly. I created an asp.net 2.0 application. It worked to consume your XWeb1003 service (version 2.1).

However, my main application is still in .NET 1.1.  I did not find that your vesrion web service in version 1 has the feature to transform 1003 to Mismo:

http://ws.xwebservices.com/XWeb1003/XWeb1003.asmx?wsdl

Any suggestions about how my .NET 1.1 application can consume your transforming 1003 to Mismo feature in your 2.1 version XWeb1003?

Thansk,

Leo


Started: Tuesday, November 13, 2007

By: fldi

POST REPLY


:: Replies ::

Re: Can .net 1.1 consume XWeb1003 version 2.1?

Yes, you should have no problem consuming Version 2.1 of the Web Service from a .NET 1.1 application.  You need to install Microsoft WSE 2.0 SP3, then add the Web Reference.

If you have problems with the code, please let us know and we can send you a sample.


Posted: Tuesday, November 13, 2007

By: XWeb1003 Admin

POST REPLY




Re: Can .net 1.1 consume XWeb1003 version 2.1?

Sure. If you can send me the sample code, that will help me a lot. I have added WSE 2.0 SP3. I can access it. Not sure how to add user credential etc yet.

Thanks


Posted: Wednesday, November 14, 2007

By: fldi

POST REPLY




Re: Can .net 1.1 consume XWeb1003 version 2.1?

Once you added the Web Reference (XWeb1003V2 in this example):

'create XWeb1003 proxy
Dim objXWeb1003 As New XWeb1003V2.XWeb1003PortWse

'add authentication token
objXWeb1003.RequestSoapContext.Security.Tokens.Add(New Microsoft.Web.Services2.Security.Tokens.UsernameToken(LOGIN_NAME_HERE, PASSWORD_HERE, Microsoft.Web.Services2.Security.Tokens.PasswordOption.SendHashed))

'create Request
Dim objLoadApplicationRequest As New XWeb1003V2.LoadApplicationRequest

objLoadApplicationRequest.Application_ID = APPLICATION_ID_HERE

'handle Response
Dim objLoadApplicationResponse As XWeb1003V2.LoadApplicationResponse = objXWeb1003.LoadApplication(objLoadApplicationRequest)


Posted: Wednesday, November 14, 2007

By: XWeb1003 Admin

POST REPLY




Re: Can .net 1.1 consume XWeb1003 version 2.1?

Thanks a lot.

Sorry I have more questions:

For:

objLoadApplicationRequest.Application_ID = APPLICATION_ID_HERE

What is "APPLICATION_ID_HERE"? Is this a string for 1003?

In .net 2.0, you use

objLoadApplicationRequest.Application = [1003 String]

Is this right?

Thanks!


Posted: Wednesday, November 14, 2007

By: fldi

POST REPLY




Re: Can .net 1.1 consume XWeb1003 version 2.1?

I got an error in the last step. Could you please help me to take a look at it?

----------------------Code----------------------------------------------

'create XWeb1003 proxy

Dim objXWeb1003 As New XWeb1003V2.XWeb1003PortWse

Dim userName As String

Dim password As String

userName = ConfigurationSettings.AppSettings.Get("LOGIN_NAME")

password = ConfigurationSettings.AppSettings.Get("PASSWORD")

'add authentication token

Dim sToken As New Microsoft.Web.Services2.Security.Tokens.UsernameToken(userName, password, Microsoft.Web.Services2.Security.Tokens.PasswordOption.SendHashed)

objXWeb1003.RequestSoapContext.Security.Tokens.Add(sToken)

'create Request

Dim request As New XWeb1003V2.ConvertFannieMaetoMISMORequest

Dim fnm As String

fnm = "<![CDATA[EH 20020624 03C300405000ZG175 Thirteenth Street NW Washington ]]>"

request.Application = fnm

'create Response object

Dim response As New XWeb1003V2.ConvertFannieMaetoMISMOResponse

'Send request, get response

response = objXWeb1003.ConvertFannieMaetoMISMO(request)

-------------Error----------------------------------

Exception Details: System.FormatException: WSE902: The namespace for the following prefix could not be resolved: .

Source Error:

Line 342: <System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:ws-xwebservices-com:XWeb1003:1003:v2:convertFannieMaetoMISMOIn", Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Bare)> _
Line 343: Public Function ConvertFannieMaetoMISMO(<System.Xml.Serialization.XmlElementAttribute([Namespace]:="urn:ws-xwebservices-com:XWeb1003:1003:v2:Messages")> ByVal ConvertFannieMaetoMISMORequest As ConvertFannieMaetoMISMORequest) As <System.Xml.Serialization.XmlElementAttribute("ConvertFannieMaetoMISMOResponse", [Namespace]:="urn:ws-xwebservices-com:XWeb1003:1003:v2:Messages")> ConvertFannieMaetoMISMOResponse
Line 344: Dim results() As Object = Me.Invoke("ConvertFannieMaetoMISMO", New Object() {ConvertFannieMaetoMISMORequest})
Line 345: Return CType(results(0),ConvertFannieMaetoMISMOResponse)
Line 346: End Function

Source File: c:\inetpub\wwwroot\testXWeb1003VB11\Web References\XWeb1003V2\Reference.vb    Line: 344
-----------------------------------------------------------------

Thanks!


Posted: Wednesday, November 14, 2007

By: fldi

POST REPLY




Re: Can .net 1.1 consume XWeb1003 version 2.1?

The easiest way to test the conversion is to complete an application using our Online DEMO, generate the Fannie Mae file then use the generated file for the conversion.  This will give you a valid file to test with.

Posted: Tuesday, November 20, 2007

By: XWeb1003 Admin

POST REPLY




Re: Can .net 1.1 consume XWeb1003 version 2.1?

Sorry I have not got a chance to try it again until today. It is working now simply by using a valid .fnm file. Seems the error messages I got for sending over an incomplete .fnm file string are different when the client code is writting in .net 1.1 and .net 2.0.

Thank you very much again for your helps!


Posted: Tuesday, November 27, 2007

By: fldi

POST REPLY






HOME
WEB SERVICES
SOA SOLUTIONS
SOA SERVICES
MY ACCOUNT
ABOUT US