Fully functional SyncML compliant WBXML encoder-decoder? - syncml

Is there any WBXML encoder-decoder available which is atleast fully compliant for SyncML 1.2 ?

Finally found a converter that works as expected. Works for all versions of SyncML.
http://libwbxml.aymerick.com/browser/wbxmlTestSuite/trunk/TestSuite.bat?rev=6

Related

INodeServices is obsolete: Use Microsoft.AspNetCore.SpaServices.Extensions

We've recently upgraded from ASP.NET Core 1.0 to 3.1.
And in our code we're using the interface INodeServices and call its InvokeAsync method to activate some JavaScript library. After the upgrade to Core 3.1 the compiler complains that INodeServices is obsolete and should be replaced with 'Microsoft.AspNetCore.SpaServices.Extensions', but I couldn't find any type within this library that I could use instead of INodeServices, and I also coudn't find any documentation about it. What is the replacement for INodeServices.InvokeAsync in ASP.NET Core 3.1?
Thanks,
ashilon
Consider using this library instead https://github.com/JeringTech/Javascript.NodeJS
For more detailed informations and to see what other people did, i suggest you give a look at this thread https://github.com/dotnet/AspNetCore/issues/12890

Why doesn't SwiftyZeroMQ support epgm:// and pgm:// transport-classes?

We currently want a way to pass data between devices with sockets so we used ZeroMQ on our server-side with a python script and everything seems to be working. Our protocol address currently is epgm://224.0.0.1:28650, However, we need to communicate with the python script so we decided to use this Swift library. Currently, I'm directly using the library from this repository and it seems to be using ZeroMQ library version 4.2 with patch level .2. Then, using this function, I'm checking whether or not the library has the .pgm protocol which my app reports that there it doesn't support it.
Although the library has this function to check whether or not it supports a certain protocol, I'm unable to find ANYTHING on google regarding how I would get the library to support the pgm protocol.
After looking through the original swift library, I was able to find zmq.h which, from what I can tell is what the swift library is using as it's ZMQ library. So, after discovering this, I attempted to recompile libzmq with the "--with-pgm" build option that we used to fix the issue on PyZMQ. However, I haven't really had much luck with this and I'm not even sure this is how I'm supposed to proceed. I'm currently at a loss and any help would be appreciated. Thanks.
Here's the Swift code that we're currently using:
import SwiftyZeroMQ5
class communicationClass{
var context: SwiftyZeroMQ.Context?;
var subscriber: SwiftyZeroMQ5.SwiftyZeroMQ.Socket?;
init(){
do{
context = try SwiftyZeroMQ.Context();
subscriber = try context?.socket(.subscribe);
try subscriber?.connect("epgm://224.0.0.1:28650");
}
catch{
print("error - \(error)")
}
}
}
Here's the error that it outputs: error - Protocol not supported
Q : "Why doesn't SwiftyZeroMQ support epgm:// and pgm:// transport-classes?"
Documentation is clear & sound on this:The as-is package does explicitly state, it does not support epgm://-transport class as of 2020-10.
The next step:
Try using the pgm://-transport-class, instead of the epgm:// and if that fails, file an issue at the package maintainers' incident-management queue, as they claim it should work.
So, due to the lack of support of EPGM and PGM, we have decided to use raw UDP with ZeroMQ's dish/radio draft apis. These draft apis are supposed to replace EPGM and PGM but they're still in development. The apis work for our use case but it may vary depending on your use case.
EDIT:
So, there's a better answer to this question. The reason why SwiftyZeroMQ (at least my version) doesn't support the EPGM and PGM protocols is that you need to compile ZMQ yourself with the openpgm option.

Issue in using WSDL2OBJC tool for my WebService

I am using the wsdl2objc Tool to generate the soap Searvice APIs for my webservice.
I am following this tutorial to generate code and use it
http://code.google.com/p/wsdl2objc/wiki/UsageInstructions
&&
http://brismith66.blogspot.com/2010/05/iphone-development-accesing-soap.html
I can generate My WebService APIS successfully, but when i added i am getting 8 Errors and errors are
Expected Identifier or '(' before '=' token
Please tell me what can i Do with it. I am stuffed. the WEBSERVICE URL given in the tutorial work perfectly fine when i compile but mine code giving these errors.
Can anybody Help!
First, don't use version 0.6, use version 0.7 instead. I encountered cache problem under version 0.6. The version 0.7 fixed this problem. So, my web service could use session mechanism to store state information.
Second, not any generated codes with wsdl2objc (or gSOAP) and WSDL will be compiled successfully. In practice, our team encountered some problems about compiling, so finally we implemented a proxy web service which provides an interface with simple class types (ex, int, string, byte) in order to avoid the compiling problems.

RichTextToolbar in GWT 2.3

I'm trying to create a RichTextArea (following the GWT Showcase : link )
When I do a code completion of RichTextToolbar, I'm not able to find it. Is this an external library?
And then I googled and found this : google code link. Is this the same library in the Google Showcase? Or is the RichTextToolbar is an old implementation that not being brought to version 2.3?
Update:I tested this and what I feel is although the implementation the same, the UI looks different though.
It seems that they created their own version of RichTextToolbar.
This class is part of the GWT Showcase.
Here is a decent explanation to get the RichTextToolbar working. You take the source code from showcase basicaly.
http://www.jeanhsu.com/2010/06/10/how-to-use-richtexttoolbar-in-gwt/

GWT RequestFactory examples?

Do you know where i can find some code examples for the new GWT 2.1 RequestFactory? Google's tutorial is not good enough to begin with.
please check this
http://javaasylum.blogspot.com/2010/11/gwt-21-request-factory.html
and from googler :
https://wave.google.com/wave/?pli=1#restored:wave:googlewave.com!w%252BWU4iAICkI.1
And written in 2011 there are these tutorials which use ServiceLocators and show how to split the server side code using DAOs.
http://cleancodematters.wordpress.com/2011/06/04/tutorial-gwt-request-factory-part-i/
http://turbomanage.wordpress.com/2011/03/25/using-gwt-requestfactory-with-objectify/
Have a look at the DynaTableRf sample from a GWT 2.1 distribution.
Here is the Simple example for Gwt Request Factory...
code is here
AND WORKING URL IS
here