Error on generating JAXB Classes from TKT_ElectronicDocumentServices_v.1.0.0.xsd - sabre

im having trouble generating JAXB classes from TKT_ElectronicDocumentServices_v.1.0.0.xsd and STL_For_TKT_ElectronicDocumentServices_v.1.0.0.xsd, please see error in the image below:
Please see error here:

could You share some more info ?
What API are You trying to build these WSDLs for ?
My guess is GetElectronicDocumentRQ.
Is this API available on https://developer.sabre.com/ ?
My guess is
https://developer.sabre.com/docs/soap_apis/air/fulfill/get_electronic_document
Have You reached out to webservices.support at sabre.com ?
I can see this issue on my end when using dev studio, I've emailed the team, once we have a JIRA open I'll let You know. Also feel free to contact me in this one case at witold.petriczek at sabre.com.
P.s. I've ran into these issues while developing SOAP APIs in the past, it was quite often so in my internal team we implemented automated wsdl2java nightly builds that solved this problem once and for all, I guess it's time to share the knowledge with the owners of this API ;)
Regards,
W

Related

Generate ASP Web API help documentation at design time

Hi I came across this link https://learn.microsoft.com/en-us/aspnet/web-api/overview/getting-started-with-aspnet-web-api/creating-api-help-pages which will give us a way to browse web api documentation. But, I need it to be available without running the server. Does anyone here have an idea on how to make the API documentation generated during run time be available at design time? Thanks.

How to develop a web browser using c# .net using installed.net libraries and without using the web browser control?

I have searched the internet for 2 days having found no answer to the below requirement. What i found most were GeckoFX and CefSharp which are external packages and not installed libraries. How can this be done?
I have been asked to do the following:
Use a suitable library function out of the set of libraries installed with the .NET platform. You must not use the C# WebBrowser class but perform the required HTTP-level communication directly from within your code. The code must clearly identify the HTTP-level client-server communication and must explicitly manage Home page, Favourite, History Lists and Tabs.
Optionally, you may add functionality to render a web page, but there must be an option to disable this functionality and to show only the raw HTML that has been retrieved.
Thanks
What have you attempted so far and what problem are you encountering?
Maybe read this first :)
Currently it sounds like you have been given an interview or homework task that you dont know how to solve. If so, then you should have some idea on where to start or you are in the wrong course or job interview. If you want help, then try to solve the question yourself and ask for help when you are stuck. Tell us what you have tried, show the code you currently have and let us know where you are stuck or what doesnt work as expected.
Where are you stuck? Fetching the webpage? Building the user interface?

SPA from empty project - integrate Azure AD Active directory

I have been creating a SPA from an empty ASP.net Project and i want to integrate Azure AD Authentication to the project.
Anyone know of any good step by step guide to do this or something similar?
I was reading a bit on this post by Microsoft, but I don't think I understood it quite well.
Error During Authentication Detection
My best suggestion here is to simply follow one of the open source solutions for single page applications which you can find on our GitHub here:
https://github.com/Azure-Samples?q=singlepage
Along with the full source code for all the working solutions, we also provide instructions on registering your app, configuring it, and running the sample.
Another thing that is brand new, which you might find helpful is our Application Quick Start which is available here:
https://identity.microsoft.com/Docs/Web
This does not exactly tackle the intricacies of a Single Page Application, but should be a really quick way for you to just copy and paste code which enables your app to use Azure Active Directory Sign-On.
Let me know which one you found better helped you and why! We would love to hear more feedback here on the investments we are making in documentation.

Is there any good way of SELF-updating running web application?

as stated - it needs to be a "self-update" similar like Wordpress... I haven't thought through because of my knowledge limits... (I haven't found any good answer from the web yet /asp.net c#)
anyone can give some help/ perhaps some code example would be better?
Thanks in advance!
I dont have the code, But i can tell you the general concept behind that.
Keep a public API/ Webservice which returns the latest version number of the site/ app.
In your website/ app, add a method which makes a call to this service to get the latest version number. compare it with what you have in your local application. If the one you received from the service is different than the one you have, That means there is a new version available. Then show a link to download the latest version.

microsoft facebook sdk

Microsoft recently announced their Facebook SDK.
http://msdn.microsoft.com/en-us/windows/ee388574.aspx
Has anyone tried using it with ASP.NET or ASP.NET MVC ?
Would like your opinion. Any gotchas that developers need to be aware of ?
Michael
This is version 3.0 of the SDK. I've been using an earlier version and am in the process of upgrading to this new version.
Your question is very vague. What kind of gotchas are you expecting? There are so many pieces of the Facebook API that it's hard to speak to what your experience will be. What's stopping you from giving it a try yourself? You'd probably learn more from a few hours of building your own app with the SDK than anything anyone would be able to tell you here. If you get stuck or something doesn't work, then post your code and/or specific question and we'll do what we can to help you.
I am working on an ASP.NET MVC app using this library.
I have not used a whole lot of the functionality of the library since there are only two MVC specific class. An Controller Extension for getting a facebook api object, and an Action decorator attribute.
I have run into quite a bit of trouble with the methods in the Facebook.Rest.Data namespace.
Namely getting and setting Cookies.
Not sure what the deal is with this but it has been frustrating. And if it was not required by the client I would probably try and find a different library.

Resources