SUNDAY, JULY 20, 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 ::

Unable to get started with the Online1003 sample project or web reference

1. Unable to load the sample project.

When tried to load the sample project Online1003 into Visual Studio 2005, it says that  "Online1003.vbproj cannot be opened. The project is not supported by this installation."

What does it mean? Do I need to install some programs. I have removed SQL  Server 2005 Express in order to install SQL Server 2005. Does it have an effect?

2. Unable to use web reference in my own test project

In a Visual Sutio 2005 web site, when I tried to create a web reference to

 https://ws.xwebservices.com/XWeb1003/V2.1/XWeb1003.asmx

It gives errors:

The document at the url https://ws.xwebservices.com/XWeb1003/V2.1/XWeb1003.asmx was not recognized as a known document type.
The error message from each known type may help you fix the problem:
- Report from 'DISCO Document' is 'There was an error downloading 'https://ws.xwebservices.com/XWeb1003/V2.1/XWeb1003.asmx?disco'.'.
  - The request failed with HTTP status 404: Not Found.
- Report from 'https://ws.xwebservices.com/XWeb1003/V2.1/XWeb1003.asmx' is 'The document format is not recognized (the content type is 'text/html; charset=utf-8').'.
- Report from 'WSDL Document' is 'The document format is not recognized (the content type is 'text/html; charset=utf-8').'.
- Report from 'XML Schema' is 'The document format is not recognized (the content type is 'text/html; charset=utf-8').'.

I have tried this before and after installing WSE 3.0. Same problem. I have registered. Do I need to put login info in the web.config first? Should I use the web.config from Online 1003?

Not sure how to get it started. Your help is really appreciated.

- Leo


Started: Monday, September 24, 2007

By: fldi

POST REPLY


:: Replies ::

Re: Unable to get started with the Online1003 sample project or web reference

You should be able to open the Solution in Visual Studio 2005:

Open -> Project -> Online1003.sln file

In order to add the Web Reference, you must reference the WSDL file, not the Access Point (asmx file):
http://ws.xwebservices.com/XWeb1003/V2.1/XWeb1003.wsdl


Posted: Monday, September 24, 2007

By: XWeb1003 Admin

POST REPLY




Re: Unable to get started with the Online1003 sample project or web reference

Yeah, I did try to open the solution file also. It gave the same error. Still no luck.

When use http://ws.xwebservices.com/XWeb1003/V2.1/XWeb1003.wsdl, I was able to add a web reference in both Visual Studio 2005 and 2003. It should also works with Visual Studio 2003, right?

Thanks,

Leo


Posted: Monday, September 24, 2007

By: fldi

POST REPLY




Re: Unable to get started with the Online1003 sample project or web reference

You will only be able to open the Solution file in Visual Studio 2005 - the Project is a 2005 Solution.

The Web Reference can be added in both VS 2003 and VS 2005, however, for Visual Studio 2003 you will need to install Microsoft WSE 2 instead of Microsoft WSE 3.


Posted: Monday, September 24, 2007

By: XWeb1003 Admin

POST REPLY




Re: Unable to get started with the Online1003 sample project or web reference

Thanks for the advices. I am installing the Visual Studio 2005 service pack 1. I will see if this can allow VS to load the Online1003 project.

I search the files in the Online1003 project. Seems that there is no code that using "ConvertFannieMaetoMISMO" method. Do you have some sample code for this method?

Thanks,

Leo


Posted: Tuesday, September 25, 2007

By: fldi

POST REPLY




Re: Unable to get started with the Online1003 sample project or web reference

If you're looking for the actual conversion code, everything is done on the server side, therefore you must purchase a PER CPU license for that.

If you're looking for a sample on how to call the SOAP Method, please refer to the GetFannieMae SOAP Method implementation.


Posted: Tuesday, September 25, 2007

By: XWeb1003 Admin

POST REPLY




Re: Unable to get started with the Online1003 sample project or web reference

Hi,

Thanks for the reply.

I am looking for converting Fannie Mae Form 1003 3.2 to Mismo from client side. Sounds like your web service

https://ws.xwebservices.com/XWeb1003/V2.1/XWeb1003.asmx?op=ConvertFannieMaetoMISMO

can do that. Is that right? Seems that clients just need to send a string and get a string returned. I am wondering if there are any requirements for the string. Does it require client credential when send the string?

Thanks,

Leo


Posted: Wednesday, September 26, 2007

By: fldi

POST REPLY




Re: Unable to get started with the Online1003 sample project or web reference

Documentation for the SOAP Method input is provided here.  The string needs to be in a Fannie Mae 3.2 format in order to be converted.


Posted: Wednesday, September 26, 2007

By: XWeb1003 Admin

POST REPLY




Re: Unable to get started with the Online1003 sample project or web reference

Hi,

I got an exception when executing the code (see below):

ex.Message ="Property access must assign to the property or use its value."

Is that an indication of an invalid Fannie Mae 1003 string? Is that possible that you can give me a short valid Fannie Mae 1003 string before I test a big file?

I could not test your Online1003 application as I could not install service pack 1. It requires too much space.

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

Dim objXWeb1003 As New XWeb1003.XWeb1003PortWse

        objXWeb1003.SetClientCredential(New Microsoft.Web.Services3.Security.Tokens.UsernameToken(System.Configuration.ConfigurationManager.AppSettings("LOGIN_NAME"), System.Configuration.ConfigurationManager.AppSettings("PASSWORD"), Microsoft.Web.Services3.Security.Tokens.PasswordOption.SendHashed))

        objXWeb1003.SetPolicy("usernameTokenPolicy")

        Dim request As New XWeb1003.ConvertFannieMaetoMISMORequest


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


        Dim response As New XWeb1003.ConvertFannieMaetoMISMOResponse

        Try
            response = objXWeb1003.ConvertFannieMaetoMISMO(request)
        Catch ex As Exception
            Dim msg As String
            msg = ex.Message
        End Try

-----------------------------------------

Thanks - Leo


Posted: Monday, October 01, 2007

By: fldi

POST REPLY




Re: Unable to get started with the Online1003 sample project or web reference

It is working now. Thanks.

Posted: Monday, October 01, 2007

By: fldi

POST REPLY






HOME
WEB SERVICES
SOA SOLUTIONS
SOA SERVICES
MY ACCOUNT
ABOUT US